• I upgraded to WordPress 3.6 and the site went down. When the site went down this was on the page. Fatal error: Cannot redeclare has_shortcode() (previously declared in /home/……/public_html/wp-includes/shortcodes.php:153) in /home/……./public_html/wp-content/themes/options2/framework/functions/common.php on line 23

    Can someone please help me with a code to change so I can continue to use the theme? I have used this theme on several sites and I can’t upgrade them to 3.6 until I can get this fixed.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Your current theme is incompatible with WordPress. FTP into your site (or whatever file management application your host provides) & delete the wp-content/themes/options2 folder.

    Thread Starter PPMA

    (@ppma)

    I got the site back up and running, but I can’t use that theme and I was wondering if there was a code to use, so the theme would work with the upgraded WordPress 3.6.

    We have used this theme on several WordPress sites with no problems and this has only happened since the upgrade to 3.6. I don’t want to have get a new theme as this one has been in place a long time and we like the look.

    Where did you download this theme from?

    Thread Starter PPMA

    (@ppma)

    I downloaded it from Themeforest.net.

    I sent them an email but I have not heard back. The developer is CurtyCurt.

    I’m sorry but as you are using a commercial theme, you need to seek support from the theme’s developer/vendor. We do not support commercial products here.

    Thread Starter PPMA

    (@ppma)

    Thank you for your help. I thought maybe there might be a code within WordPress to allow compatibility.

    Sorry but no – this is up to the theme’s developer to fix.

    Thread Starter PPMA

    (@ppma)

    Thank you.

    Just comment or remove function has_shortcode in every theme file which is written in error. It works for me.

    Thread Starter PPMA

    (@ppma)

    I don’t completely understand. Are you saying go into the editor and every file that has _shortcode remove it?

    Yes, you are right, remove or just comment
    /*comment
    example*/.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘I upgraded to WordPress 3.6 and the site crashed. Cannot redeclare has_shortcode’ is closed to new replies.