Trying to get property of non-object


Hi Thierry, when using beans, I get the following warning when accessing my Wordpress site (even with default beans template) with DEBUG enabled:

Notice: Trying to get property of non-object in /home/user/public_html/wp-includes/comment-template.php on line 1153

This happens when there is no existing post in my blog.

I think there is some test missing in beans somewhere, but I am not sure.

Thanks.


Hey Marc,

This has been fixed in this commit, so you can either pull from the Beans development repo or apply the fix manually which won't be an issue since it will apply next time you update.

The next beta release is planned for next week and stable the following if everything goes to plan.

Thanks,


Write a reply

Login or register to write a reply, it's free!