I updated from WP 2.1 to 2.2, but it seems the version of PHP on my shared server (4.3.11) isn’t compatible with some of the changes made in the 2.2 release.
I was brave, delved into the WP code, and was able to fix some of them, enough to have the blog be somewhat functional ,but at this point I’ve given up and I’m hoping WP will release a fix soon. (I don’t feel like fixing the Widget Admin JavaScript!)
Anybody have any idea what is the REAL minimum requirements for WP 2.2 are?
PROBLEMS.
‘Array’ showing up all over the place on the admin for WP.
FIXED
It seems that these are caused by uninstantiated fields of an object being printed out. A var_dump() of these uninstantiated fields returns Array(0){}. There’s probably a lot of these lying around the WP interface, but I fixed some of the most important ones that were preventing me from publishing posts and chaning viewing the Users admin page.
Illegal offset type errors on the sidebar of my blog.
FIXED
These were caused by a similar problem. Uninstantiated paramaters in certain functions in cache.php were not being assigned the default value; instead they were being read as array, thus the Illegal Offset Type error (array vars can’t be used as keys)
So now I don’t have those sidebar erros on my WP 2.2, and I can also publish. BUTT the Widgets admin doesn’t work because of some JS errors that I don’t really want to figure out.
Or maybe I should….
Anywho, if someone does, please let me know! Also if you’d like the fixes I made just let me know.