Fatal error in CRON
-
Here is a stack trace of VP blowing up in cron; PHP 7.3.3 (cli)
Our CRON is run via WP-CLI
wp cron event run --due-now
Fatal error: Uncaught Error: Cannot use object of type VP_FileScan as array in /srv/users/<redacted>/apps/<redacted>/public/wp-content/plugins/vaultpress/cron-tasks.php:111 Stack trace: #0 /srv/users/<redacted>/apps/<redacted>/public/wp-includes/class-wp-hook.php(286): VP_Site_Scanner->_scan_batch() #1 /srv/users/<redacted>/apps/<redacted>/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #2 /srv/users/<redacted>/apps/<redacted>/public/wp-includes/plugin.php(531): WP_Hook->do_action(Array) #3 phar:///opt/sp/bin/wp-cli.phar/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(288): do_action_ref_array('vp_scan_next_ba...', Array) #4 phar:///opt/sp/bin/wp-cli.phar/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(259): Cron_Event_Command::run_event(Object(stdClass)) #5 [internal function]: Cron_Event_Command->run(Array, Array) #6 phar:///opt/sp/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(93): call_user_func(Array, Array, Array) #7 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(A in /srv/users/<redacted>/apps/<redacted>/public/wp-content/plugins/vaultpress/cron-tasks.php on line 111
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Fatal error in CRON’ is closed to new replies.