Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19258

Invalid argument supplied for foreach() @ ezflowlatestcontent.php:66

    XMLWordPrintable

Details

    Description

      After creating a "Latest Content" block in the ezflow frontpage, an error is shown in the redirect debug output:

      Warning: PHP: E_WARNING
      
      Invalid argument supplied for foreach() in /var/www/apache2php53/ezp/.run/extension/ezflow/classes/fetches/ezflowlatestcontent.php on line 66
      

      From this point forward, even if the block is deleted, the error does not seem to disappear (even after running ezflow-cleanup, clearing caches), and its occurrence will actually multiply for (apparently) every other block you create.

      Steps to reproduce

      1. Activate debug ouput & debug redirect
      2. Edit the ezflow frontpage
      3. Add a "Latest content" block
      4. Publish it, the warning message will be visible in the debug redirect output

      Attachments

        Activity

          People

            jv@ez.no jv@ez.no
            filiped filiped
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: