• I just upgraded to WordPress 2.3 and am running into two errors.

    1) along the top of the dashboard page, I have the following error:

    Warning: array_keys(): The first argument should be an array in /home/content/h/a/t/hatesong/html/wp-admin/includes/plugin.php on line 345

    Any idea what it means and how I fix it. It’s not affecting anything as far as I can see, but who knows.

    2) I seem to have lost all my posts! I have nearly 300 posts that seem to have disappeared. Is there something I can do to get them to reappear, or have I screwed myself here?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Well you have a backup, correct? If so, then you have a fallback position. If you dont’ have a backup, check with your host to see if they have one.

    Now with that out of the way…
    1. What version did you upgrade from?
    2. Why aren’t you upgrading to 2.3.2?
    3. Did you disable all plugins before starting the upgrade?
    4. What did you use to upload WordPress to your site? FTP? Did you use ASCII mode to upload the files?

    Thread Starter fredhate

    (@fredhate)

    If I were smart, I would have a back up. I will check with my host. I’m hosting with Godaddy, so I’m betting they don’t.

    1. I upgraded from 2.0.5 I believe.
    2. Apologies for the first post. I did upgrade to 2.3.2.
    3. I disabled the plugins before.
    4. FTPed. Just checked and it was set to auto/binary.

    Thread Starter fredhate

    (@fredhate)

    UPDATE: I reuploaded everything in ASCII and the Dashboard error is gone. However, my posts are still MIA.

    Godaddy should have a backup–if I remember correctly.

    Posts are in the wp_posts table–use phpMyAdmin to look at those records. You can access that in Godaddy by clicking on the Open Manager link next to your database,under the MySQL databases.

    Thread Starter fredhate

    (@fredhate)

    Ok, I can see that they’re all still there.

    But, what do I do?

    Change to the WordPress Default 1.6 theme.

    Disable plugins, one-by-one, until you see all your posts. Your narchive.php page seems to show all the posts when filtering for All Years.

    Also, looks like you’ve got at least one post with a ‘bad’ (or zero) post_date (or post_date_gmt).

    Finally, make sure your theme and plugins are the ‘latest’ versions and compatible with 2.3.x.

    infopage

    (@infopage)

    What if posts are no longer in admin and phpMyAdmin says:

    SHOW INDEX FROM wp_posts ;

    MySQL said:

    #1194 – Table ‘wp_posts’ is marked as crashed and should be repaired

    How do I make the repairs???

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

The topic ‘Dashboard Error and Posts Gone?’ is closed to new replies.