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 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
Comment #1
afinnarn CreditAttribution: afinnarn commentedTodd,
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:
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.
Comment #2
nedjoThanks @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?
Comment #3
firesidelibrarian CreditAttribution: firesidelibrarian commentedSorry 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.