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

mchelen’s picture

Issue is fixed by editing blog.module from #3 here:
https://drupal.org/node/1160926#comment-5385676

play4quarters’s picture

Thanks!

I've been trying to figure this one out and #1 solved it for me.

Very appreciated!!!

nohup’s picture

Status: Active » Fixed

Please 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.

play4quarters’s picture

Thanks!!!!!

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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kaweah’s picture

FYI: 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.