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

Command icon 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

Alexleb created an issue. See original summary.

DRIVE’s picture

Same 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.

ykoech’s picture

This solved my problem, check it too, it might solve yours.

Version: 7.57 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

izmeez made their first commit to this issue’s fork.

avpaderno’s picture

Issue summary: View changes
avpaderno’s picture

Status: Active » Closed (duplicate)