• debug.log content is following:
    [19-Sep-2021 15:11:13 UTC] PHP Warning: mysqli_real_connect(): (HY000/2002): No such file or directory in /home/wwwroot/drkying.com/wp-includes/wp-db.php on line 1653
    [19-Sep-2021 15:11:14 UTC] PHP Warning: mysqli_real_connect(): (HY000/2002): No such file or directory in /home/wwwroot/drkying.com/wp-includes/wp-db.php on line 1653
    [19-Sep-2021 15:11:21 UTC] PHP Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /home/wwwroot/drkying.com/wp-includes/functions.php:74
    Stack trace:
    #0 /home/wwwroot/drkying.com/wp-includes/functions.php(170): current_time()
    #1 /home/wwwroot/drkying.com/wp-admin/options-general.php(328): date_i18n()
    #2 {main}
    thrown in /home/wwwroot/drkying.com/wp-includes/functions.php on line 74
    [19-Sep-2021 15:15:26 UTC] PHP Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /home/wwwroot/drkying.com/wp-includes/functions.php:74
    Stack trace:
    #0 /home/wwwroot/drkying.com/wp-includes/functions.php(170): current_time()
    #1 /home/wwwroot/drkying.com/wp-admin/options-general.php(328): date_i18n()
    #2 {main}
    thrown in /home/wwwroot/drkying.com/wp-includes/functions.php on line 74

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter yatsun

    (@yatsun)

    I tried the steps you mentioned, but it didn’t work. @macmanx

    • This reply was modified 2 years, 9 months ago by yatsun.
    Thread Starter yatsun

    (@yatsun)

    the message only show when I visit general setting and the update-core.php.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Ok, try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘There has been a critical error on this website. Please check your site admin em’ is closed to new replies.