• Resolved brunopenner

    (@brunopenner)


    Hi I got the following error when I activate Facebook for woocommerce. It completely breaks the WP dashboard so I cannot get copy the woocommerce system report. I’m using plugin version 3.2.0. WordPress latest version 6.5.2. Tested with PHP 7.4 and 8.0. ??

    Tried deactivating all plugins but woocommerce. Currently using a divi child theme but also tried switching to one of WP default themes. Nothing seems to work.

    Please help.

    [07-May-2024 05:48:16 UTC] PHP Fatal error: Uncaught Error: Class ‘WooCommerce\Facebook\Admin\Settings_Screens\Messenger’ not found in /home/grobrohydrop/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Lifecycle.php:321
    Stack trace: 0 /home/grobrohydrop/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Framework/Lifecycle.php(177): WooCommerce \Facebook\Lifecycle->upgrade_to_3_1_13(‘3.1.11’) 1 /home/grobrohydrop/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Framework/Lifecycle.php(83): WooCommerce \Facebook\Framework\Lifecycle->upgrade (‘3.1.11’) 2 /home/grobrohydrop/public_html/wp-includes/class-wp-hook.php(324): WooCommerce\Facebook\Framework\Lifecycle->init(”) 3 /home/grobrohydrop/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 4 /home/grobrohydrop/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 5 /home/grobrohydrop/public_html/wp-settings.php(717): do_action( ‘wp_loaded’) 6 /home/grobrohydrop/public_html/wp-config.php(110): require_once(‘/h in /home/grobrohydrop/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Lifecycle.php on line 321

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @brunopenner,

    Thanks for reporting! We will investigate and release a fix today if necessary.

    For context, do you know if you upgraded from the immediately previous version? Or directly from an earlier version (I see 3.1.11 in the error)?

    Cheers,

    Justin

    Thread Starter brunopenner

    (@brunopenner)

    Thanks Justin, I’m not sure what version was there before, to be honest.

    Looking forward to hearing from you.

    OK, thanks again @brunopenner.

    We will release a version with a fix later today (in a couple hours).

    In the meantime, if you feel comfortable doing so, you should be able to resolve the error by commenting out line 44 in the file facebook-for-woocommerce/includes/Lifecycle.php:

    //        '3.1.13',

    This should make the upgrade process skip the 3.1.13 step, which isn’t necessary to upgrade to 3.2.0.

    If you try that, please let me know how it goes!

    Cheers,

    Justin

    We’ve just released version 3.2.1 of Facebook for WooCommerce which should resolve this issue. Please get back to us if that’s not the case!

    https://downloads.www.ads-software.com/plugin/facebook-for-woocommerce.3.2.1.zip

    Thread Starter brunopenner

    (@brunopenner)

    Many thanks Justin, it seems to be working fine now.

    Hi @brunopenner

    That’s great to hear! Thanks for letting us know.

    Should you have further inquiries, kindly create a new topic here.

    Meanwhile, if it isn’t too much to ask for – would you mind leaving us a review here?

    It only takes a couple of minutes but helps us tremendously. It would mean so much to us and would go a really long way.

    Thanks!

    Thread Starter brunopenner

    (@brunopenner)

    Thanks guys for your prompt reply, I’ve just left you a review.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP Fatal error: Uncaught Error: Class ‘WooCommerce…’ is closed to new replies.