Support » Fixing WordPress » Website Gone – Fatal Error

  • Resolved Paper Street

    (@paper-street)


    I paid someone to set-up the format of my Word Press page and I’ve updated occasionally over the past three years but I just checked it and the following message has appeared:

    Fatal error: Cannot redeclare has_shortcode() (previously declared in /home/content/00/3469800/html/FREE/PSC/WP/wp-includes/shortcodes.php:153) in /home/content/00/3469800/html/FREE/PSC/WP/wp-content/themes/fullscene/functions.php on line 275

    I can’t get into the wp-admin to even take a look at trying to redeclare the shortcode (which I have no idea how to do that either)

    Is this an issue with my host or wp-admin? Can I get any of the data back?

    Any and all help is truly appreciated. Thank you – VC

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    The problem is your theme includes a function called has_shortcode(). This is also the name of a function included in WordPress core.

    When one of your template files tries to use the has_shortcode() function, WordPress doesn’t know whether it means the one included in your theme or the one included in WordPress.

    To fix it, you need to rename that function in your theme so it no longer conflicts. Rename it something like mywebsite_has_shortcode() and change all references to it in your theme files.

    Hope this helps.

    Hi,

    Here problem lies with your theme fullscene. To access the Dashboard, you will need to deactivate the theme by using FTP or cPanel File Manager by renaming the theme’s folder.You will find the theme folder here :
    /wp-content/themes/fullscene

    Most probably your theme is not compatible with 4.2.3.

    Thanks,

    I will try to get in touch with the person who created the theme because I would agree that the theme is most likely not compatible, because I was having issues with updating in the past, but I’m very “green” with setting up the theme as w whole. Thank you for the immediate feedback from everyone so far.

    Thank you all very much! It is working again. Very much appreciated 🙂

    You are welcome !!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Website Gone – Fatal Error’ is closed to new replies.