Hi Dan,
Thank you for reporting. That seems very strange. I always run the development install in debug mode.
Yet, I did not check the specific setup(Setting activity as home page). Going to do it now and will report back.
Thank you
Brajesh
Yes, It is happening when Activity is set as home page. Looking at now.
It is caused by a call to body_class() in the template. I am looking further to resolve it.
Thread Starter
danbp
(@danbp)
Thank you for your reactivity.
I found this bug only because i use different installs, all in debug mode, but with different theme/plugin.
So i had suddenly a working and a not working install with mediapress, on the same server.
After activating/deactivating plugins and themes without result, the only other possibility was to check WP’s settings, which leaded me finally to Read and the homepage page.
Meanwhile i tested also the other BP component pages (members, groups and even the one assigned to BuddyDrive), with the same notice.
Hi Dan,
Thank you. It is a great help to understand the issue.
I was able to fix it on create and other pages but the pagination pages for user is still throwing the error.
I am waiting to do a few more tests, seems like the post reset is not doing its job properly for the actions leading to null value for get_queried_object() and that is why the notices are being thrown. Will keep you updated.
Thank you
Brajesh
Thread Starter
danbp
(@danbp)
Hello Brajesh,
this was an issue in BP too. Perhaps these BP ticket, WP ticket can help you ?
To support readers: the issue handled here is a minor one. If you don’t activate wp_debug, you won’t probably see a notice. 😉
Hi Dan,
Thank you. My apologies for the delayed reply.
It is almost related to the issue.
I have pushed an updated version today on github that fixes notices(pagination is still there). I will be devoting more time on this specific issue on Thursday and will have more details/solution then.
Thank you
Brajesh