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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • None
    • Legacy > Clustering
    • 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

            Unassigned Unassigned
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: