Fatal error in my logs
-
Hi,
For several months I’ve had an error in my logs during certain actions on my site. I don’t know exactly which action and I haven’t found anyone else with the same problem. I thought it would be corrected in an update.
Here is my error:
[30-Mar-2024 23:26:33 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/wordpress/wp-content/plugins/woocommerce/src/Admin/API/Reports/PerformanceIndicators/Controller.php:134 Stack trace: #0 /var/www/wordpress/wp-content/plugins/woocommerce/src/Admin/API/Reports/PerformanceIndicators/Controller.php(255): Automattic\WooCommerce\Admin\API\Reports\PerformanceIndicators\Controller->get_analytics_report_data() #1 /var/www/wordpress/wp-content/plugins/woocommerce/src/Admin/API/Reports/PerformanceIndicators/Controller.php(631): Automattic\WooCommerce\Admin\API\Reports\PerformanceIndicators\Controller->get_indicator_data() #2 /var/www/wordpress/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php(48): Automattic\WooCommerce\Admin\API\Reports\PerformanceIndicators\Controller->get_collection_params() #3 /var/www/wordpress/wp-content/plugins/woocommerce/src/Admin/API/Reports/PerformanceIndicators/Controller.php(85): WC_REST_Reports_V1_Controller->register_routes() #4 /var/www/wordpress/wp-content/plugins/woocommerce/src/Admin/API/Init.php(151): Automattic\WooCommerce\Admin\API\Reports\PerformanceIndicators\Controller->register_routes() #5 /var/www/wordpress/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Admin\API\Init->rest_api_init() #6 /var/www/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 /var/www/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /var/www/wordpress/wp-includes/rest-api.php(593): do_action() #9 /var/www/wordpress/wp-includes/rest-api.php(417): rest_get_server() #10 /var/www/wordpress/wp-includes/class-wp-hook.php(324): rest_api_loaded() #11 /var/www/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #12 /var/www/wordpress/wp-includes/plugin.php(565): WP_Hook->do_action() #13 /var/www/wordpress/wp-includes/class-wp.php(418): do_action_ref_array() #14 /var/www/wordpress/wp-includes/class-wp.php(813): WP->parse_request() #15 /var/www/wordpress/wp-includes/functions.php(1336): WP->main() #16 /var/www/wordpress/wp-blog-header.php(16): wp() #17 /var/www/wordpress/index.php(17): require('...') #18 {main} thrown in /var/www/wordpress/wp-content/plugins/woocommerce/src/Admin/API/Reports/PerformanceIndicators/Controller.php on line 134
I should point out that I have the latest version of Woocommerce and that I haven’t made any changes to it.
Do you have any ideas?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- You must be logged in to reply to this topic.