Fatal error during Cron
-
Hello again,
I just noticed a fatal error that happened during the handling of WP-Cron:
Fatal error: Uncaught TypeError: array_push(): Argument #1 ($array) must be of type array, null given in /wp-content/plugins/companion-auto-update/cau_functions.php:283 Stack trace: #0 /wp-content/plugins/companion-auto-update/cau_functions.php(283): array_push() #1 /wp-includes/class-wp-hook.php(324): cau_run_custom_hooks_c() #2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /wp-includes/plugin.php(565): WP_Hook->do_action() #4 phar:///usr/share/php/wp-cli/wp-cli-2.9.0+infong1.1.3.phar/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(361): do_action_ref_array() #5 phar:///usr/share/php/wp-cli/wp-cli-2.9.0+infong1.1.3.phar/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(284): Cron_Event_Command::run_event() #6 [internal function]: Cron_Event_Command->run() #7 phar:///usr/share/php/wp-cli/wp-cli-2.9.0+infong1.1.3.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func() #8 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}() #9 phar:///usr/share/php/wp-cli/wp-cli-2.9.0+infong1.1.3.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(488): call_user_func() #10 phar:///usr/share/php/wp-cli/wp-cli-2.9.0+infong1.1.3.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(436): WP_CLI\Dispatcher\Subcommand->invoke() #11 phar:///usr/share/php/wp-cli/wp-cli-2.9.0+infong1.1.3.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(459): WP_CLI\Runner->run_command() #12 phar:///usr/share/php/wp-cli/wp-cli-2.9.0+infong1.1.3.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1284): WP_CLI\Runner->run_command_and_exit() #13 phar:///usr/share/php/wp-cli/wp-cli-2.9.0+infong1.1.3.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start() #14 phar:///usr/share/php/wp-cli/wp-cli-2.9.0+infong1.1.3.phar/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process() #15 phar:///usr/share/php/wp-cli/wp-cli-2.9.0+infong1.1.3.phar/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap() #16 phar:///usr/share/php/wp-cli/wp-cli-2.9.0+infong1.1.3.phar/php/boot-phar.php(20): include('phar:///usr/sha...') #17 /usr/share/php/wp-cli/wp-cli-2.9.0+infong1.1.3.phar(4): include('phar:///usr/sha...') #18 {main} thrown in /wp-content/plugins/companion-auto-update/cau_functions.php on line 283
Seems like the $allDates array is never initialized.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal error during Cron’ is closed to new replies.