Title: [Plugin: Broken Link Checker] Activation error
Last modified: August 20, 2016

---

# [Plugin: Broken Link Checker] Activation error

 *  [Anticosti](https://wordpress.org/support/users/anticosti/)
 * (@anticosti)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-activation-error/)
 * Hi!
    Always getting this error when trying to activate Broken Link Checker:
 * Fatal error: Cannot redeclare add_screen_meta_link() (previously declared in /
   home/user/public_html/site/wp-content/plugins/broken-link-checker/includes/screen-
   meta-links.php:256) in /home/user/public_html/site/wp-content/plugins/gantry/
   admin/screen-meta-links.php on line 205
 * Kind Regards,
 * [http://wordpress.org/extend/plugins/broken-link-checker/](http://wordpress.org/extend/plugins/broken-link-checker/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-activation-error/#post-2774347)
 * I get this error as well. It’s because there’s another plugin of your using a
   copy of the screen-meta-links.php file.
 * The fix for now and hopefully that will be included soon is to open screen-meta-
   links.php and move the `endif;` to just before the `?>` at file end.
 *  Thread Starter [Anticosti](https://wordpress.org/support/users/anticosti/)
 * (@anticosti)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-activation-error/#post-2774354)
 * Thank you Michael for your support.
    I fixed it as you suggested + I also had
   to remove a function from gantry/admin/screen-meta-links.php :
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Working now 🙂
 * Cheers,
 *  [hedera](https://wordpress.org/support/users/hedera/)
 * (@hedera)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-activation-error/#post-2774469)
 * 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!
 *  [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-activation-error/#post-2774470)
 * What’s the error message?
 *  [hedera](https://wordpress.org/support/users/hedera/)
 * (@hedera)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-activation-error/#post-2774471)
 * 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.
 *  [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-activation-error/#post-2774472)
 * In `wp-content/plugins/gantry/admin/screen-meta-links.php`, move the endif; to
   the file end as well.
 *  [hedera](https://wordpress.org/support/users/hedera/)
 * (@hedera)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-activation-error/#post-2774473)
 * I did move the endif; to the file end. It didn’t eliminate the error.
 * The error didn’t go away until I removed the last function in the file. It was
   late and I was trying to finish something, the error was preventing me from doing
   ANYTHING in my admin console. I didn’t have the energy to debug the php.
 *  [hedera](https://wordpress.org/support/users/hedera/)
 * (@hedera)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-activation-error/#post-2774506)
 * I thought this was fixed, then I came back from vacation and ran a bunch of plug-
   in updates on my site, and the error came back:
 * 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 had the solutions from this thread, of course, but they didn’t work this time.
   As far as I can tell, both Gantry and the Broken Link Checker use the SAME file,
   _screen\_meta\_links.php_, written by Janis Elsts. But Gantry is using a 2010
   version, and BLC uses a 2011 update. I compared the files in WinMerge to discover
   this. The file contents are now so different that moving the endif; no longer
   corrects the problem. I’ve had a problem open in the RocketTheme forum since 
   August and no one has responded. Anyone here got any suggestions?
 *  [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-activation-error/#post-2774507)
 * I would suggest removing Gantry’s inclusion of the screen_meta_links.php.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘[Plugin: Broken Link Checker] Activation error’ is closed to new replies.

 * ![](https://ps.w.org/broken-link-checker/assets/icon-256x256.png?rev=2900468)
 * [Broken Link Checker](https://wordpress.org/plugins/broken-link-checker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/broken-link-checker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/broken-link-checker/)
 * [Active Topics](https://wordpress.org/support/plugin/broken-link-checker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/broken-link-checker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/broken-link-checker/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-activation-error/#post-2774507)
 * Status: not resolved