WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error: Cannot redeclare has_shortcode() HELP! (6 posts)

  1. TraceMeInc
    Member
    Posted 10 months ago #

    Cant access the dashboard, Need help asap! i know the basics but this is new to me i dont know what to do, someone help please

    Fatal error: Cannot redeclare has_shortcode() (previously declared in /home/content/69/9109269/html/wp-includes/shortcodes.php:153) in /home/content/69/9109269/html/wp-content/themes/pendulum_1_4_2/framework/functions/functions.php on line 129

  2. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    That's a problem with your theme - you can deactivate the theme by using FTP to rename the theme's folder - on the server find it here:

    wp-content
         themes
             pendulum.HOLD

    That should let you login again as WP will use a default theme. Then ask the developer of your theme for help - as commercial themes are not supported on these forums.

    http://themeforest.net/item/pendulum-premium-wordpress-theme/113557

  3. TraceMeInc
    Member
    Posted 10 months ago #

    ok thanks

  4. Devin Lee
    Member
    Posted 7 months ago #

    Hi man if you have notepad++ or code editor, download the file, open the function.php.
    CTRL+F and replace the has_shortcode into has_a_shortcode or something else.

    hope this help

  5. TraceMeInc
    Member
    Posted 7 months ago #

    @devin lee

    thanks for your response but i do not understand what you mean

  6. edgar.byo
    Member
    Posted 6 months ago #

    I went in on both files and change the line from:

    has_shortcode

    to:

    has_aa_shortcode in 1st file
    has_a_shortcode in 2nd file

    WordPress is back again and theme is working again. :)

Reply

You must log in to post.

About this Topic

Tags