Here is a very serious bug I came across. It seems to dump the database to the screen, beginning with all the admin settings.
See if you can replicate it with the following steps:
1) Have a user blog in moderation queue.
2) As admin, in admincp delete the user who has blogs in moderation queue.
You should get an error in admincp when you do this as follows:
"Fatal error: Call to a member function query_read() on a non-object in class_dm_blog_user.php on line 218"
Now go to your website frontend and go to blogs section.
It will give an error: "Fatal error: is_member_of_blog(): $bloginfo['permissions'] not defined. in [path]/includes/blog_functions_shared.php on line 275"
And then it will begin to dump all sorts of database information to the screen. It only did it for me as an admin, not as a guest. Guest showed the page correctly. But as admin it didn't. I did not test as normal registered user.
See if you can replicate it with the following steps:
1) Have a user blog in moderation queue.
2) As admin, in admincp delete the user who has blogs in moderation queue.
You should get an error in admincp when you do this as follows:
"Fatal error: Call to a member function query_read() on a non-object in class_dm_blog_user.php on line 218"
Now go to your website frontend and go to blogs section.
It will give an error: "Fatal error: is_member_of_blog(): $bloginfo['permissions'] not defined. in [path]/includes/blog_functions_shared.php on line 275"
And then it will begin to dump all sorts of database information to the screen. It only did it for me as an admin, not as a guest. Guest showed the page correctly. But as admin it didn't. I did not test as normal registered user.
Comment