Title: Fatal error: Cannot redeclare
Last modified: August 30, 2016

---

# Fatal error: Cannot redeclare

 *  [ankitseth](https://wordpress.org/support/users/ankitseth/)
 * (@ankitseth)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-18/)
 * Hi,
 * I am getting an error message when i try to access the website login page.
    [http://www.activitydeck.com/login/](http://www.activitydeck.com/login/)
 * The message says “Fatal error: Cannot redeclare pinnacle_get_wc_version() (previously
   declared in /home/activity123/public_html/wp-content/themes/pinnacle/lib/scripts.
   php:37) in /home/activity123/public_html/wp-content/themes/pinnacle/lib/scripts.
   php on line 37”
 * I don’t have a lot of coding experience. Any ideas what might be causing this
   error. Any help would be appreciated.
 * [https://wordpress.org/plugins/theme-my-login/](https://wordpress.org/plugins/theme-my-login/)

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

 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-18/#post-6442883)
 * Well, the error isn’t related to TML.
 *  Thread Starter [ankitseth](https://wordpress.org/support/users/ankitseth/)
 * (@ankitseth)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-18/#post-6442884)
 * Hi Jeff,
 * Thanks for the reply. I started getting the error upon installation of TML and
   it got resolved on removing the plugin so I assumed it might be related to the
   plugin.
 * Do you think this error is related to the theme? I will post my question on the
   relevant forum.
 * Thanks,
    Ankit
 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-18/#post-6442885)
 * >  The message says “Fatal error: Cannot redeclare pinnacle_get_wc_version() (
   > previously declared in /home/activity123/public_html/wp-content/themes/**pinnacle**/
   > lib/scripts.php:37) in /home/activity123/public_html/wp-content/themes/**pinnacle**/
   > lib/scripts.php on line 37″
 *  Thread Starter [ankitseth](https://wordpress.org/support/users/ankitseth/)
 * (@ankitseth)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-18/#post-6442886)
 * Thanks Jeff!

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

The topic ‘Fatal error: Cannot redeclare’ is closed to new replies.

 * ![](https://ps.w.org/theme-my-login/assets/icon-256x256.png?rev=1891232)
 * [Theme My Login](https://wordpress.org/plugins/theme-my-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-my-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-my-login/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-my-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-my-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-my-login/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [tml](https://wordpress.org/support/topic-tag/tml/)

 * 4 replies
 * 2 participants
 * Last reply from: [ankitseth](https://wordpress.org/support/users/ankitseth/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-18/#post-6442886)
 * Status: not a support question