• Resolved anjanphukan

    (@anjanphukan)


    Hi

    After update I am getting the following error:

    Fatal error: Uncaught Error: Class 'Barn2\Plugin\WC_Product_Tabs_Free\WP_Embed' not found in /home/shopunitrackerco/public_html/wp-content/plugins/woocommerce-product-tabs/src/Product_Tabs.php:167 Stack trace: #0 /home/shopunitrackerco/public_html/wp-includes/class-wp-hook.php(324): Barn2\Plugin\WC_Product_Tabs_Free\Product_Tabs->product_tabs_filter_content('<p class="featu...') #1 /home/shopunitrackerco/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('<p class="featu...', Array) #2 /home/shopunitrackerco/public_html/wp-content/plugins/woocommerce-product-tabs/src/Product_Tabs.php(188): apply_filters('wpt_filter_tab_...', '<p class="featu...') #3 /home/shopunitrackerco/public_html/wp-content/plugins/woocommerce-product-tabs/src/Product_Tabs.php(144): Barn2\Plugin\WC_Product_Tabs_Free\Product_Tabs->get_filter_content('<p class="featu...') #4 /home/shopunitrackerco/public_html/wp-content/plugins/woocommerce/templates/single-product/tabs/tabs.php(47): Barn2\Plugin\WC_Product_Tabs_Free\Product_Tabs->callback(' in?/home/shopunitrackerco/public_html/wp-content/plugins/woocommerce-product-tabs/src/Product_Tabs.php?on line?167

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support Barn2 Plugin Support

    (@barn2pluginsupport)

    Hi, @anjanphukan.

    I conducted tests on version 2.1.2 on my test site and didn’t encounter the issue you described. Additionally, when I visited the https://shopunitracker.co.uk/product/fms500-light/ page, I didn’t experience any issues.

    If the issue persists, would you be willing to temporarily switch to the StoreFront theme and deactivate non-Barn2 plugins one by one to identify if there is a plugin conflict? I have a suspicion that this might be a conflict with a third-party plugin.

    Please ensure to create a backup of your site before implementing the suggestions I provided.

    I hope this helps! Please let me know if you have any other questions.

    Best regards,
    Adrian

    Thread Starter anjanphukan

    (@anjanphukan)

    Hi Adrian,

    Thanks for checking and the suggestion. Unfortunately I cannot change the theme and/or deactivate the plugins as it’s a live site with lots of visitors. I downgraded the plugin to version 2.0.23 which fixed the issues.

    I have added the active plugin list in case it helps you ti check.

    Thank you.

    Advanced Custom FieldsVersion 6.2.5 by WP Engine | Auto-updates enabledBetter Search ReplaceVersion 1.4.5 by WP Engine | Auto-updates disabledButtonizer - Smart Floating Action ButtonVersion 3.4.3 by Buttonizer | Auto-updates enabledElementorVersion 3.19.0 by Elementor.com | Auto-updates enabledElementor Header & Footer BuilderVersion 1.6.24 by Brainstorm Force, Nikhil Chavan | Auto-updates disabledElementor ProVersion 3.19.0 by Elementor.com | Auto-updates enabledElement PackVersion 5.9.4 by BdThemes (Latest version: 7.8.0) | Auto-updates enabledEnvato MarketVersion 2.0.11 by Envato | Auto-updates disabledGravity FormsVersion 2.8.2 by Gravity Forms | Auto-updates enabledHubSpot All-In-One Marketing - Forms, Popups, Live ChatVersion 10.2.23 by HubSpot | Auto-updates disabledMultiple Columns for Gravity FormsVersion 4.0.6 by WebHolism | Auto-updates enabledRedirectionVersion 5.4.2 by John Godley | Auto-updates disabledSlider RevolutionVersion 6.6.18 by ThemePunch (Latest version: 6.6.20) | Auto-updates enabledStyler for Gravity FormsVersion 1.2.1 by IdeaBox Creations | Auto-updates disabledUK Vehicle Data WordPress PluginVersion 1.0.0 by UK Vechile Data | Auto-updates enabledUpdraftPlus - Backup/RestoreVersion 2.23.14.0 by UpdraftPlus.Com, DavidAnderson | Auto-updates enabledUpSolution CoreVersion 8.21.1 by UpSolution | Auto-updates enabledweLaunch FrameworkVersion 1.1.0 by weLaunch.io (Latest version: 1.1.1) | Auto-updates disabledWooCommerceVersion 8.5.2 by Automattic | Auto-updates enabledWooCommerce Better CompareVersion 1.6.0 by weLaunch | Auto-updates disabledWoocommerce Custom Product AddonsVersion 4.2.3 by Acowebs (Latest version: 5.0.17) | Auto-updates disabledWooCommerce Group AttributesVersion 1.7.5 by weLaunch | Auto-updates disabledWooCommerce Product TabsVersion 2.0.23 by Barn2 Plugins (Latest version: 2.1.2) | Auto-updates disabledWPCode LiteVersion 2.1.8 by WPCode | Auto-updates disabledWP Responsive TableVersion 1.2.6 by Processby | Auto-updates enabled

    Plugin Support Barn2 Plugin Support

    (@barn2pluginsupport)

    Hi,?@anjanphukan.

    Thank you for the update. I’m pleased to hear that the issue was resolved by downgrading to version 2.0.23. If you wish, you may consider creating a staging site for further testing and evaluation. You can use a WordPress migration plugin like All-in-One WP Migration, Duplicator, or InstaWP Connect to replicate your live/production site to a staging environment. Alternatively, you may reach out to your site’s web hosting provider for assistance in creating a staging site.

    I hope this information helps. Please let us know if you have further questions.

    Best regards,
    Adrian

    Thread Starter anjanphukan

    (@anjanphukan)

    Hi @barn2pluginsupport

    Thanks for your suggestion. But unfortunatelu I haven’t got any approval from my client to do that.

    Regards.

    Hi @anjanphukan?

    Thanks for the advice. The rollback really helped.
    There was a similar error on the site. Disabling plugins and changing the theme didn’t help. Thank you.

    Plugin Support Barn2 Plugin Support

    (@barn2pluginsupport)

    Hi,?@anjanphukan.

    No worries. Feel free to continue using version 2.0.23 if you still require approval from your client to set up a staging site. I’ll reach out to our developer for further clarification on this matter.

    Best regards,
    Adrian

    Plugin Support Barn2 Plugin Support

    (@barn2pluginsupport)

    Hi, @lvnaumova.

    I’m pleased to hear that version 2.0.23 worked for you. I’ll reach out to our developer for more information on this matter and see if they can offer some insights.

    Best regards,
    Adrian

    Plugin Author Amir Arabnezhad

    (@amirition)

    Hi @anjanphukan,

    We have released a new version of the plugin (2.1.3) and in this version, the issue you mentioned is resolved.

    Thanks.

    Thread Starter anjanphukan

    (@anjanphukan)

    Hi @amirition

    Thank you so much for the update. I tried to update the plugin to version 2.1.3 but for me the tabs don’t change. I have recorded a video here.

    I am not sure if this is a problem with the plugin or it is conflicting with something else. So I reverted it back to the version 2.0.23 again and it works fine with the downgrade.

    Thanks

    Plugin Author Amir Arabnezhad

    (@amirition)

    @anjanphukan In the new version of the plugin, the error with the WP_Embed class is fixed:

    Fatal error: Uncaught Error: Class 'Barn2\Plugin\WC_Product_Tabs_Free\WP_Embed' not found in /home/shopunitrackerco/public_html/wp-content/plugins/woocommerce-product-tabs/src/Product_Tabs.php:167

    You have mentioned this error on your first message. However, the error you see now is a Java Script error and unrelated to our plugin.

    On this product, the features and Sim Coverage tab are showing the content for me. Please clear the cache and check the products again.

    Thanks.

    Thread Starter anjanphukan

    (@anjanphukan)

    Hi @amirition, it works now because I downgraded the WooCommerce Product Tabs plugin to 2.0.23. I didn’t make any other changes.

    If I activate the 2.1.3 the tabs don’t work. Hope it clarifies.
    Thanks

    Plugin Author Amir Arabnezhad

    (@amirition)

    @anjanphukan

    Please send us your website login information via our support center so we can have a closer look.

    Plugin Author Amir Arabnezhad

    (@amirition)

    Closing this ticket as there are no further activities.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Fatal Error in version 2.1.2’ is closed to new replies.