• Hi,
    we have an issue after updateing site at php8.0.x
    in details in a wordpress installation with only woocommerce, elementor (PRO) and jwt-auth the elementor gui editior is not loading with this error on log:

    PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /evolutiontravel.community/ita/wp-content/plugins/woocommerce/src/Admin/API/Reports/PerformanceIndicators/Controller.php:150
    Stack trace:
    #0 /evolutiontravel.community/ita/wp-content/plugins/woocommerce/src/Admin/API/Reports/PerformanceIndicators/Controller.php(271): Automattic\WooCommerce\Admin\API\Reports\PerformanceIndicators\Controller->get_analytics_report_data()
    #1 /evolutiontravel.community/ita/wp-content/plugins/woocommerce/src/Admin/API/Reports/PerformanceIndicators/Controller.php(652): Automattic\WooCommerce\Admin\API\Reports\PerformanceIndicators\Controller->get_indicator_data()
    #2 /evolutiontravel.community/ita/wp-content/plugins/woocommerce/src/Admin/API/Reports/PerformanceIndicators/Controller.php(97): Automattic\WooCommerce\Admin\API\Reports\PerformanceIndicators\Controller->get_collection_params()
    #3 /evolutiontravel.community/ita/wp-content/plugins/woocommerce/src/Admin/API/Init.php(127): Automattic\WooCommerce\Admin\API\Reports\PerformanceIndicators\Controller->register_routes()
    #4 /evolutiontravel.community/ita/wp-includes/class-wp-hook.php(307): Automattic\WooCommerce\Admin\API\Init->rest_api_init()
    #5 /evolutiontravel.community/ita/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #6 /evolutiontravel.community/ita/wp-includes/plugin.php(476): WP_Hook->do_action()
    #7 /evolutiontravel.community/ita/wp-includes/rest-api.php(561): do_action()
    #8 /evolutiontravel.community/ita/wp-includes/rest-api.php(387): rest_get_server()
    #9 /evolutiontravel.community/ita/wp-includes/class-wp-hook.php(307): rest_api_loaded()
    #10 /evolutiontravel.community/ita/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #11 /evolutiontravel.community/ita/wp-includes/plugin.php(524): WP_Hook->do_action()
    #12 /evolutiontravel.community/ita/wp-includes/class-wp.php(398): do_action_ref_array()
    #13 /evolutiontravel.community/ita/wp-includes/class-wp.php(770): WP->parse_request()
    #14 /evolutiontravel.community/ita/wp-includes/functions.php(1330): WP->main()
    #15 /evolutiontravel.community/ita/wp-blog-header.php(16): wp()
    #16 /evolutiontravel.community/ita/index.php(17): require(‘…’)
    #17 {main}
    thrown in /evolutiontravel.community/ita/wp-content/plugins/woocommerce/src/Admin/API/Reports/PerformanceIndicators/Controller.php on line 150`

    Disabling jwt-auth the etitor works again.
    You get this issue by useing php8.0.x, with php7.4 we don’t have problems.

  • The topic ‘jwt-auth breack elementor with elementor+woocommerce (php8.0)’ is closed to new replies.