I am running Drupal 8.3.3 multisite. One of the sites has a problem that was first intermittent but then always. The nginx error below:

2017/05/13 08:36:40 [error] 960#0: *4817 FastCGI sent in stderr: “PHP message: Uncaught PHP Exception InvalidArgumentException: “Field is unknown.” at /var/www/html/drupal/core/lib/Drupal/Core/Entity/ContentEntityBase.php line 509” while reading response header from upstream, client:, server: , request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

In a typical Drupal multisite, each site shares the codebase but has its own database. The site that is experiencing the issue may still need to run database updates after you updated the codebase to Drupal 8.3.3. You can do one of the following:

  1. From the command line, in your Drupal docroot, type: drush updb --uri=http://[your site URL]

  2. Log into the affected site as an administrator, if you can, and point your browser to [your site URL]/update.php

Hope that helps.


An InvalidArgumentException is thrown when a class, function, or closure (for example) does not receive an expected argument type.

The error being logged is stating that, on line 509 of ContentEntityBase.php, this exception is being thrown for one reason or another. It could be an error in core, an issue with a plugin/module, or some other piece of code (if you’ve added anything on your own).

From what I can see, some are reporting that running drush updatedb fixes the issue, which means that it very well could be a database issue, which would make sense since you’re also getting:

Field is unknown

Others state that you may need to update to another version, or downgrade depending on the version you’re currently using.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel