• Hello!
    My website suddenly shows this error msg (among others) and I don’t know what to do. Can anybody give me a hand, please? Really appreciate that.

    Strict Standards: Redefining already defined constructor for class wpdb in /home/iccv/institutocidadeviva.org.br/inventarios/sistema/wp-includes/wp-db.php on line 57

    The website: http://www.institutocidadeviva.org.br/inventarios/

    Thank you again,
    Cláudio Vieira

Viewing 5 replies - 1 through 5 (of 5 total)
  • Sounds like you have a bad plugin or theme. Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter olaedu

    (@olaedu)

    The problem is that I can’t log in. Any clue?

    Try:
    – switching to the default theme automatically by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.

    resetting the plugins folder by FTP or phpMyAdmin.

    I am too facing same problem .Few days ago server, where this blog is hosted,was upgraded to PHP 5.4 .
    I haven’t installed any plugins there but I am seeing some bunch of errors there .
    I am neither able to login too .

    Strict Standards: Redefining already defined constructor for class wpdb in /public_html/blog/wp-includes/wp-db.php on line 49
    
    Deprecated: Assigning the return value of new by reference is deprecated in /public_html/blog/wp-includes/cache.php on line 36
    
    Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /public_html/blog/wp-includes/cache.php on line 403
    
    Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl($output) in /public_html/blog/wp-includes/classes.php on line 531

    Strict Standards: Redefining already defined constructor for class wpdb in /public_html/blog/wp-includes/wp-db.php on line 49


    To solve it error, go to the file /public_html/blog/wp-includes/wp-db.php and comment the lines:

    #function wpdb($dbuser, $dbpassword, $dbname, $dbhost) {
    # return $this->__construct($dbuser, $dbpassword, $dbname, $dbhost);
    #}

    Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /public_html/blog/wp-includes/cache.php on line 403


    To solve it error, go to the file /public_html/blog/wp-includes/cache.php and comment the lines:

    #function WP_Object_Cache() {
    # return $this->__construct();
    #}

    Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl($output) in /public_html/blog/wp-includes/classes.php on line 531


    To solve it, take a look at the http://codex.ww.wp.xz.cn/Class_Reference/Walker and change your code.

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

The topic ‘Strict Standards: Redefining already defined constructor for class wpdb – help!’ is closed to new replies.