Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I get the following error message when I navigate to a blog page:
Notice: Trying to get property of non-object in blog_menu_local_tasks_alter() (line 155 of /home/communit/public_html/modules/blog/blog.module).
I uninstalled the "me alias" module to ensure this is what was producing the error, and have confirmed that it is.
I reinstalled and then tried to exclude "blogs/*" but the error is still displaying.
Thanks for taking a quick look at this for us.
Comments
Comment #1
mchelenIssue is fixed by editing blog.module from #3 here:
https://drupal.org/node/1160926#comment-5385676
Comment #2
play4quarters CreditAttribution: play4quarters commentedThanks!
I've been trying to figure this one out and #1 solved it for me.
Very appreciated!!!
Comment #3
nohup CreditAttribution: nohup commentedPlease don't modify core blog.module for this bug. This has been fixed in dev, please pull from git or wait till a new dev release is build. See the commit diff at http://drupalcode.org/project/me.git/commitdiff/a252dd52b86ac14700942436... if you wish to apply a patch.
Comment #4
play4quarters CreditAttribution: play4quarters commentedThanks!!!!!
I just installed the updated dev version and it has indeed taken care of the problem (without modification to core blog.module).
Your assistance is greatly appreciated.
Comment #6
kaweah CreditAttribution: kaweah commentedFYI: 6+ months later, I'm also using the dev version. Release 7.x-1.1 appears to have the bug, and that's still the current release as of Jan 19, 2013.