When I create a node of any content type (article, basic page), I encounter the following warning.
Warning: Creating default object from empty value in node_build_content() (line 1398 of /home/h51/data/www/site/modules/node/node.module).
Notice: Undefined property: stdClass::$nid in node_build_content() (line 1401 of /home/h51/data/www/site/modules/node/node.module).
Notice: Undefined property: stdClass::$type in _node_extract_type() (line 379 of /home/h51/data/www/site/modules/node/node.module).
Notice: Undefined property: stdClass::$nid in node_build_content() (line 1413 of /home/h51/data/www/site/modules/node/node.module).
EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7932 of /home/h51/data/www/site/includes/common.inc).
The error is displayed until I do not delete the node.
I'm using Drupal 7.57, MariaDB 5.5.5, Apache 2.2.22, and PHP 5.4.45.
Issue fork drupal-2951761
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
DRIVE commentedSame exact error here just cropped up after updating to 7.57 - Have updated 5 other sites in past week to 7.57 with no troubles though.
I can use the administration but not any pages and stuff for end/anonymous users.
Comment #3
ykoech commentedThis solved my problem, check it too, it might solve yours.
Comment #6
avpadernoComment #7
avpadernoIt seems this is a duplicate of #2931500: EntityMalformedException: Missing bundle property on entity of type node in entity_extract_ids() line 7929.
Comment #8
avpaderno