In dev version downloaded today from cgit:

When saving and publishing content (of a type with Title, date, Body)

Notice: Undefined property: Drupal\Core\TypedData\Plugin\DataType\StringData::$target_id in Drupal\Core\Entity\Plugin\Validation\Constraint\ValidReferenceConstraintValidator->validate() (line 74 of core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraintValidator.php).
Drupal\Core\Entity\Plugin\Validation\Constraint\ValidReferenceConstraintValidator->validate(Object, Object)
Drupal\Core\TypedData\Validation\RecursiveContextualValidator->validateConstraints(Object, '000000006a2d1f570000000176098b51', Array)

Comments

iainH created an issue. See original summary.

iainH’s picture

Should add:

  1. PHP fatal caused WSOD
  2. PHP Fatal error: Call to undefined method Drupal\Core\TypedData\Plugin\DataType\StringData::isEmpty() in /Users/iainhouston/Documents/web/Drupal-dev-sites/platform_ba/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraintValidator.php on line 78
  3. Nodes of this content type were previously successfully created before Simplemnews installed and content type used as a simpleness newsletter. So it would seem that Simpleness added something that caused the server failure code 500
mbaynton’s picture

Title: Notice: Undefined property » Saving newsletters cause WSOD

Also just got bit by this. My wife lost a half hour working on a newsletter before she first went to save it. The upgrade to core 8.0.0 broke it, formerly running RC1.

Editing title as this is mostly a data-losing fatal error, not a notice.

Berdir’s picture

Category: Bug report » Support request
Status: Active » Fixed

Make sure that you update to the latest dev version, this is a last-minute change in Drupal core before 8.0.0. I'll do a new release soon.

Berdir’s picture

Sorry, I noticed that I actually hadn't push that fix yet.

I've done that now and also released alpha2: https://www.drupal.org/node/2621148

mbaynton’s picture

Yay, fixed already! Thank you, @berdir!

Status: Fixed » Closed (fixed)

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