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

Call to a member function shutdown() on null in /var/www/site/ezpublish_legacy/cronjobs/clusterpurge.php on line 14

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Legacy > Clustering
    • Labels:
      None

      Description

      Happens with 5.4.11, when running legacy cronjobs via ezpublish/console.

      I checked, and there are only a couple cronjobs that use the global var `$script`. Using `$cli` seems to be fine.

      I am not sure if that var is supposed to be there when the cronjob is run in pure-legacy mode, but it definitely is not there when run via ez5.

      Solutions:

      • check for presence of `$script` in $GLOBALS ?
      • add an `if` and if `$script` is not defined just return ?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gg Gaetano Giunta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: