Unexpected Website Error

Profile picture for user spensort
spensort
Forums
Hi, My website at www.mindsets.eu appeared to crash after some configuration updates, so I restored to the latest back-up using shared hosts softaculous application. Despite attempts at restoring from both the two latest back-ups, I keep getting the same error message, i.e.: "The website encountered an unexpected error. Please try again later." The last lines in the error log are: [15-Feb-2019 13:05:43 Europe/Helsinki] Uncaught PHP Exception Drupal\Core\Extension\Exception\UnknownExtensionException: "The module opigno_lms does not exist." at /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Extension/ExtensionList.php line 257 [25-Feb-2019 13:48:12 Europe/Helsinki] Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginNotFoundException: "The "" entity type does not exist." at /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php line 133 The code at the line 133 region consists of: elseif (!$exception_on_invalid) { return NULL; } throw new PluginNotFoundException($entity_type_id, sprintf('The "%s" entity type does not exist.', $entity_type_id)); } /** * {@inheritdoc} */ I have no idea what it is on about or even if it is relevant to the current problem. Can you help me resolve this error message please? Many thanks, Chris FYI: Earlier error logs:- [14-Feb-2019 14:04:27 Europe/Helsinki] PHP Fatal error: Class 'Drupal\migrate_drupal_ui\Form\MigrateUpgradeFormBase' not found in /home/liikanjitsu/public_html/mindsets.eu/pedles/web/modules/contrib/opigno_migration/src/Form/OpignoUpgradeReviewForm.php on line 24 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP Stack trace: [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 1. {main}() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/index.php:0 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 2. Drupal\Core\DrupalKernel->handle() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/index.php:19 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 3. Stack\StackedHttpKernel->handle() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/DrupalKernel.php:693 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 4. Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() /home/liikanjitsu/public_html/mindsets.eu/pedles/vendor/stack/builder/src/Stack/StackedHttpKernel.php:23 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 5. Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php:52 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 6. Drupal\ban\BanMiddleware->handle() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php:47 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 7. Drupal\page_cache\StackMiddleware\PageCache->handle() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/modules/ban/src/BanMiddleware.php:50 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 8. Drupal\page_cache\StackMiddleware\PageCache->pass() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/modules/page_cache/src/StackMiddleware/PageCache.php:78 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 9. Drupal\Core\StackMiddleware\KernelPreHandle->handle() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/modules/page_cache/src/StackMiddleware/PageCache.php:99 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 10. Drupal\Core\StackMiddleware\Session->handle() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php:47 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 11. Symfony\Component\HttpKernel\HttpKernel->handle() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/StackMiddleware/Session.php:57 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 12. Symfony\Component\HttpKernel\HttpKernel->handleRaw() /home/liikanjitsu/public_html/mindsets.eu/pedles/vendor/symfony/http-kernel/HttpKernel.php:68 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 13. Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}() /home/liikanjitsu/public_html/mindsets.eu/pedles/vendor/symfony/http-kernel/HttpKernel.php:151 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 14. Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:97 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 15. Drupal\Core\Render\Renderer->executeInRenderContext() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:124 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 16. Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Render/Renderer.php:582 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 17. call_user_func_array:{/home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:123}() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:123 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 18. Drupal\Core\Controller\HtmlFormController->getContentResult() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:123 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 19. Drupal\Core\Form\FormBuilder->buildForm() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Controller/FormController.php:93 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 20. Drupal\Core\Form\FormBuilder->processForm() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Form/FormBuilder.php:318 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 21. Drupal\Core\Form\FormSubmitter->doSubmitForm() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Form/FormBuilder.php:589 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 22. Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Form/FormSubmitter.php:51 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 23. call_user_func_array:{/home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Form/FormSubmitter.php:111}() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Form/FormSubmitter.php:111 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 24. Drupal\system\Form\ModulesListConfirmForm->submitForm() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Form/FormSubmitter.php:111 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 25. Drupal\Core\ProxyClass\Extension\ModuleInstaller->install() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/modules/system/src/Form/ModulesListConfirmForm.php:173 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 26. Drupal\Core\Extension\ModuleInstaller->install() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php:83 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 27. Drupal\Core\ProxyClass\Routing\RouteBuilder->rebuild() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Extension/ModuleInstaller.php:322 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 28. Drupal\Core\Routing\RouteBuilder->rebuild() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php:83 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 29. Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Routing/RouteBuilder.php:184 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 30. call_user_func:{/home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:111}() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:111 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 31. Drupal\Core\EventSubscriber\EntityRouteAlterSubscriber->onRoutingRouteAlterSetType() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:111 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 32. Drupal\Core\Entity\EntityResolverManager->setRouteOptions() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php:48 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 33. Drupal\Core\Entity\EntityResolverManager->getControllerClass() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Entity/EntityResolverManager.php:206 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 34. class_exists() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Entity/EntityResolverManager.php:72 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 35. spl_autoload_call() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Entity/EntityResolverManager.php:72 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 36. Composer\Autoload\ClassLoader->loadClass() /home/liikanjitsu/public_html/mindsets.eu/pedles/web/core/lib/Drupal/Core/Entity/EntityResolverManager.php:72 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 37. Composer\Autoload\includeFile() /home/liikanjitsu/public_html/mindsets.eu/pedles/vendor/composer/ClassLoader.php:322 [14-Feb-2019 14:04:27 Europe/Helsinki] PHP 38. include() /home/liikanjitsu/public_html/mindsets.eu/pedles/vendor/composer/ClassLoader.php:444 [14-Feb-2019 14:07:09 Europe/Helsinki] PHP Fatal error: Class 'Drupal\migrate_drupal_ui\Form\MigrateUpgradeFormBase' not found in /home/liikanjitsu/public_html/mindsets.eu/pedles/web/modules/contrib/opigno_migration/src/Form/OpignoUpgradeReviewForm.php on line 24 I have no idea what it is on about or even if it is relevant to the current problem. Can you help me resolve this error message please? Many thanks, Chris
nikolay

Database backup

Hi, Chris. Did you try to revert a database from backup? Because if not, restoring only the codebase to a previous version after you run updates (for a database) doesn't help to avoid the error.
Profile picture for user spensort
spensort

Softaculous

Hi, Back-up was done using softaculous which includes code base, database and all. It has worked thus far without problem. Hosting service advised to update drupal script to bypass problem using their softaculous update system, but that did not work either. Not surprising perhaps, given that drupal/opigno is a composer managed site and suffered an assortment of Fatal Errors. I have restored the latest back-up and got the same website access error. I am going to try an run a composer update from shh to bypass the problem, however, I now suspect this is a hosting environment problem and am concerned that this (if successful) just avoids the problem temporarily. Kr, Chris
Profile picture for user spensort
spensort

Hi,

Hi, As I suspected - Restore the site from the latest back-up and then run composer drupal core update via the SHH did not work. Module incompatibilities with latest drupal core version is possible, but highly unlikely. I also tried to update the Opigno/Opigno_LMS version to 2.2 - see https://www.opigno.org/en/download Even if true, It still does not explain why the Great SOFTACULOUS won't restore correctly from either of the two back-ups I have stored there. I just restored from both of those and got the same result - "The website encountered an unexpected error. Please try again later." It seems bypassing the problem with an upgrade is not an option, so it needs to be solved. Kr, Chris
Profile picture for user spensort
spensort

Resolved - sort of...

Problem Appears to be solved. Issue probably caused by corruption of the last two back-ups for some strange reason