{"id":4978,"date":"2021-02-18T02:44:52","date_gmt":"2021-02-18T02:44:52","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=4978"},"modified":"2021-02-18T02:44:52","modified_gmt":"2021-02-18T02:44:52","slug":"woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in","title":{"rendered":"woocommerce-services &#8211; PHP Fatal error: Uncaught Error: Cannot call constructor in"},"content":{"rendered":"<p>Recently a wordpress site crashed after with the error :\u00a0<\/p><pre>[pid 31317] PHP Fatal error: Uncaught Error: Cannot call constructor in \/wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php:47\\nStack trace:\\n#0 wp-content\/plugins\/woocommerce-services\/woocommerce-services.php(922): WC_REST_Dev_Data_Continents_Controller-&gt;__construct()\\n#1 wp-includes\/class-wp-hook.php(287): WC_Connect_Loader-&gt;wc_api_dev_init(Object(WP_REST_Server))\\n#2 <br \/>wp-includes\/class-wp-hook.php(311): WP_Hook-&gt;apply_filters(NULL, Array)\\n#3 <br \/>wp-includes\/plugin.php(478): WP_Hook-&gt;do_action(Array)\\n#4 wp-includes\/rest-api.php(506): do_action('rest_api_init', Object(WP_REST_Server))\\n#5<br \/><br \/>\/wp-content\/plugins\/disable-json-api\/classes\/helpers.php(10): rest_get_server()\\n#6 wp-content\/plugins\/disable-json-api\/classes\/helpers.php(36): DRA_Helpers::get_all_rest_routes()\\n#7\u00a0 in wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php on line 47, referer: wp-cron.php?doing_wp_cron<\/pre><p>Disabling the woocommerce-services Plugin stopped the error showing<\/p><p>Upgrading Woo-Commerce to version 5.0.0 then re-enabling woocommerce-services Plugin fixed the issue<\/p>","protected":false},"excerpt":{"rendered":"<p>Recently a wordpress site crashed after with the error :\u00a0[pid 31317] PHP Fatal error: Uncaught Error: Cannot call constructor in \/wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php:47\\nStack trace:\\n#0 wp-content\/plugins\/woocommerce-services\/woocommerce-services.php(922): WC_REST_Dev_Data_Continents_Controller-&gt;__construct()\\n#1 wp-includes\/class-wp-hook.php(287): WC_Connect_Loader-&gt;wc_api_dev_init(Object(WP_REST_Server))\\n#2 wp-includes\/class-wp-hook.php(311): [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3441,3442,3443],"class_list":["post-4978","post","type-post","status-publish","format-standard","hentry","category-research","tag-php-fatal-error","tag-php7","tag-uncaught-error-cannot-call-constructor-in"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Recently a wordpress site crashed after with the error : [pid 31317] PHP Fatal error: Uncaught Error: Cannot call constructor in \/wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php:47\\nStack trace:\\n#0 wp-content\/plugins\/woocommerce-services\/woocommerce-services.php(922): WC_REST_Dev_Data_Continents_Controller-&gt;__construct()\\n#1 wp-includes\/class-wp-hook.php(287): WC_Connect_Loader-&gt;wc_api_dev_init(Object(WP_REST_Server))\\n#2 wp-includes\/class-wp-hook.php(311): WP_Hook-&gt;apply_filters(NULL, Array)\\n#3 wp-includes\/plugin.php(478): WP_Hook-&gt;do_action(Array)\\n#4 wp-includes\/rest-api.php(506): do_action(&#039;rest_api_init&#039;, Object(WP_REST_Server))\\n#5\/wp-content\/plugins\/disable-json-api\/classes\/helpers.php(10): rest_get_server()\\n#6 wp-content\/plugins\/disable-json-api\/classes\/helpers.php(36): DRA_Helpers::get_all_rest_routes()\\n#7 in wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php on line 47, referer: wp-cron.php?doing_wp_cronDisabling the woocommerce-services Plugin stopped the error showingUpgrading Woo-Commerce to version 5.0.0\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"paris\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Welcome to Pariswells.com |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"woocommerce-services \u2013 PHP Fatal error: Uncaught Error: Cannot call constructor in | Welcome to Pariswells.com\" \/>\n\t\t<meta property=\"og:description\" content=\"Recently a wordpress site crashed after with the error : [pid 31317] PHP Fatal error: Uncaught Error: Cannot call constructor in \/wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php:47\\nStack trace:\\n#0 wp-content\/plugins\/woocommerce-services\/woocommerce-services.php(922): WC_REST_Dev_Data_Continents_Controller-&gt;__construct()\\n#1 wp-includes\/class-wp-hook.php(287): WC_Connect_Loader-&gt;wc_api_dev_init(Object(WP_REST_Server))\\n#2 wp-includes\/class-wp-hook.php(311): WP_Hook-&gt;apply_filters(NULL, Array)\\n#3 wp-includes\/plugin.php(478): WP_Hook-&gt;do_action(Array)\\n#4 wp-includes\/rest-api.php(506): do_action(&#039;rest_api_init&#039;, Object(WP_REST_Server))\\n#5\/wp-content\/plugins\/disable-json-api\/classes\/helpers.php(10): rest_get_server()\\n#6 wp-content\/plugins\/disable-json-api\/classes\/helpers.php(36): DRA_Helpers::get_all_rest_routes()\\n#7 in wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php on line 47, referer: wp-cron.php?doing_wp_cronDisabling the woocommerce-services Plugin stopped the error showingUpgrading Woo-Commerce to version 5.0.0\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2021-02-18T02:44:52+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-02-18T02:44:52+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"woocommerce-services \u2013 PHP Fatal error: Uncaught Error: Cannot call constructor in | Welcome to Pariswells.com\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Recently a wordpress site crashed after with the error : [pid 31317] PHP Fatal error: Uncaught Error: Cannot call constructor in \/wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php:47\\nStack trace:\\n#0 wp-content\/plugins\/woocommerce-services\/woocommerce-services.php(922): WC_REST_Dev_Data_Continents_Controller-&gt;__construct()\\n#1 wp-includes\/class-wp-hook.php(287): WC_Connect_Loader-&gt;wc_api_dev_init(Object(WP_REST_Server))\\n#2 wp-includes\/class-wp-hook.php(311): WP_Hook-&gt;apply_filters(NULL, Array)\\n#3 wp-includes\/plugin.php(478): WP_Hook-&gt;do_action(Array)\\n#4 wp-includes\/rest-api.php(506): do_action(&#039;rest_api_init&#039;, Object(WP_REST_Server))\\n#5\/wp-content\/plugins\/disable-json-api\/classes\/helpers.php(10): rest_get_server()\\n#6 wp-content\/plugins\/disable-json-api\/classes\/helpers.php(36): DRA_Helpers::get_all_rest_routes()\\n#7 in wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php on line 47, referer: wp-cron.php?doing_wp_cronDisabling the woocommerce-services Plugin stopped the error showingUpgrading Woo-Commerce to version 5.0.0\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#article\",\"name\":\"woocommerce-services \\u2013 PHP Fatal error: Uncaught Error: Cannot call constructor in | Welcome to Pariswells.com\",\"headline\":\"woocommerce-services &#8211; PHP Fatal error: Uncaught Error: Cannot call constructor in\",\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"},\"datePublished\":\"2021-02-18T02:44:52+00:00\",\"dateModified\":\"2021-02-18T02:44:52+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#webpage\"},\"articleSection\":\"Research, PHP Fatal error, php7, Uncaught Error: Cannot call constructor in\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"position\":2,\"name\":\"Research\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#listItem\",\"name\":\"woocommerce-services &#8211; PHP Fatal error: Uncaught Error: Cannot call constructor in\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#listItem\",\"position\":3,\"name\":\"woocommerce-services &#8211; PHP Fatal error: Uncaught Error: Cannot call constructor in\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\",\"name\":\"Welcome to Pariswells.com\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris\",\"name\":\"paris\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"paris\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#webpage\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in\",\"name\":\"woocommerce-services \\u2013 PHP Fatal error: Uncaught Error: Cannot call constructor in | Welcome to Pariswells.com\",\"description\":\"Recently a wordpress site crashed after with the error : [pid 31317] PHP Fatal error: Uncaught Error: Cannot call constructor in \\\/wp-content\\\/plugins\\\/woocommerce-services\\\/classes\\\/wc-api-dev\\\/class-wc-rest-dev-data-continents-controller.php:47\\\\nStack trace:\\\\n#0 wp-content\\\/plugins\\\/woocommerce-services\\\/woocommerce-services.php(922): WC_REST_Dev_Data_Continents_Controller->__construct()\\\\n#1 wp-includes\\\/class-wp-hook.php(287): WC_Connect_Loader->wc_api_dev_init(Object(WP_REST_Server))\\\\n#2 wp-includes\\\/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)\\\\n#3 wp-includes\\\/plugin.php(478): WP_Hook->do_action(Array)\\\\n#4 wp-includes\\\/rest-api.php(506): do_action('rest_api_init', Object(WP_REST_Server))\\\\n#5\\\/wp-content\\\/plugins\\\/disable-json-api\\\/classes\\\/helpers.php(10): rest_get_server()\\\\n#6 wp-content\\\/plugins\\\/disable-json-api\\\/classes\\\/helpers.php(36): DRA_Helpers::get_all_rest_routes()\\\\n#7 in wp-content\\\/plugins\\\/woocommerce-services\\\/classes\\\/wc-api-dev\\\/class-wc-rest-dev-data-continents-controller.php on line 47, referer: wp-cron.php?doing_wp_cronDisabling the woocommerce-services Plugin stopped the error showingUpgrading Woo-Commerce to version 5.0.0\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"datePublished\":\"2021-02-18T02:44:52+00:00\",\"dateModified\":\"2021-02-18T02:44:52+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\",\"name\":\"Welcome to Pariswells.com\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"woocommerce-services \u2013 PHP Fatal error: Uncaught Error: Cannot call constructor in | Welcome to Pariswells.com","description":"Recently a wordpress site crashed after with the error : [pid 31317] PHP Fatal error: Uncaught Error: Cannot call constructor in \/wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php:47\\nStack trace:\\n#0 wp-content\/plugins\/woocommerce-services\/woocommerce-services.php(922): WC_REST_Dev_Data_Continents_Controller->__construct()\\n#1 wp-includes\/class-wp-hook.php(287): WC_Connect_Loader->wc_api_dev_init(Object(WP_REST_Server))\\n#2 wp-includes\/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)\\n#3 wp-includes\/plugin.php(478): WP_Hook->do_action(Array)\\n#4 wp-includes\/rest-api.php(506): do_action('rest_api_init', Object(WP_REST_Server))\\n#5\/wp-content\/plugins\/disable-json-api\/classes\/helpers.php(10): rest_get_server()\\n#6 wp-content\/plugins\/disable-json-api\/classes\/helpers.php(36): DRA_Helpers::get_all_rest_routes()\\n#7 in wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php on line 47, referer: wp-cron.php?doing_wp_cronDisabling the woocommerce-services Plugin stopped the error showingUpgrading Woo-Commerce to version 5.0.0","canonical_url":"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#article","name":"woocommerce-services \u2013 PHP Fatal error: Uncaught Error: Cannot call constructor in | Welcome to Pariswells.com","headline":"woocommerce-services &#8211; PHP Fatal error: Uncaught Error: Cannot call constructor in","author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"},"datePublished":"2021-02-18T02:44:52+00:00","dateModified":"2021-02-18T02:44:52+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#webpage"},"isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#webpage"},"articleSection":"Research, PHP Fatal error, php7, Uncaught Error: Cannot call constructor in"},{"@type":"BreadcrumbList","@id":"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/pariswells.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","position":2,"name":"Research","item":"https:\/\/pariswells.com\/blog\/category\/research","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#listItem","name":"woocommerce-services &#8211; PHP Fatal error: Uncaught Error: Cannot call constructor in"},"previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#listItem","position":3,"name":"woocommerce-services &#8211; PHP Fatal error: Uncaught Error: Cannot call constructor in","previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}}]},{"@type":"Organization","@id":"https:\/\/pariswells.com\/blog\/#organization","name":"Welcome to Pariswells.com","url":"https:\/\/pariswells.com\/blog\/"},{"@type":"Person","@id":"https:\/\/pariswells.com\/blog\/author\/paris#author","url":"https:\/\/pariswells.com\/blog\/author\/paris","name":"paris","image":{"@type":"ImageObject","@id":"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g","width":96,"height":96,"caption":"paris"}},{"@type":"WebPage","@id":"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#webpage","url":"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in","name":"woocommerce-services \u2013 PHP Fatal error: Uncaught Error: Cannot call constructor in | Welcome to Pariswells.com","description":"Recently a wordpress site crashed after with the error : [pid 31317] PHP Fatal error: Uncaught Error: Cannot call constructor in \/wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php:47\\nStack trace:\\n#0 wp-content\/plugins\/woocommerce-services\/woocommerce-services.php(922): WC_REST_Dev_Data_Continents_Controller->__construct()\\n#1 wp-includes\/class-wp-hook.php(287): WC_Connect_Loader->wc_api_dev_init(Object(WP_REST_Server))\\n#2 wp-includes\/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)\\n#3 wp-includes\/plugin.php(478): WP_Hook->do_action(Array)\\n#4 wp-includes\/rest-api.php(506): do_action('rest_api_init', Object(WP_REST_Server))\\n#5\/wp-content\/plugins\/disable-json-api\/classes\/helpers.php(10): rest_get_server()\\n#6 wp-content\/plugins\/disable-json-api\/classes\/helpers.php(36): DRA_Helpers::get_all_rest_routes()\\n#7 in wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php on line 47, referer: wp-cron.php?doing_wp_cronDisabling the woocommerce-services Plugin stopped the error showingUpgrading Woo-Commerce to version 5.0.0","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in#breadcrumblist"},"author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"creator":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"datePublished":"2021-02-18T02:44:52+00:00","dateModified":"2021-02-18T02:44:52+00:00"},{"@type":"WebSite","@id":"https:\/\/pariswells.com\/blog\/#website","url":"https:\/\/pariswells.com\/blog\/","name":"Welcome to Pariswells.com","inLanguage":"en-US","publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Welcome to Pariswells.com |","og:type":"article","og:title":"woocommerce-services \u2013 PHP Fatal error: Uncaught Error: Cannot call constructor in | Welcome to Pariswells.com","og:description":"Recently a wordpress site crashed after with the error : [pid 31317] PHP Fatal error: Uncaught Error: Cannot call constructor in \/wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php:47\\nStack trace:\\n#0 wp-content\/plugins\/woocommerce-services\/woocommerce-services.php(922): WC_REST_Dev_Data_Continents_Controller-&gt;__construct()\\n#1 wp-includes\/class-wp-hook.php(287): WC_Connect_Loader-&gt;wc_api_dev_init(Object(WP_REST_Server))\\n#2 wp-includes\/class-wp-hook.php(311): WP_Hook-&gt;apply_filters(NULL, Array)\\n#3 wp-includes\/plugin.php(478): WP_Hook-&gt;do_action(Array)\\n#4 wp-includes\/rest-api.php(506): do_action('rest_api_init', Object(WP_REST_Server))\\n#5\/wp-content\/plugins\/disable-json-api\/classes\/helpers.php(10): rest_get_server()\\n#6 wp-content\/plugins\/disable-json-api\/classes\/helpers.php(36): DRA_Helpers::get_all_rest_routes()\\n#7 in wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php on line 47, referer: wp-cron.php?doing_wp_cronDisabling the woocommerce-services Plugin stopped the error showingUpgrading Woo-Commerce to version 5.0.0","og:url":"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in","article:published_time":"2021-02-18T02:44:52+00:00","article:modified_time":"2021-02-18T02:44:52+00:00","twitter:card":"summary","twitter:title":"woocommerce-services \u2013 PHP Fatal error: Uncaught Error: Cannot call constructor in | Welcome to Pariswells.com","twitter:description":"Recently a wordpress site crashed after with the error : [pid 31317] PHP Fatal error: Uncaught Error: Cannot call constructor in \/wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php:47\\nStack trace:\\n#0 wp-content\/plugins\/woocommerce-services\/woocommerce-services.php(922): WC_REST_Dev_Data_Continents_Controller-&gt;__construct()\\n#1 wp-includes\/class-wp-hook.php(287): WC_Connect_Loader-&gt;wc_api_dev_init(Object(WP_REST_Server))\\n#2 wp-includes\/class-wp-hook.php(311): WP_Hook-&gt;apply_filters(NULL, Array)\\n#3 wp-includes\/plugin.php(478): WP_Hook-&gt;do_action(Array)\\n#4 wp-includes\/rest-api.php(506): do_action('rest_api_init', Object(WP_REST_Server))\\n#5\/wp-content\/plugins\/disable-json-api\/classes\/helpers.php(10): rest_get_server()\\n#6 wp-content\/plugins\/disable-json-api\/classes\/helpers.php(36): DRA_Helpers::get_all_rest_routes()\\n#7 in wp-content\/plugins\/woocommerce-services\/classes\/wc-api-dev\/class-wc-rest-dev-data-continents-controller.php on line 47, referer: wp-cron.php?doing_wp_cronDisabling the woocommerce-services Plugin stopped the error showingUpgrading Woo-Commerce to version 5.0.0"},"aioseo_meta_data":{"post_id":"4978","title":null,"description":null,"keywords":[],"keyphrases":{"focus":[],"additional":[]},"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":{"businessInfo":{"name":"","urls":{"website":"","aboutPage":"","contactPage":""},"address":{"line1":"","line2":"","zip":"","city":"","state":"","country":""},"contact":{"email":"","phone":"","fax":""},"ids":{"vatID":"","taxID":"","chamberID":""},"payment":{"priceIndication":"","currenciesAccepted":"","methodsAccepted":""},"areaServed":""},"openingHours":{"show":false,"closedLabel":"","open24h":false,"open24hLabel":"","open247":false,"use24hFormat":false,"twoSets":false,"timezone":"","hours":[]}},"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-02-17 22:53:29","updated":"2022-09-17 08:13:12","primary_term":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\/category\/research\" title=\"Research\">Research<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\twoocommerce-services \u2013 PHP Fatal error: Uncaught Error: Cannot call constructor in\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/pariswells.com\/blog"},{"label":"Research","link":"https:\/\/pariswells.com\/blog\/category\/research"},{"label":"woocommerce-services &#8211; PHP Fatal error: Uncaught Error: Cannot call constructor in","link":"https:\/\/pariswells.com\/blog\/research\/woocommerce-services-php-fatal-error-uncaught-error-cannot-call-constructor-in"}],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=4978"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4978\/revisions"}],"predecessor-version":[{"id":4979,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4978\/revisions\/4979"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=4978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=4978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=4978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}