Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Jorgee on
Downloaded Beta 12, as per the documentation (UPGRADE.txt), I removed all except /sites
Copied all Beta12 files, then went to site/drupal/update.php (update.php does not exists, but it seems to try to load).
Then I get the following:
Additional uncaught exception thrown while handling exception.
Original
LogicException: Unable to parse the controller name "views_page_display_pre_render". in Drupal\Core\Controller\ControllerResolver->createController() (line 113 of /var/www/html/drupal/core/lib/Drupal/Core/Controller/ControllerResolver.php).
Drupal\Core\Controller\ControllerResolver->createController('views_page_display_pre_render')
Drupal\Core\Controller\ControllerResolver->getControllerFromDefinition('views_page_display_pre_render')
Drupal\Core\Render\Renderer->doRender(Array, )
Drupal\Core\Render\Renderer->render(Array)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1)
__TwigTemplate_e2ee6db6c0ef31e4f381363ebd81b065b21f90c0ccdd84b24473dbd20dfa10e9->doDisplay(Array, Array)
Twig_Template->displayWithErrorHandling(Array, Array)
Twig_Template->display(Array)
Twig_Template->render(Array)
twig_render_template('core/themes/classy/templates/layout/html.html.twig', Array)
Drupal\Core\Theme\ThemeManager->theme('html', Array)
Drupal\Core\Theme\ThemeManager->render('html', Array)
Drupal\Core\Render\Renderer->doRender(Array, 1)
Drupal\Core\Render\Renderer->render(Array, 1)
Drupal\Core\Render\Renderer->renderRoot(Array)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'maintenance_page', Array)
Drupal\Core\DependencyInjection\Container\prod\Drupal_Core_Render_BareHtmlPageRenderer_Proxy->renderBarePage(Array, 'Error', 'maintenance_page')
Drupal\Core\EventSubscriber\DefaultExceptionSubscriber->onHtml(Object)
Drupal\Core\EventSubscriber\DefaultExceptionSubscriber->onException(Object, 'kernel.exception', Object)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.exception', Object)
Symfony\Component\HttpKernel\HttpKernel->handleException(Object, Object, 1)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1)
Drupal\Core\DependencyInjection\Container\prod\Symfony_Component_HttpKernel_HttpKernel_Proxy->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1)
Drupal\Core\DependencyInjection\Container\prod\Drupal_Core_StackMiddleware_Session_Proxy->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1)
Drupal\Core\DependencyInjection\Container\prod\Drupal_Core_StackMiddleware_KernelPreHandle_Proxy->handle(Object, 1, 1)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1)
Stack\StackedHttpKernel->handle(Object, 1, 1)
Drupal\Core\DrupalKernel->handle(Object)
Additional
LogicException: Unable to parse the controller name "views_page_display_pre_render". in Drupal\Core\Controller\ControllerResolver->createController() (line 113 of /var/www/html/drupal/core/lib/Drupal/Core/Controller/ControllerResolver.php).
Drupal\Core\Controller\ControllerResolver->createController('views_page_display_pre_render')
Drupal\Core\Controller\ControllerResolver->getControllerFromDefinition('views_page_display_pre_render')
Drupal\Core\Render\Renderer->doRender(Array, )
Drupal\Core\Render\Renderer->render(Array)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1)
__TwigTemplate_e2ee6db6c0ef31e4f381363ebd81b065b21f90c0ccdd84b24473dbd20dfa10e9->doDisplay(Array, Array)
Twig_Template->displayWithErrorHandling(Array, Array)
Twig_Template->display(Array)
Twig_Template->render(Array)
twig_render_template('core/themes/classy/templates/layout/html.html.twig', Array)
Drupal\Core\Theme\ThemeManager->theme('html', Array)
Drupal\Core\Theme\ThemeManager->render('html', Array)
Drupal\Core\Render\Renderer->doRender(Array, 1)
Drupal\Core\Render\Renderer->render(Array, 1)
Drupal\Core\Render\Renderer->renderRoot(Array)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'maintenance_page', Array)
Drupal\Core\DependencyInjection\Container\prod\Drupal_Core_Render_BareHtmlPageRenderer_Proxy->renderBarePage(Array, 'Error', 'maintenance_page')
_drupal_log_error(Array, 1)
_drupal_exception_handler(Object)
Drupal\Core\DrupalKernel->handleException(Object, Object, 1)
Drupal\Core\DrupalKernel->handle(Object)
Comments
There is no upgrade path
There is no upgrade path between D8 beta versions.
So I have to start all over
So I have to start all over again? I guess it's because its not ready to production, only for testing, so they don't waste resources making upgrades.
Yes, and that's correct.
Yes, and that's correct.
I used Drush 7 to update
I used Drush 7 to update Drupal 8 beta 11 to beta 12 and it worked fine so i'm pretty sure it should be possible to update it manually as well.
-----------------------------------------------------------------
We build engaging websites and intuitive designs that will benefit your business.
Duvien
Not the same thing. You can
Not the same thing. You can update the files, but there is no database update path between versions.
Are you sure? cos i ran the
Are you sure? cos i ran the update script afterwards and it seems to fine.
-----------------------------------------------------------------
We build engaging websites and intuitive designs that will benefit your business.
Duvien
Maybe they've changed it then
Maybe they've changed it then. But from everything I've understood, there is no upgrade between beta versions.
Policy changed in recent days
Policy changed in recent days https://groups.drupal.org/node/472578 so Drupal 8 beta-to-beta updates may now work (not guaranteed).
Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors
Ahh, there you go. And it's
Ahh, there you go. And it's only happened in the last week. I was a little behind on my information.
I was running into the same
I was running into the same problem and clearing all caches solved it (manually TRUNCATE all cache* tables). However, there's still a chance that your will continue experiencing issues. For example, it throws out error page when I'm opening /admin/config/system/site-information
In D8 cache clear is supposed
In D8 cache clear is supposed to have been replaced by cache rebuild. If you have a version of drush compatible with D8 (i.e. Drush 7), the command for this is drush cr.
Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors