Title: Error When Leads is Enabled
Last modified: August 22, 2016

---

# Error When Leads is Enabled

 *  Resolved [mixing](https://wordpress.org/support/users/mixing/)
 * (@mixing)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-when-leads-is-enabled/)
 * Running Version 4.0 of WordPress and 1.5.1 of WordPress Leads.
 * For some reason, when I only have the WordPress Landing Pages plugin enabled –
   everything works fine. However, once I enable WordPress Leads (which is required
   for managing emails..etc) I begin seeing this error:
 * Warning: Cannot use a scalar value as an array in /home/xxxxxx/public_html/wp-
   includes/class.wp-scripts.php on line 167
 * It shows up when editing a form and at the top of my landing pages when previewing
   them. Once again, as soon as I disable WordPress Leads and begin editing forms,
   viewing landing pages..etc – everything is fine. Once this is enabled I start
   seeing that error everywhere.
 * Any ideas?
 * [https://wordpress.org/plugins/leads/](https://wordpress.org/plugins/leads/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [David Wells](https://wordpress.org/support/users/davidwells/)
 * (@davidwells)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-when-leads-is-enabled/#post-5371656)
 * There was a soft update pushed to the plugin repository just now to fix this.
 * Please delete your current version and reinstall. (this will not remove your 
   leads or stats)
 * Alternatively you could turn off PHP error messages and not see this.

Viewing 1 replies (of 1 total)

The topic ‘Error When Leads is Enabled’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/leads_6e6e6e.svg)
 * [WordPress Leads](https://wordpress.org/plugins/leads/)
 * [Support Threads](https://wordpress.org/support/plugin/leads/)
 * [Active Topics](https://wordpress.org/support/plugin/leads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leads/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [David Wells](https://wordpress.org/support/users/davidwells/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/error-when-leads-is-enabled/#post-5371656)
 * Status: resolved