By drz
I created a new content type for www.miridians.org and suddenly got an nginx. I was able to remove the content type, but the error peristed. I went to /var/nginx/error.log and got this message. How do I fix the error
" at /var/www/html/drupal/core/lib/Drupal/Core/Database/Conn" while reading response header from upstream, client: 108.14.88.246, server: , request: “GET /admin/content HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “www.miridians.org”, referrer: “http://www.miridians.org/admin/structure/types” 2017/11/06 03:51:10 [error] 935#0: *34356 FastCGI sent in stderr: "PHP message: Uncaught PHP Exception Drupal\Core\Database\DatabaseExceptionWrapper: “SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘revision.revision_user’ in ‘field list’: SELECT revision.vid AS vid, revision.langcode AS langcode, revision.revision_user AS revision_user, revision.revision_created AS revision_created, revision.revision_log_message AS revision_log_message, base.nid AS nid, base.type AS type, base.uuid AS uuid, CASE base.vid WHEN revision.vid THEN 1 ELSE 0 END AS isDefaultRevision FROM {node} base INNER JOIN {node_revision} revision ON revision.vid = base.vid WHERE base.nid IN (:db_condition_placeholder_0); Array ( [:db_condition_placeholder_0] => 1 ) " at /var/www/html/drupal/core/lib/Drupal/Core/Database/Connection.php line 686” while reading response header from upstream, client: 108.14.88.246, server: , request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “www.miridians.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!
The root cause of your error appears to be that the code expects a database table column that is not actually in your database. Did you update your code (either core or contrib modules) recently? You may need to invoke update.php.
Try pointing your browser at [your site]/update.php and see if any updates need to be performed.
If that is not the problem, is there anything in your status report? (Navigate to Reports -> Status Report or point your browser at /admin/reports/status).
On a typical multisite system, each individual site has its own database. Did you update the others and forget to update this one?
Or, if you haven’t updated the others, perhaps you just didn’t trigger the issue on any of the other sites yet. Regardless, go update them now if you haven’t!
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.