• I can’t reach my site since updating to 3.1.
    In my logfile I see this:

    [error] WordPress database error Table ‘mydatabase_bs.wp_recent_activity’ doesn’t exist for query INSERT INTO wp_recent_activity VALUES (”, ’10’, ‘1298822743’) made by require, require_once, include, Ajax->mark_post_read

    I tried renaming my plugin folder, and I manually “re-“updated the wp-admin and wp-includes folders, but no luck..

    Anyone an idea?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter inTOWN

    (@intown)

    If I go to https://www.mysite.com/wp-includes/update.php I get:

    Fatal error: Call to undefined function is_main_site() in /pathtomywebsite/public_html/web/wp-includes/update.php on line 355

    Thread Starter inTOWN

    (@intown)

    “Fixed” by commenting out:

    //if ( ! is_main_site() )
    	//return;
    
    //add_action( 'admin_init', '_maybe_update_core' );
    //add_action( 'wp_version_check', 'wp_version_check' );
    
    //add_action( 'load-plugins.php', 'wp_update_plugins' );
    //add_action( 'load-update.php', 'wp_update_plugins' );
    //add_action( 'load-update-core.php', 'wp_update_plugins' );
    //add_action( 'admin_init', '_maybe_update_plugins' );
    //add_action( 'wp_update_plugins', 'wp_update_plugins' );
    
    //add_action( 'load-themes.php', 'wp_update_themes' );
    //( 'load-update.php', 'wp_update_themes' );
    //add_action( 'load-update-core.php', 'wp_update_themes' );
    //add_action( 'admin_init', '_maybe_update_themes' );
    //add_action( 'wp_update_themes', 'wp_update_themes' );
    
    //add_action('init', 'wp_schedule_update_checks');

    in wp-includes/update.php

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    inTOWN – Are you using WordPress MultiSite?

    You SHOULD NOT need to ever hack core to fix things, and the update.php just runs the updates…

    Thread Starter inTOWN

    (@intown)

    No, it’s not WPMU…
    You’re right, but this at least made my website reachable again.
    I hope someone comes up with the real fix…

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    It’s multisite, not WPMU ??

    And that’s the thing: is_main_site() is for MultiSite.

    Can you try manually upgrading again? This time DELETE wp-admin and wp-includes before uploading?

    Thread Starter inTOWN

    (@intown)

    It’s not a multi site neither ?? But… I do use WPML (languages). Might that be the problem?

    I will do what you said and let you know the results…

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Ah. Yeah, people have been reporting issues with qtranslate and WPML with 3.1.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can't reach site since update to 3.1’ is closed to new replies.