WORKAROUND FOR POSTRATINGS 1.30 USERS UNDER WORDPRESS 2.51 AND PHP 4.xIt's well known that the latest release of Postratings (1.30) sports little issues when used within a Wordpress 2.51 setup in a PHP 4.x environment, since it's meant to be used in a PHP
5.x environment. The most evident issue is the notorious behaviour of the Postrating' sidebar widget, which declares an impressive string of "MBCS" warnings able to totally spoil the look of your webpages. Aside from the warnings, Postratings works like a breeze even with PHP 4.x, it's just matter of getting rid of these annoying warnings.
If your provider cannot upgrade your PHP to the 5.x release, or if you somehow like to avoid this upgrade, and still want to use the amazing Postratings plugin for the Wordpress 2.51 release, there is a little hack to hide the loooooooong list of "MBCS" warnings you always get when enabling the sidebar widget: just open your home.php file (you can find it in the home folder of your current wordpress theme) and paste this snippet at the beginning of the php code:
error_reporting(0);That's all. This will prevent the server to cast the awful warnings on your beautiful site's pages
Please, know that this is not a solution, it's just a workaround to have your pages free of garbage, useless for your blog's users. The best way to actually solve the problem is still
upgrade to PHP 5.x.
NOTE: if your server records error logs, please remember to clean them frequently, I suppose they're going to grow very fast with the tons of warnings always generated for every single page showing the widget visited on your blog...
Hope this helps, just my 2 cents for the issue...