WordPress.org

Forums

Maintenance
[resolved] Warning lines (10 posts)

  1. dave01
    Member
    Posted 2 years ago #

    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/

  2. Cyrus_888
    Member
    Posted 2 years ago #

    Hi dave01, I have the same problem. Have your problem been resolved?

  3. dave01
    Member
    Posted 2 years ago #

    Hi!

    Nope, ;-(
    It seems not to affect the normal function of the website but..it´s ugly to have thtat lines there.

  4. stevebconnect
    Member
    Posted 2 years ago #

    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

  5. Fruitful Code
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  6. girlapp
    Member
    Posted 2 years ago #

    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.

  7. stevebconnect
    Member
    Posted 2 years ago #

    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

  8. Fruitful Code
    Member
    Plugin Author

    Posted 1 year ago #

    Fixed!

  9. beltex
    Member
    Posted 1 year ago #

    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

  10. klehner
    Member
    Posted 1 year ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Maintenance
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags