I have a node form in a panel page, when saving the form to create a new entity, and I have form validation errors, I get the following error message:

Notice: Undefined property: stdClass::$status in ctools_node_status_ctools_access_check()...

In $context->data the form initially has a status of 0, but after saving with validation errors, status is not available in $context->data.

Comments

smulvih2 created an issue. See original summary.

smulvih2’s picture

Here is a patch that checks if status is empty.

smulvih2’s picture

Issue summary: View changes
joelpittet’s picture

Version: 7.x-1.14 » 7.x-1.x-dev

Thanks @smulvih2, I've committed this to the dev branch.

joelpittet’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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