• My website is down with “There has been a critical error on your website. ” – I can’t get into WP-Admin either, it’s just a blank page.

    Having checked the error log I get:

    [02-Feb-2020 04:24:21 UTC] PHP Warning: urldecode() expects parameter 1 to be string, array given in /home/xxxxx/public_html/wp-includes/class-wp-query.php on line 2203

    [02-Feb-2020 04:24:21 UTC] PHP Warning: preg_match() expects parameter 2 to be string, array given in /home/xxxxx/public_html/wp-includes/canonical.php on line 231

    Can anyone help me? I haven’t a clue what’s happened – I’ve not changed anything…

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

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I’m sorry to hear your site is down. It sometimes happens without us doing anything. For example, your host changing PHP versions can cause trouble with outdated plugins.

    The cause may not be the PHP version, but it’s likely an outdated plugin. See

    FAQ Troubleshooting


    and the section on deactivating all plugins. I suggest the FTP method because of the following steps. If deactivating plugins doesn’t help, rename your theme’s folder via FTP so that WP switches to the latest twenty* theme available.

    In the WP default state, your site should start working again. It won’t look right, but you will see site content. Rename the folders back to what they were. Log in and restore your theme and plugins from the admin area, one at a time. WP should refuse to activate the faulty module. Take up the issue with the devs responsible for that specific module.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warning/Critical Error on Your Website’ is closed to new replies.