By drz
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: 72.80.138.114, server: , request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “www.archiveofdisability.org”
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!
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:
From the command line, in your Drupal docroot, type: drush updb --uri=http://[your site URL]
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.