• Resolved Aisaa9729

    (@arunisaa9729)


    I imported many variable products from Amazon to my WordPress website. After that i logged in to dashboard today morning and when I updated Woocommerce plugin an error happened saying maintenance issue.
    Now when I login to dashboard it says.
    There has been a critical error on this website. Please check your site admin email inbox for instructions.
    Learn more about troubleshooting WordPress.

    Now I Cant access my WordPress Dashboard and I Received the following error message:
    
    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 (https://myfashionhotspot.com/) and check for any visible issues. Next, visit the page where the error was caught (https://myfashionhotspot.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.
    
    https://myfashionhotspot.com/wp-login.php?action=enter_recovery_mode&rm_token=bkNzRp6kVOWXgPqxG8QyuY&rm_key=5VSVSAQ4Rg3xRqn9mvKa9r
    
    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.9.3
    Current theme: Storefront (version 4.1.0)
    Current plugin: WooCommerce (version 6.5.1)
    PHP version 7.4.28
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 1800 of the file /home2/myfashq0/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php. Error message: Uncaught TypeError: Argument 1 passed to Collator::asort() must be of the type array, bool given in /home2/myfashq0/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:1800
    Stack trace:
    #0 /home2/myfashq0/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1800): Collator->asort(false, 1)
    #1 /home2/myfashq0/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(53): wc_asort_by_locale(false)
    #2 /home2/myfashq0/public_html/wp-content/plugins/google-listings-and-ads/src/Proxies/WC.php(48): WC_Countries->get_countries()
    #3 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Proxies\WC->__construct(Object(WC_Countries))
    #4 /home2/myfashq0/public_html/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(256): ReflectionClass->newInstanceArgs(Array)
    #5 /home2/myfashq0/public_html/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(212): Automattic\WooC

    Now I cant access my WordPress dashboard.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Roxy

    (@roxannestoltz)

    Hi @arunisaa9729 ,

    Thanks for reaching out!

    WordPress maintenance mode is a WordPress core feature that’s enabled when you update the version of WordPress or while updating plugins and themes. WordPress displays a message across your website that lets visitors know you’re working on something.

    There are times that the update can be disrupted and causes your site to be stuck in ‘maintenance mode’. To resolve this, please locate and delete the .maintenance file by using the File Manager in your cPanel:

    CPANEL: file manager > public_html > .maintenance
    Ensure that hidden files are set to show (Go to Settings and check the box Show Hidden Files (dotfiles) )

    Once the .maintenance file is deleted, your site should be back to normal however, the update may need to be retriggered if it did not complete successfully.

    Before doing the update again, I’d suggest running a conflict test to rule out any theme/plugin conflict.

    `The best way to determine this is to:

    – Temporarily switch your theme to Storefront.
    – Disable all plugins except for WooCommerce
    – Repeat the action that is causing the problem

    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.

    Please see the below documentation for a more detailed explanation of how to do a conflict test here:

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Please let us know how this goes!

    Hi everyone,

    You can share with us any other error logs from WooCommerce → Status → Logs and select in the drop-down fatal-errors.log (I mean in case there are any other errors being displayed).

    Additionally, please share a copy of your site’s System Status: You can find it via WooCommerce > Status.

    Thank you.

    Thread Starter Aisaa9729

    (@arunisaa9729)

    I went to cPanel, File Manager, public_html and deleted the .maintenance file but still I have the error below:
    There has been a critical error on this website.

    Learn more about troubleshooting WordPress.

    I ALSO ENABLED WOOCOMERCE PLUGIN ONLY, BY CALLING BLUEHOST SUPPORT. BUT I STILL CANT ACCESS MY DASHBOARD.

    PLEASE TELL ME SOME FIX FOR THIS

    Roxy

    (@roxannestoltz)

    Hi @arunisaa9729 ,

    You shared this with us at the beginning of the thread:

    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.

    https://myfashionhotspot.com/wp-login.php?action=enter_recovery_mode&rm_token=bkNzRp6kVOWXgPqxG8QyuY&rm_key=5VSVSAQ4Rg3xRqn9mvKa9r

    Please could you let us know if you have tried to access your dashboard via the link provided in that email, and if not, kindly try and log in with that link, and see if you are able to log in successfully through this “recovery mode”.

    If you are able to, please could you go ahead and do the conflict test on your end and see if you receive any results. I do understand that you have asked your host to disable all plugins except for WooCommerce however, would recommend doing this to be certain.

    Additionally, please could you also share a copy of your?System Status which you can find via?WooCommerce > Status. Select ‘Get system report’ and then ‘Copy for support’.

    Once you do this, you can paste your response here.

    Thanks!

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    It’s been a while since we last heard from you, so I’m marking this thread as resolved.

    Hopefully, you’ve been able to resolve this, but we’ll be here if and/or when you are ready to continue.

    Cheers.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t Access WordPress Dashboard’ is closed to new replies.