Fatal Errors on WooCommerce Checkout
-
With AMP installed and going through the WooCommerce checkout screen, after payment is actually successful it throws an error on the frontend which looks like https://monosnap.com/file/BfC7Kw0NMkwMe8UfjIV75LrbfDzdNw
Then in the error_log I see the following
[13-Aug-2021 14:37:40] WARNING: [pool www] child 18410 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught Error: Class 'AMP_Vine_Embed_Handler' not found in /var/www/oooo.com/wp-content/plugins/amp/includes/templates/class-amp-content.php:171"
So I went into the code and then added in
if('AMP_Vine_Embed_Handler' !== $embed_handler_class){ $embed_handler = new $embed_handler_class( array_merge( $this->args, $args ) ); }
After doing that same error happened but with different handler
AMP_Wistia_Embed_Handler
Running latest wordpress, woocommerce and amp plugins.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fatal Errors on WooCommerce Checkout’ is closed to new replies.