Details
-
Bug
-
Resolution: Unresolved
-
High
-
None
-
None
-
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 ?