Skip to:
Content
Pages
Categories
Search
Top
Bottom

Warning: mysql_connect(): / The current user is being initialized without usingg


  • Lumartist
    Participant

    @lumartist

    Hello everyone!

    First let me say, that I am not sure if the problem is coming from bbpress. Please let me know it is a general problem.

    The reason I am posting the problem here is, that it appeared right after todays bbpress-update, and there’s also a reference in the message.

    This is the error message I am reciving (debugging enabled):

    Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50535 Library:50617 in /home/www/xxx/www/wp-includes/wp-db.php on line 1372

    Strict Standards: Redefining already defined constructor for class Tehnik_BBPress_Permissions_Load in /home/www/xxx/www/wp-content/plugins/tehnik-bbpress-permissions/tehnik_bpp_init.php on line 35

    Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /home/www/xxx/www/wp-includes/functions.php on line 3245

    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /home/www/xxx/www/wp-includes/functions.php on line 3245

    Strict Standards: Declaration of BP_Poke_Component::setup_globals() should be compatible with BP_Component::setup_globals($args = Array) in /home/www/xxx/www/wp-content/plugins/bp-poke/bp-poke-component.php on line 57

    Strict Standards: Declaration of BP_Poke_Component::includes() should be compatible with BP_Component::includes($includes = Array) in /home/www/xxx/www/wp-content/plugins/bp-poke/bp-poke-component.php on line 57

    The strange thing is, that I am running an exact mirror of the page and db on a subdomain, where I am testing plugins, etc. There I am not getting the error.

    I did had a search on google, but couldn’t find anything helpful. As I am not a coder or server-tech myself, I am a bit lost here. I did try a few things, like disableing plugins, or enabling another theme. But nothing helped so far.

    Here’s a list of plugins I am using right now:

    • (BuddyDev)BP Poke
    • Advanced Custom Fields
    • bbPress
    • bbPress New Topics
    • BuddyPress
    • CodeStyling Localization
    • iThemes Security
    • Members
    • Regenerate Thumbnails
    • Require Featured Image
    • rtMedia for WordPress, BuddyPress and bbPress
    • Tehnik BBPress Permissions
    • WP Smush.it

    I thought it might be a problem with iThemes Security, so I tryed to disable a few things, and also disabled the whole plugin. But the problem is still the same.

    Thanks for your help in advance!

    Best regards,

    Lumartist

Viewing 2 replies - 1 through 2 (of 2 total)
  • Don’t use WP_DEBUG i.e. define('WP_DEBUG', false); in your wp-cong.php file is the simple answer.

    It will be one of your plugins ‘doing it wrong’

    For more technical details on the error see any/all of this tickets 😉 https://core.trac.wordpress.org/ticket/24169
    https://buddypress.trac.wordpress.org/ticket/4830
    https://bbpress.trac.wordpress.org/ticket/2309


    Lumartist
    Participant

    @lumartist

    Hello Stephen Edgar,

    thanks for your reply. I did turn on WP_DEBUG, as I just got an “error” in the header part of my site. As I wanted to know what’s going on there, I activated WP_DEBUG. I guess the “error” is coming from the “warning”, not the “notices”.

    I already tryed to disable all of my modules, but the error was still there. I am not sure where it is coming from exactly. I also did empty my functions.php, but nothing changed. The error also appears on other themes, not just my custom one.

    I followed your links, but I think my technical understanding is not enough, to understand what the solution is. I am more of a designer than a coder.

    I guess I have to reinstall wordpress completly, but I am a bit afraid, that the error will come back at some point.

    The stange thing, as said, is, that the error does not appear on a mirror installation, which is exactly the same as the main one. Well, sort of. There’re even mor plugins running, for testing purposes.

    Anyway – Thanks for your help so far. I will try a few other things. I also did contact our server admin, as we are running a root server. But I am not sure, that he can help me on this.

    Thanks again, and have a nice sunday. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar