geetarista
Member
Posted 6 years ago #
I get this error when trying to upgrade:
WordPress database error: [Table 'robbycol_wrdp1.wp_usermeta' doesn't exist]
SELECT meta_key, meta_value FROM wp_usermeta WHERE user_id = '1'
Warning: Cannot modify header information - headers already sent by (output started at /home/robbycol/public_html/wp-includes/wp-db.php:102) in /home/robbycol/public_html/wp-admin/upgrade.php on line 10
What should I do?
geetarista
Member
Posted 6 years ago #
Nevermind!
I did a refresh and the error went away. Cool!
Thanks for posting what worked for you!
Sphagnum
Member
Posted 6 years ago #
I get the same error on my blog, refreshing doesn't make it go away. I edited the new wp-config file and same thing:
<p class='wpdberror'>WordPress database error: [Table 'aarvan01_wrdp1.wp_usermeta' doesn't exist]
SELECT meta_key, meta_value FROM wp_usermeta WHERE user_id = '1'
And you ran upgrade.php ? It should work after running it.
geetarista
Member
Posted 6 years ago #
That's where the error shows up. Right above the box in upgrade.php.
Can't check it out - you should wrap your calls to plugins with "if (function_exists('blah'))" conditionals to avoid such errors when not activated.
Good point Beel .... I'll post that.
Sphagnum
Member
Posted 6 years ago #
Thanks for pointing out the obvious, Beel... It works fine now
Sphagnum
Member
Posted 6 years ago #
Hm, that reads kinda sarcastic... Not meant to be, I just mean I was stupid for not doing that already. Thanks Beel
kunstao
Member
Posted 5 years ago #
in my blog http://tao.kaoart.info (in chinese)has also yet with this upgrade WordPress database error,but I used the newest version,
why?
http://tao.kaoart.info/