Viewing 8 reply threads
  • Author
    Posts
    • #8959
      araujorj
      Participant

      I have a clean install, however I get the error “Warning: Invalid argument supplied for foreach () in” admin-workflow.php on line 82

    • #8965
      Steve
      Keymaster

      @araujorj– I can’t reproduce. Which admin pages are you seeing this on?

    • #8968
      araujorj
      Participant

      In /admin.php?page=piklist-core-settings

    • #8981
      Steve
      Keymaster

      I still can’t reproduce. Can you try disabling other plugins and see if that narrows it down?

    • #9090
      Ico
      Member

      I have the same issue and I think it depends of the PHP version. I have these warnings on php 5.4

      Notice: Undefined index: parts in [site]/wp-content/plugins/piklist/parts/shared/admin-workflow.php on line 82

      Warning: Invalid argument supplied for foreach() in [site]/wp-content/plugins/piklist/parts/shared/admin-workflow.php on line 82

      I have no warnings or whatever in dev ( php 5.6 and php7 ). Same code, same content. The error is in custom admin page with tabs, with defined workflows. WP_DEBUG is set to false on both installations, WP 4.9.6

    • #9091
      Ico
      Member

      I attach a image of the error, the workflow is working. Now it is on php 7.2 on production server, may be it’s not from the PHP version.

      Attachments:
      You must be logged in to view attached files.
    • #9128
      mimotic
      Member

      I have the same issue with php 7.1

      Attachments:
      You must be logged in to view attached files.
    • #9142
      courtens
      Participant

      I am getting the same error.

      PHP Version 7.0.6 on Windows NT VM 10.0 build 17134 (Windows 10) AMD64

      [24-Jul-2018 02:46:29 UTC] PHP Warning: Invalid argument supplied for foreach() in D:\www\...\wp-content\plugins\piklist\parts\shared\admin-workflow.php on line 82

    • #9155
      Steve
      Keymaster

      A pull request has been submitted for this issue:
      https://github.com/piklist/piklist/pull/110

Viewing 8 reply threads
  • You must be logged in to reply to this topic.