I just updated to the latest release, and when I try to create a member page, I get the following error message:

Notice: Trying to get property of non-object in node_page_title() (line 2211 of /home1/fireside/public_html/openout/modules/node/node.module).

I do not get the error when trying to create any other kind of content, just member pages.

What do I need to do to fix this? I have just gotten approval from my group for us to use this, and really want to make it work for them. Any assistance you can provide would be greatly appreciated. Thanks!

Todd V.

Comments

afinnarn’s picture

Todd,

I just tried to create a member page on a fresh install of 7.x-1.0-rc11 and didn't get that notice.

Line 2211 is:

function node_page_title($node) {
  return $node->title;
}

Since this is a notice from a Drupal core module, it might have to do with the upgrade to Drupal 7.22. In my opinion, the "notice" is rather benign and is only complaining that the $node parameter in the "node_page_title()" function is not an object.

Are you getting any specific errors? like the page title not showing up? If you don't notice any errors, it's certainly not something to halt your project for.

nedjo’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks @afinnarn for your help in the issue queue!

@firesidelibrarian: are you still seeing this issue? If so, what are the exact steps you're following and at what point does the message appear?

firesidelibrarian’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Sorry for the delay in getting back to you.
The error seems to have quit appearing -- weird.
Thanks for being there!
I'll close the issue.