PHP 7.4 Compatibility Issue
-
When I updated to PHP 7.4 (from 7.3), I got the following error:
WordPress version 5.9 Current theme: ****** (version 1.0.0) Current plugin: WooCommerce Shipping & Tax (version 1.25.23) PHP version 7.4.27 Error Details ============= An error of type E_ERROR was caused in line 47 of the file /var/www/wp-content/plugins/woocommerce-services/classes/wc-api-dev/class-wc-rest-dev-data-continents-controller.php. Error message: Uncaught Error: Cannot call constructor in /var/www/wp-content/plugins/woocommerce-services/classes/wc-api-dev/class-wc-rest-dev-data-continents-controller.php:47 Stack trace: #0 /var/www/wp-content/plugins/woocommerce-services/woocommerce-services.php(972): WC_REST_Dev_Data_Continents_Controller->__construct() #1 /var/www/wp-includes/class-wp-hook.php(307): WC_Connect_Loader->wc_api_dev_init(Object(WP_REST_Server)) #2 /var/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /var/www/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #4 /var/www/wp-includes/rest-api.php(553): do_action('rest_api_init', Object(WP_REST_Server)) #5 /var/www/wp-content/plugins/disable-json-api/classes/helpers.php(10): rest_get_server() #6 /var/www/wp-content/plugins/disable-json-api/classes/helpers.php(36): DRA_Helpers::get_all_rest_routes() #7 /var/www/wp-content/plugins/disable-json-api/classes/disable-rest-api.php(323): DRA_Helpers::build_routes_rule(Array) #8 /var/www/wp-content/plugins/disable-
Will you be fixing this issue in your plugin anytime soon?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘PHP 7.4 Compatibility Issue’ is closed to new replies.