• Resolved Damian

    (@flexcode)


    Hello.

    After update plugin i see:

    Fatal error: Uncaught Error: Call to undefined function yith_plugin_fw_wc_is_using_block_template_in_single_product() in /wp-content/plugins/yith-woocommerce-compare/includes/class.yith-woocompare-frontend.php:113 Stack trace: #0

    Why?

Viewing 11 replies - 1 through 11 (of 11 total)
  • We received the same error after updating to 2.29.0. Had to disable the plug-in to keep the website running. I have contacted YITH support via email and chat but they asked me to post a ticket here instead since it’s the free plugin.

    Hello, yes, I am also getting the same “Fatal Error” after updating the plugin. Had to deactivate the plugin.

    I have the same fatal error issue. Here is the full log:

    PHP Fatal error: Uncaught Error: Call to undefined function yith_plugin_fw_wc_is_using_block_template_in_single_product() in /home/mywebsite/public_html/wp-content/plugins/yith-woocommerce-compare/includes/class.yith-woocompare-frontend.php:113
    Stack trace: 0 /home/mywebsite/public_html/wp-content/plugins/yith-woocommerce-compare/includes/class.yith-woocompare.php(54): YITH_Woocompare_Frontend->__construct() 1 /home/mywebsite/public_html/wp-content/plugins/yith-woocommerce-compare/init.php(139): YITH_Woocompare->__construct() 2 /home/mywebsite/public_html/wp-includes/class-wp-hook.php(308): yith_woocompare_constructor(”) 3 /home/mywebsite/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 4 /home/mywebsite/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 5 /home/mywebsite/public_html/wp-settings.php(486): do_action(‘plugins_loaded’) 6 /home/mywebsite/public_html/wp-config.php(112): require_once(‘/home/mywebsite/…’) 7 /home/mywebsite/public_html/wp-load.php(50): require_once(‘/home/mywebsite/…’) 8 /home/mywebsite/public_html/wp-blog-header.php(13): require_once(‘/home/mywebsite/…’) 9 /home/mywebsite/public_html/index.php(17): require(‘/home/mywebsite/…’) 10 {main}

    thrown in /home/mywebsite/public_html/wp-content/plugins/yith-woocommerce-compare/includes/class.yith-woocompare-frontend.php on line 113

    Plugin Support crodriguez1991

    (@crodriguez1991)

    Hello there,

    I hope you’re doing well :D.

    We fixed the fatal error in the latest plugin version 2.29.1.

    Please, could you update and check if the issue is fixed?

    I’m looking forward your response.

    Have a good day.

    version 2.29.1 working

    Yes, version 2.29.1?is working. Thank you!

    Thread Starter Damian

    (@flexcode)

    Thanks

    @crodriguez1991 thank you for the quick fix. It is working!

    Hello dears , I also have the same problem but I am not being able to access my desktop and neither the database.
    
    
    
    Se produjo un error de tipo E_ERROR en la línea 113 del archivo /home/fabianb/public_html/wp-content/plugins/yith-woocommerce-compare/includes/class.yith-woocompare-frontend.php. Mensaje de error: Uncaught Error: Call to undefined function yith_plugin_fw_wc_is_using_block_template_in_single_product() in /home/fabianb/public_html/wp-content/plugins/yith-woocommerce-compare/includes/class.yith-woocompare-frontend.php:113
    
    Stack trace:
    
    #0 /home/fabianb/public_html/wp-content/plugins/yith-woocommerce-compare/includes/class.yith-woocompare.php(54): YITH_Woocompare_Frontend->__construct()
    
    #1 /home/fabianb/public_html/wp-content/plugins/yith-woocommerce-compare/init.php(139): YITH_Woocompare->__construct()
    
    #2 /home/fabianb/public_html/wp-includes/class-wp-hook.php(308): yith_woocompare_constructor('')
    
    #3 /home/fabianb/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    
    #4 /home/fabianb/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    
    #5 /home/fabianb/public_html/wp-settings.php(486): do_action('plugins_loaded')
    
    #6 /home/fabianb/public_html/wp-config.php(80): require_once('/home/fabianb/p...')
    
    #7 /home/fabianb/public_html/wp-load.php(50): require_once('/home/fab

    @fabianbb If you have access to your hosting (FTP, SSH, cPanel, other), try to rename the plugin folder something like “_yith-woocommerce-compare” and your website should be working again. Then try to install and activate the plugin again from the repository; if it works, delete the renamed folder “_yith-woocommerce-compare”.

    First of all thank you very much @alian lian for your prompt response, I was able to enter the recovery mode with the link that WordPress sent, I just had to be less anxious and wait for the new email to arrive. I was able to update the plugin again and problem solved. Once again, thank you very much for your contribution, @alian.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Fatal error’ is closed to new replies.