• Hi i tried logging in thei morning and it went to a pages saying There has been a critical error on your website.

    Learn more about debugging in WordPress.

    Then it sendt an email

    Error Details
    =============
    An error of type E_COMPILE_ERROR was caused in line 168 of the file /var/www/wp-content/plugins/woocommerce/vendor/autoload_packages.php. Error message: require_once(): Failed opening required ‘/var/www/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Customers/DataStore.php’ (include_path=’.:/opt/remi/php73/root/usr/share/pear:/opt/remi/php73/root/usr/share/php:/usr/share/pear:/usr/share/php’)

    Im a newbie and have no clue what to do. Went to godaddy and restored it back to 8/9/2020 but still the same

    PLEASE HELP its my small biz site thanks

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • Zach W

    (@dynamiczach)

    Automattic Happiness Engineer

    Howdy!

    It looks like the issue is caused by whatever Vendor plugin you’re currently using conflicting with WooCommmerce and the “WooCommerce Admin” functionality.

    Do you have any updates to WooCommerce available, or to your Vendor plugin?

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status.

    Select “Get system report” and then “Copy for support”.  Once you’ve done that, paste it here in your response. Thanks!

    Thread Starter Chris Hancock

    (@gorhad)

    Problem is i cannot access the admin panel. When i try and login http://wesbaun.com/wp-admin/ a screen appears that says There has been a critical error on your website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.

    Thread Starter Chris Hancock

    (@gorhad)

    Then the email received says

    Howdy!

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, WooCommerce.

    First, visit your website (http://wesbaun.com/) and check for any visible issues. Next, visit the page where the error was caught (http://wesbaun.com/wp-admin/) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

    To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.4.2
    Current theme: Primer (version 1.8.9)
    Current plugin: WooCommerce (version 4.3.2)
    PHP version 7.3.12

    Error Details
    =============
    An error of type E_COMPILE_ERROR was caused in line 168 of the file /var/www/wp-content/plugins/woocommerce/vendor/autoload_packages.php. Error message: require_once(): Failed opening required ‘/var/www/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Customers/DataStore.php’ (include_path=’.:/opt/remi/php73/root/usr/share/pear:/opt/remi/php73/root/usr/share/php:/usr/share/pear:/usr/share/php’)

    • This reply was modified 5 years, 9 months ago by Chris Hancock.
    Zach W

    (@dynamiczach)

    Automattic Happiness Engineer

    Hi,

    Please delete the recovery token from this thread ASAP, that’s not something you want to share.

    You can click that recovery link and login to the site, and then try to de-activate your vendors plugin for the time being. That should get your site accessible again.

    Let me know if that works to get the site back up?

    Thread Starter Chris Hancock

    (@gorhad)

    please excuse my lack of knowledge what is the plugin i need to deactivate?

    What i have done so far is gone into godaddy ftp file browser navigated to WP content then rnamed the plugin folder to plugin deactivate. That allowed me to login to my dashboard. Then i am currently activating each plugin one by one and seeing if it goes bad again im just about to activate the 4 woocommerce plugins there which are WooCommerce, WooCommerce PayPal Checkout Gateway, WooCommerce Services and WooCommerce Stripe Gateway

    Thread Starter Chris Hancock

    (@gorhad)

    Ok so when i activate WooCommerce it happens again

    Thread Starter Chris Hancock

    (@gorhad)

    oh and to add i tried clicking that recovery link but it comes up Recovery Mode not initialized thats why i read somewhere and went to godaddy ftp file browser and disable all plugins

    Zach W

    (@dynamiczach)

    Automattic Happiness Engineer

    I’m sorry, I read the error message wrong initially. I see you don’t have a vendor plugin activated on your site.

    As a first step, I’d recommend making sure your theme and all plugins are updated to the latest version. Then, here’s what I’d recommend:

    * Keep all plugins deactivated
    * Try activating the WooCommerce plugin first.

    Is there an error when you activate WooCommerce? If so, try switching your current “Primer” theme to a default theme like Twenty Twenty, then reactivate WooCommerce to check for issues.

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict with the WooCommerce plugin. You can find a more detailed explanation on how to do a conflict test here.

    Also to check: You aren’t using a “WooCommerce Admin” plugin on your site, are you? The WooCommerce plugin now has that functionality built-in so the plugin is not needed. If you are, try deleting that plugin as that should help.

    Thread Starter Chris Hancock

    (@gorhad)

    How would i know if its a admin plugin

    Zach W

    (@dynamiczach)

    Automattic Happiness Engineer

    How would i know if its a admin plugin

    Do you have a plugin called “WooCommerce Admin” installed on your site? You can check for that under your list of plugins. If you see that plugin, please delete it.

    If it’s not there, then I’d recommend following the information in the reply here to delete WooCommerce and re-install it, as that should hopefully help:

    https://wordpress.org/support/topic/version-4-3-fatal-error/#post-13161035

    Please let us know how that goes!

    Thread Starter Chris Hancock

    (@gorhad)

    Tried the themes and individual deactivating of plugins but still the same. The only way i can get it back up and running is by deactivating the the 4 woocommerce plugins as mentioned before. So im going to delete and reinstall woocommerce as the thread above indicates thanks so far

    Thread Starter Chris Hancock

    (@gorhad)

    ok its back i uninstalled all the 4 woocommerce plugins and re installed and voila its back. Thing is i dont know why it happened so its still a mystery

    Zach W

    (@dynamiczach)

    Automattic Happiness Engineer

    Glad to hear it’s back!

    With the E_COMPILE_ERROR, it looks like the plugin update didn’t process correctly. It shouldn’t be an issue in the future, but on the small chance that it happens again, uninstalling and re-installing should resolve it.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘My site will not open’ is closed to new replies.