Title: Warning lines
Last modified: August 20, 2016

---

# Warning lines

 *  Resolved [dave01](https://wordpress.org/support/users/dave01/)
 * (@dave01)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/warning-lines/)
 * Hi!
 * I receive this warnings in the same page of the plugin.
 * **Warning: trim() expects parameter 1 to be string, array given in /usr/home/
   ventick.com/web/wp-includes/capabilities.php on line 540**
 * Warning: trim() expects parameter 1 to be string, array given in /usr/home/ventick.
   com/web/wp-includes/capabilities.php on line 540
 * Warning: mysql_real_escape_string() expects parameter 1 to be string, array given
   in /usr/home/ventick.com/web/wp-includes/wp-db.php on line 885
    Login
 * And when im login i receive this:
 * **Warning: trim() expects parameter 1 to be string, array given in /usr/home/
   ventick.com/web/wp-includes/capabilities.php on line 540**
 * Warning: trim() expects parameter 1 to be string, array given in /usr/home/ventick.
   com/web/wp-includes/capabilities.php on line 540
 * Warning: mysql_real_escape_string() expects parameter 1 to be string, array given
   in /usr/home/ventick.com/web/wp-includes/wp-db.php on line 885
 * Warning: Cannot modify header information – headers already sent by (output started
   at /usr/home/ventick.com/web/wp-includes/capabilities.php:540) in /usr/home/ventick.
   com/web/wp-includes/pluggable.php on line 680
 * Warning: Cannot modify header information – headers already sent by (output started
   at /usr/home/ventick.com/web/wp-includes/capabilities.php:540) in /usr/home/ventick.
   com/web/wp-includes/pluggable.php on line 681
 * Warning: Cannot modify header information – headers already sent by (output started
   at /usr/home/ventick.com/web/wp-includes/capabilities.php:540) in /usr/home/ventick.
   com/web/wp-includes/pluggable.php on line 682
 * Warning: Cannot modify header information – headers already sent by (output started
   at /usr/home/ventick.com/web/wp-includes/capabilities.php:540) in /usr/home/ventick.
   com/web/wp-includes/pluggable.php on line 876
 * Do you know what could be?
 * [http://wordpress.org/extend/plugins/maintenance/](http://wordpress.org/extend/plugins/maintenance/)

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

 *  [Cyrus_888](https://wordpress.org/support/users/cyrus_888/)
 * (@cyrus_888)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/warning-lines/#post-3615113)
 * Hi dave01, I have the same problem. Have your problem been resolved?
 *  Thread Starter [dave01](https://wordpress.org/support/users/dave01/)
 * (@dave01)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/warning-lines/#post-3615120)
 * Hi!
 * Nope, ;-(
    It seems not to affect the normal function of the website but..it´
   s ugly to have thtat lines there.
 *  [stevebconnect](https://wordpress.org/support/users/stevebconnect/)
 * (@stevebconnect)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/warning-lines/#post-3615180)
 * Well looks like no help here as this what i gwet
 * Warning: trim() expects parameter 1 to be string, array given in /home/getaconn/
   public_html/wp-includes/capabilities.php on line 540
 * Warning: trim() expects parameter 1 to be string, array given in /home/getaconn/
   public_html/wp-includes/capabilities.php on line 540
 * Warning: mysql_real_escape_string() expects parameter 1 to be string, array given
   in /home/getaconn/public_html/wp-includes/wp-db.php on line 885 that when i go
   to login page
    and after i put in my login info i get this
 * Warning: trim() expects parameter 1 to be string, array given in /home/getaconn/
   public_html/wp-includes/capabilities.php on line 540
 * Warning: trim() expects parameter 1 to be string, array given in /home/getaconn/
   public_html/wp-includes/capabilities.php on line 540
 * Warning: mysql_real_escape_string() expects parameter 1 to be string, array given
   in /home/getaconn/public_html/wp-includes/wp-db.php on line 885
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/getaconn/public_html/wp-includes/capabilities.php:540) in /home/getaconn/
   public_html/wp-includes/pluggable.php on line 680
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/getaconn/public_html/wp-includes/capabilities.php:540) in /home/getaconn/
   public_html/wp-includes/pluggable.php on line 681
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/getaconn/public_html/wp-includes/capabilities.php:540) in /home/getaconn/
   public_html/wp-includes/pluggable.php on line 682
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/getaconn/public_html/wp-includes/capabilities.php:540) in /home/getaconn/
   public_html/wp-includes/pluggable.php on line 876
 * but not login to admin so i have no glue why
 * any help or pointers here
 * thanks
 *  [Fruitful Code](https://wordpress.org/support/users/fruitfulcode/)
 * (@fruitfulcode)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/warning-lines/#post-3615181)
 * Hello guys
 * Sorry for issue. We need some information.
 * What other plugins do you use? We have issue with oldest versions woocommerce
   plugin.
 * Also our plugin use template redirect function which can make a problems.
 *  [girlapp](https://wordpress.org/support/users/girlapp/)
 * (@girlapp)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/warning-lines/#post-3615183)
 * I just installed this plugin and I am also getting this issue.
 * The warning I am getting is “Warning: Missing argument 2 for wp_login_callback()
   in /home/…wp-content/plugins/wp-eMember/eMember_auth_utils.php on line 34”
 * I am using eMember plugin, but I deactivated it and it didn’t seem to resolve
   the problem.
 *  [stevebconnect](https://wordpress.org/support/users/stevebconnect/)
 * (@stevebconnect)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/warning-lines/#post-3615184)
 * The problem is a conflit one with your theme or another plugin
    you will need
   to delet the plugin and all fils to that plugin then may reinsall the theme this
   should work. the trick is to recall what and when
 * eg- when the theme work well what was added and when it fail to work and then
   delet the plugin that failed the theme
 * i hope this helps
 *  [Fruitful Code](https://wordpress.org/support/users/fruitfulcode/)
 * (@fruitfulcode)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/warning-lines/#post-3615190)
 * Fixed!
 *  [beltex](https://wordpress.org/support/users/beltex/)
 * (@beltex)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/warning-lines/#post-3615191)
 * i have the same error but with limit failed login plugin, did i read correctly
   that i should not use that then?
 * Thats more important then a pretty maintainance mode
 *  [klehner](https://wordpress.org/support/users/klehner/)
 * (@klehner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/warning-lines/#post-3615193)
 * We’re having this exact same issue (the woo theme we’re using is Spectrum) but
   after reading through the comments I’m still confused as to how to solve this
   problem. Do I need to deactivate all my plugins? Or re-install the theme? Is 
   there a particular plugin that is causing this?

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

The topic ‘Warning lines’ is closed to new replies.

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

## Tags

 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 9 replies
 * 7 participants
 * Last reply from: [klehner](https://wordpress.org/support/users/klehner/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/warning-lines/#post-3615193)
 * Status: resolved