Fatal Error – RestApi.php on line 64
-
I don’t have a plugin called “woocommerce-blocks,” so I do not have an option to “disable” this and test it. This error comes up every few times I refresh my website. I am running the latest on all of my plugins and wordpress.
Fatal error: Uncaught Error: Call to undefined method WP_Error::get_data() in /homepages/42/d653226534/htdocs/clickandbuilds/WestHeir/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:64 Stack trace: #0 /homepages/42/d653226534/htdocs/clickandbuilds/WestHeir/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(349): Automattic\WooCommerce\Blocks\RestApi->get_routes_from_namespace(‘wc/store’) #1 /homepages/42/d653226534/htdocs/clickandbuilds/WestHeir/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(287): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_data(Array) #2 /homepages/42/d653226534/htdocs/clickandbuilds/WestHeir/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(84): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array) #3 /homepages/42/d653226534/htdocs/clickandbuilds/WestHeir/wp-includes/class-wp-block.php(221): Automattic\WooC in /homepages/42/d653226534/htdocs/clickandbuilds/WestHeir/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 64
There has been a critical error on your website.
- The topic ‘Fatal Error – RestApi.php on line 64’ is closed to new replies.