This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

White screen of fatal error

Resolved 3 replies premiumthemetheme-vantage
10 years ago · Last reply by Andrew Misplon 10 years ago

I am having a major fatal error issue of my website. It has been down quite frequently. How can I solve this issue?
Fatal error: Cannot redeclare sdec() (previously declared in /home3/alanc929/public_html/wp-includes/vars.php:110) in /home3/alanc929/public_html/wp-includes/vars.php on line 177

URL: http://www.darr3nchen.com

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Greg Priday Staff 10 years, 10 months ago

    Hi Alan

    This error comes up when a specific function is created more than once. The function in this case is called sdec. There isn’t a function by this name in the default file /wp-includes/vars.php – so it’s possible that something has modified your files.

    One cause might be another plugin injecting this code into that file. It’s also possible that this is a malicious plugin, so I’d start by deleting plugins that you’ve downloaded from untrusted sources.

    Here is a temporary solution for your particular case.

    https://wordpress.org/support/topic/fatal-error-cannot-redeclare-sdec-2

  2. Alan Chen 10 years, 10 months ago

    Hi Greg

    thanks for the replied. I had earlier solved the issue using the same link that you provided. Thanks mate.

  3. Andrew Misplon Staff 10 years, 10 months ago

    Glad to hear you resolved Alan.

    All the best with your site :)

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread