Non-object error when using IPE for front page in 7.x-3.10

Created on 9 July 2020, over 4 years ago
Updated 27 August 2023, over 1 year ago

A new bug was introduced with the code added to render_pane function for IPE in 7.x-3.10. If the user is attempting to perform in-place editing on the front page of a site, the destination is set to "front". This causes the following error to be thrown:

Notice: Trying to get property of non-object in node_page_title() (line 2200 of /modules/node/node.module).

This can be fixed by checking if the current destination is "front", and skipping the evaluation if it is. Please review the attached patch, or let me know if there's a more appropriate way to fix the problem. Thanks.

πŸ› Bug report
Status

Needs review

Version

3.0

Component

In-Place Editor (IPE)

Created by

πŸ‡ΊπŸ‡ΈUnited States ron_s

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024