Forum Replies Created

Viewing 5 replies - 31 through 35 (of 35 total)
  • The error message I got was:

    Fatal error: Cannot redeclare add_screen_meta_link() (previously declared in /home/content/16/6136616/html/wp-content/plugins/broken-link-checker/includes/screen-meta-links.php:256) in /home/content/16/6136616/html/wp-content/plugins/gantry/admin/screen-meta-links.php on line 205

    I moved the endif; to just before ?> as you recommended, and it still didn’t help, so I simply removed the last function in the screen-meta-links.php file. Anticosti didn’t say which function he had to remove but I saw that, in the original file, after the endif; there was one whole function. I deleted that and my problem went away. If it continues to work, I may just live with that but if there is a fix I’d like to know.

    I’ve been working on this site, using the Gantry-based theme, since early May. I never saw that error until I tried to activate the Broken Link Checker to check something: I had changed the name of a page and wanted to see if there were any links to it that I’d missed.

    I’m having this same problem on a test site which uses RocketTheme’s Modulus theme, based on the Gantry framework. I tried to activate the Broken Link Checker and now I can’t get into my admin interface at all and I can’t load any pages; I just get the error. Thank God it’s a test site.

    I tried moving the endif; to just before the ?> at file end without any effect, and I can’t see what the function was that Anticosti removed. I assume it’s this:

    /**
    * Add a new link to the screen meta area.

    I will try deleting that and see what happens. I really need a fix for this as I use the Broken Link Checker on the production site, for which I’m trying to develop the Gantry theme!

    Thread Starter hedera

    (@hedera)

    I copied comments.php from my parent theme, copied to it the entire comment_form() code section from comment_template.php, and uploaded it to my child theme. The copied section went at the end of the file, after the line,

    <?php comment_form(); ?>

    When I refreshed the page, the entire comment section had vanished. What should I have done?

    Thread Starter hedera

    (@hedera)

    I’m confused. Our theme is a child theme and has no comments.php. The comments.php is in the parent theme twentyten; the last line of that file is this call:

    <?php comment_form(); ?>

    and that’s all it says about it. The reason we’re having this conversation is that the only place I could find the wording I want to change is in the /wp-includes/comment-template.php file. Do I just copy the whole function out of that file and put it into comments.php? And if I do that and change it will it override the in the template file? I’m sorry to seem ignorant but I’m not a PHP programmer.

    I’m sitting here trying to decide whether to upgrade PHP 5.1.6 to 5.3.6 so I can upgrade WP to 3.2, and from this discussion I can’t tell if it’s a good idea or not. My site, lifering.org, is very active and having it down while I tinker with javascript would be a VERY bad idea – my skills in this area are weak and our site is on a GoDaddy “virtual host” arrangement which means I’m getting very little help from them. Seriously, should I go ahead and install PHP 5.3.6 with the JSON extension? Or is something else wrong here?

Viewing 5 replies - 31 through 35 (of 35 total)