Question

I created a new content type for a drupal domain and got an nginx error. The error message is below. How do I fix it?

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


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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!

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