• Resolved emoxie

    (@emoxie)


    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.

    • This topic was modified 3 years, 7 months ago by emoxie.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @emoxie

    Thank you for the support topic, Can you please share your site URL and site health information using this form so we can investigate issue further.

    Thread Starter emoxie

    (@emoxie)

    @milindmore22 thanks for the super quick response time! I just submitted the form.

    Plugin Support Milind More

    (@milindmore22)

    Hello @emoxie

    Thank you for the site info, It seems you are using AMP Email plugin add-on which is created for another AMP plugin “AMP for WP

    Those embed handler classes are not part of official AMP plugin that’s reason you are seeing those errors when an email is sent.

    I will recommend contacting AMP Email plugin support in case you decide to continue using it OR just deactivate AMP Email plugin

    Also WooCommerce is not yet fully compatible, but it can be configured to work at a basic level.

    1) I will suggest disabling AMP on cart and checkout pages

    2) Update cart behavior settings to redirect on adding a product in cart and disabling Ajax add to cart check on from Archive.

    Additionally, I will suggest using the AMP Enhancer plugin, it can help you in addressing some Incompatibilities in WoCommerce.

    Thread Starter emoxie

    (@emoxie)

    @milindmore22 thank you for the amazing support! You do not know how much of a breath of fresh air it is to actually have someone look at your support request and give a legitimate answer.

    I have created a support ticket with AMP Email and will wait on their response. Again thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Errors on WooCommerce Checkout’ is closed to new replies.