• Hi All,

    I have problem of 500 internal server error with my web site. This will happen after 1 or 2 months. We need to restart the server for this.
    My site is down on 15 Oct – 16 – so I already logged php error in wordpress. Please check below log which shows some errors continuously in log file for this day.

    [15-Oct-2016] PHP Fatal error: Call to undefined function untrailingslashit() in wp-includes\option.php on line 114

    [15-Oct-2016 03:12:49 UTC] PHP Fatal error: Call to undefined function add_shortcode() in wp-includes\media.php on line 831
    [15-Oct-2016 03:13:10 UTC] PHP Fatal error: Call to undefined function add_shortcode() in wp-includes\media.php on line 831
    [15-Oct-2016 03:13:29 UTC] PHP Fatal error: Call to undefined function add_shortcode() in wp-includes\media.php on line 831

    [15-Oct-2016 09:25:31 UTC] PHP Fatal error: Call to undefined function current_theme_supports() in wp-includes\taxonomy.php on line 132
    [15-Oct-2016 09:25:34 UTC] PHP Fatal error: Call to undefined function current_theme_supports() in wp-includes\taxonomy.php on line 132
    [15-Oct-2016 09:25:38 UTC] PHP Fatal error: Call to undefined function current_theme_supports() in wp-includes\taxonomy.php on line 132

    [15-Oct-2016 13:19:32 UTC] PHP Fatal error: Cannot redeclare class Walker in wp-includes\class-wp-walker.php on line 14
    [15-Oct-2016 13:19:36 UTC] PHP Fatal error: Cannot redeclare class Walker in wp-includes\class-wp-walker.php on line 14
    [15-Oct-2016 13:19:52 UTC] PHP Fatal error: Cannot redeclare class Walker in wp-includes\class-wp-walker.php on line 14
    [15-Oct-2016 13:20:10 UTC] PHP Fatal error: Cannot redeclare class Walker in wp-includes\class-wp-walker.php on line 14
    [15-Oct-2016 13:20:31 UTC] PHP Fatal error: Cannot redeclare class Walker in wp-includes\class-wp-walker.php on line 14

    [16-Oct-2016 06:46:42 UTC] PHP Fatal error: Cannot redeclare wp_is_mobile() (previously declared in wp-includes\vars.php:126) in wp-includes\vars.php on line 126
    [16-Oct-2016 06:46:45 UTC] PHP Fatal error: Cannot redeclare wp_is_mobile() (previously declared in wp-includes\vars.php:126) in wp-includes\vars.php on line 126
    [16-Oct-2016 06:46:49 UTC] PHP Fatal error: Cannot redeclare wp_is_mobile() (previously declared in wp-includes\vars.php:126) in wp-includes\vars.php on line 126
    [16-Oct-2016 06:46:57 UTC] PHP Fatal error: Cannot redeclare wp_is_mobile() (previously declared in wp-includes\vars.php:126) in wp-includes\vars.php on line 126
    [16-Oct-2016 06:46:59 UTC] PHP Fatal error: Cannot redeclare wp_is_mobile() (previously declared in wp-includes\vars.php:126) in wp-includes\vars.php on line 126
    [16-Oct-2016 06:47:02 UTC] PHP Fatal error: Cannot redeclare wp_is_mobile() (previously declared in wp-includes\vars.php:126) in wp-includes\vars.php on line 126

    I have to know what is exact problem in this. are these error happen to Internal 500 server error?

    Can you please help me on this?

    Thanks,
    Swapnil

Viewing 5 replies - 1 through 5 (of 5 total)
  • Internal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, 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, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue. If you don’t have access to your admin panel, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, 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.

    If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your SFTP or FTP client to view invisible files.

    • This reply was modified 9 years, 5 months ago by Patrick.
    Thread Starter swapnilsshete

    (@swapnilsshete)

    Hi,

    Thank you for your help.

    I have in detail .htaccess please check below :

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    There is nothing else. We have used very less plugins
    1) windows-azure-storage 2) wp-super-cache

    We are using Paid Redux Framework in wordpress.

    We have some one main domain right now and we have redirected other sub domain to this main domain. through web.config file.

    How can I check confliction of function.php ?

    Can you please help me, I have added more in detail.

    Thanks.

    Thread Starter swapnilsshete

    (@swapnilsshete)

    Hi,

    I have updated my wordpress version to 4.6.1. Now I have checked log files where i got more errors.
    please check some of them in details :

    mysqli_real_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

    Cannot redeclare register_rest_route() (previously declared in D:\home\site\wwwroot\wp-includes\rest-api.php

    Can you please help me why these is occurred and is this pointing to my first concern ‘internal server 500’

    Thanks,
    Swapnil

    Thread Starter swapnilsshete

    (@swapnilsshete)

    Can anybody please help ?

    Thread Starter swapnilsshete

    (@swapnilsshete)

    This will impact on site performance. we are not using plugins
    Can anybody please help ?

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

The topic ‘Internal server error’ is closed to new replies.