I've got an issue every time I create/save new nodes or blocks I've got this message:
The website encountered an unexpected error. Please try again later.
In the Recent log messages, I can see the following message:
InvalidArgumentException: Class "Drupal\content_moderation\Plugin\Validation\Constraint\ModerationStateConstraintValidator" does not exist. in Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition() (line 24 of /website.com/core/lib/Drupal/Core/DependencyInjection/ClassResolver.php).
I recently learned, with the help of this forum, how to upgrade my vendor and core files using Composer. It's starting to click more each time I use it, but there was certainly a steep learning curve.
I ran $ composer outdated and found the following:
I have a custom Drupal (8) theme I have been putting together from scratch, and 2 CentOS web servers built to be as identical as possible.
Part way finished, I copied the theme I was working on in DEV onto PROD so the stakeholder could look at its progress. It worked alright, though it was not finished.
I continued to build the theme on the DEV box and am trying to apply it to the PROD server.