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

ezflow: PHP warning thrown when publishing frontpage

    XMLWordPrintable

Details

    Description

      You get this PHP warning when publishing the frontpage in ezflow:

      Warning: Invalid argument supplied for foreach() in extension/ezflow/classes/fetches/ezflowmcfetch.php on line 41
      Call Stack
      #	Time	Memory	Function	Location
      1	0.0002	90096	{main}( )	../index.php:0
      2	0.0720	1490908	eZModule->run( )	../index.php:690
      3	0.0723	1498900	eZProcess::run( )	../ezmodule.php:1198
      4	0.0724	1499392	eZProcess->runFile( )	../ezprocess.php:39
      5	0.0726	1501148	include( '/data/home/vl/work/QA/tests/cruisecontrol2/projects/ezp/source/.run/kernel/content/edit.php' )	../ezprocess.php:64
      6	0.0814	1790932	include( '/data/home/vl/work/QA/tests/cruisecontrol2/projects/ezp/source/.run/kernel/content/attribute_edit.php' )	../edit.php:815
      7	0.1816	2609544	eZModule->runHooks( )	../attribute_edit.php:409
      8	0.1817	2611448	call_user_func_array ( )	../ezmodule.php:903
      9	0.1817	2611672	checkContentActions( )	../ezmodule.php:0
      10	0.1856	2616616	eZOperationHandler::execute( )	../edit.php:698
      11	0.1864	2767116	eZModuleOperationInfo->execute( )	../ezoperationhandler.php:71
      12	0.1895	2786696	eZModuleOperationInfo->executeBody( )	../ezmoduleoperationinfo.php:245
      13	0.2992	2873640	eZModuleOperationInfo->executeClassMethod( )	../ezmoduleoperationinfo.php:563
      14	0.2994	2874940	call_user_func_array ( )	../ezmoduleoperationinfo.php:839
      15	0.2994	2875492	eZContentOperationCollection->attributePublishAction( )	../ezmoduleoperationinfo.php:0
      16	0.3053	2895684	eZContentObjectAttribute->onPublish( )	../ezcontentoperationcollection.php:212
      17	0.3054	2895952	eZPageType->onPublish( )	../ezcontentobjectattribute.php:747
      18	0.3077	2905720	eZFlowOperations::update( )	../ezpagetype.php:975
      19	0.3247	2996928	eZFlowOperations::updateBlockPoolByBlockID( )	../ezflowoperations.php:308
      20	0.3269	3003508	eZFlowMCFetch->fetch( )	../ezflowoperations.php:94
      
      Steps to reproduce
      1. Install ezflow without democontent
      2. Enable debug output
      3. Enable DebugRedirection
      4. Log in as admin
      5. Click "edit" icon in toolbar in order to frontpage
      6. Click "Publish" button
      7. You'll see the "Redirect" button because of DebugRedirection setting.
      8. Experience the PHP warning in your log 
      

      Attachments

        Activity

          People

            bd bd
            vl vl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: