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

Warning: get_class() expects parameter 1 to be object, null given in ezworkflowprocess.php on line 301

    XMLWordPrintable

Details

    Description

      "Warning: get_class() expects parameter 1 to be object, null given in C:\www\trunk\kernel\classes\ezworkflowprocess.php on line 301"

      Patch for trunk:

      Index: kernel/classes/ezworkflowprocess.php
      ===================================================================
      --- kernel/classes/ezworkflowprocess.php	(revision 23786)
      +++ kernel/classes/ezworkflowprocess.php	(working copy)
      @@ -296,7 +296,7 @@
                   {
                       eZDebugSetting::writeDebug( 'workflow-process', get_class( $workflowEvent ), "workflowEvent class is ezworkflowevent" );
                   }
      -            else
      +            else if ( $workflowEvent !== null )
                   {
                       eZDebugSetting::writeDebug( 'workflow-process', get_class( $workflowEvent ), "workflowEvent class is not ezworkflowevent" );
                   }
      

      Attachments

        Activity

          People

            andre1 andre1
            andre1 andre1
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: