Fatal errors
-
Hi, I found these fatal errors in my debug.log:
25-Jan-2023 17:30:04 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /home/***/public_html/wp-content/plugins/trackship-for-woocommerce/includes/shipments/class-wc-trackship-shipments.php:195 Stack trace: #0 /home/***/public_html/wp-content/plugins/trackship-for-woocommerce/includes/class-wc-trackship-actions.php(289): WC_Trackship_Shipments->get_shipment_length(Array) #1 /home/***/public_html/wp-includes/class-wp-hook.php(308): WC_Trackship_Actions->update_shipment_length() #2 /home/***/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #3 /home/***/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #4 /home/***/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_Action.php(43): do_action_ref_array('update_shipment...', Array) #5 /home/***/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute() #6 /home/***/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(162): ActionScheduler_Abstract_QueueRunner->process_action(105074, 'WP Cron') #7 /home/***/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(132): ActionScheduler_QueueRunner->do_batch(25, 'WP Cron') #8 /home/***/public_html/wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run('WP Cron') #9 /home/***/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #10 /home/***/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #11 phar:///usr/local/bin/wp/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(343): do_action_ref_array('action_schedule...', Array) #12 phar:///usr/local/bin/wp/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(265): Cron_Event_Command::run_event(Object(stdClass)) #13 [internal function]: Cron_Event_Command->run(Array, Array) #14 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func(Array, Array, Array) #15 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array, Array) #16 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func(Object(Closure), Array, Array) #17 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(419): WP_CLI\Dispatcher\Subcommand->invoke(Array, Array, Array) #18 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(442): WP_CLI\Runner->run_command(Array, Array) #19 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1256): WP_CLI\Runner->run_command_and_exit() #20 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start() #21 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState)) #22 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap() #23 phar:///usr/local/bin/wp/php/boot-phar.php(11): include('phar:///usr/loc...') #24 /usr/local/bin/wp(4): include('phar:///usr/loc...') #25 {main} thrown in /home/***/public_html/wp-content/plugins/trackship-for-woocommerce/includes/shipments/class-wc-trackship-shipments.php on line 195 [26-Jan-2023 14:14:50 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM
QOMCM_options
WHEREoption_name
= '_transient_wc_related_27099' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/single-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-single-product.php'), do_action('woocommerce_after_single_product_summary'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_output_related_products, woocommerce_related_products, wc_get_related_products, get_transient, wp_cache_get, WP_Object_Cache->get, WP_Object_Cache->_transient_get, delete_option [26-Jan-2023 17:30:05 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /home/***/public_html/wp-content/plugins/trackship-for-woocommerce/includes/shipments/class-wc-trackship-shipments.php:195 Stack trace: #0 /home/***/public_html/wp-content/plugins/trackship-for-woocommerce/includes/class-wc-trackship-actions.php(289): WC_Trackship_Shipments->get_shipment_length(Array) #1 /home/***/public_html/wp-includes/class-wp-hook.php(308): WC_Trackship_Actions->update_shipment_length() #2 /home/***/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #3 /home/***/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #4 /home/***/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_Action.php(43): do_action_ref_array('update_shipment...', Array) #5 /home/***/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute() #6 /home/***/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(162): ActionScheduler_Abstract_QueueRunner->process_action(106656, 'WP Cron') #7 /home/***/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(132): ActionScheduler_QueueRunner->do_batch(25, 'WP Cron') #8 /home/***/public_html/wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run('WP Cron') #9 /home/***/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #10 /home/***/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #11 phar:///usr/local/bin/wp/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(343): do_action_ref_array('action_schedule...', Array) #12 phar:///usr/local/bin/wp/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(265): Cron_Event_Command::run_event(Object(stdClass)) #13 [internal function]: Cron_Event_Command->run(Array, Array) #14 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func(Array, Array, Array) #15 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array, Array) #16 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func(Object(Closure), Array, Array) #17 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(419): WP_CLI\Dispatcher\Subcommand->invoke(Array, Array, Array) #18 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(442): WP_CLI\Runner->run_command(Array, Array) #19 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1256): WP_CLI\Runner->run_command_and_exit() #20 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start() #21 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState)) #22 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap() #23 phar:///usr/local/bin/wp/php/boot-phar.php(11): include('phar:///usr/loc...') #24 /usr/local/bin/wp(4): include('phar:///usr/loc...') #25 {main} thrown in /home/***/public_html/wp-content/plugins/trackship-for-woocommerce/includes/shipments/class-wc-trackship-shipments.php on line 195
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Fatal errors’ is closed to new replies.