Error enabling the module - Router not found

Created on 3 April 2018, about 6 years ago
Updated 3 May 2023, about 1 year ago

1. I have a multi-site setup
2. Downloaded and added content_sync module
3. Trying to enable the module
4. It is throwing error
Route "content_sync.element.message.close" does not exist.

🐛 Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

🇮🇳India Prashant.c Dharamshala

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • HI,
    a solution is to do a drush cr --uri=MON.URI during the page is fail and do a reload after (F5)...is bad but pass.
    but after I have an error on the configuration page:

    Config:
    Drupal 9.5.9
    PHP-Version 8.1.17
    Memory limit 512M
    and 3 errors in report status:
    Access to update.php
    Entity/Field Definitions
    Purge: Purge
    content_sync Version : 3.0.0-beta1
    serialization Version : 9.5.9

    Deprecated function: Optional parameter $serializer_context declared before required parameter $context is implicitly treated as a required parameter in include() (line 582 of vendor/composer/ClassLoader.php).
    
    include('/home/sc1cloutclo/public_html/D9/DEV/core/includes/bootstrap.inc') (Line: 582)
    Composer\Autoload\{closure}('/home/sc1cloutclo/public_html/D9/DEV/modules/contrib/content_sync/src/Form/ContentImportTrait.php') (Line: 433)
    Composer\Autoload\ClassLoader->loadClass('Drupal\content_sync\Form\ContentImportTrait') (Line: 18)
    include('/home/sc1cloutclo/public_html/D9/DEV/modules/contrib/content_sync/src/Form/ContentSync.php') (Line: 582)
    Composer\Autoload\{closure}('/home/sc1cloutclo/public_html/D9/DEV/modules/contrib/content_sync/src/Form/ContentSync.php') (Line: 433)
    Composer\Autoload\ClassLoader->loadClass('Drupal\content_sync\Form\ContentSync')
    class_exists('\Drupal\content_sync\Form\ContentSync') (Line: 23)
    Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition('\Drupal\content_sync\Form\ContentSync') (Line: 48)
    Drupal\Core\Controller\HtmlFormController->getFormObject(Object, '\Drupal\content_sync\Form\ContentSync') (Line: 58)
    Drupal\Core\Controller\FormController->getContentResult(Object, Object)
    call_user_func_array(Array, Array) (Line: 123)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
    Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
    Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
    Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
    Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
    Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
    Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
    Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 44)
    Drupal\services\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 168)
    Drupal\purge_queuer_url\StackMiddleware\UrlRegistrar->handle(Object, 1, 1) (Line: 270)
    Drupal\shield\ShieldMiddleware->bypass(Object, 1, 1) (Line: 226)
    Drupal\shield\ShieldMiddleware->handle(Object, 1, 1) (Line: 48)
    Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
    Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
    Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
    Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
    
Production build 0.69.0 2024