Title: Fatal error: Cannot redeclare format_string_for_js()
Last modified: August 20, 2016

---

# Fatal error: Cannot redeclare format_string_for_js()

 *  Resolved [andreaslenniger](https://wordpress.org/support/users/andreaslenniger/)
 * (@andreaslenniger)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-format_string_for_js/)
 * Cannot insert forms in page/post with message:
 * Fatal error: Cannot redeclare format_string_for_js() (previously declared in /
   www/htdocs/w009816d/wordpress/wp-content/plugins/wordpress-form-manager/helpers.
   php:3) in /www/htdocs/w009816d/wordpress/wp-content/plugins/wordpress-form-manager/
   helpers.php on line 5
 * UNinstall / REinstall (manual and from dashboard) doesn’t solve the prob. Error
   occurs directly after installaion, when I try to add FORM in Editor.
 * Thanks for aour support.

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

 *  Plugin Author [hoffcamp](https://wordpress.org/support/users/hoffcamp/)
 * (@hoffcamp)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-format_string_for_js/#post-2268629)
 * Are there any other plugins installed? I tried to recreate the error but couldn’t.
   For now you could just type in the shortcode. The format is simple, if your form’s
   slug is ‘form-1’, then you would type ‘[form form-1]’ in your post/page and the
   form will appear in that spot.
 *  Thread Starter [andreaslenniger](https://wordpress.org/support/users/andreaslenniger/)
 * (@andreaslenniger)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-format_string_for_js/#post-2268634)
 * Yes, there are other plugins. I deactivated them step by step, but nothing changed.
   
   So I setted up a fresh WP … and it works ! So, thanks for your hint ! Sp there
   is something wrong with my first installation. Any idea how I can figure it out?
   I want to avoid to export all sides, posts etc. and set up everthing new. Many
   thanks !

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-form-manager.svg)
 * [Form Manager](https://wordpress.org/plugins/wordpress-form-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-form-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-form-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-form-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-form-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-form-manager/reviews/)

## Tags

 * [format](https://wordpress.org/support/topic-tag/format/)
 * [redeclare](https://wordpress.org/support/topic-tag/redeclare/)
 * [string](https://wordpress.org/support/topic-tag/string/)

 * 2 replies
 * 2 participants
 * Last reply from: [andreaslenniger](https://wordpress.org/support/users/andreaslenniger/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-format_string_for_js/#post-2268634)
 * Status: resolved