Error after update

Created on 11 April 2024, 8 months ago

Problem/Motivation

After social upgrade,got below error

'Symfony\Component\Routing\Exception\RouteNotFoundException: Route "view.posts.page_admin_content_posts" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 206 of /core/lib/Drupal/Core/Routing/RouteProvider.php).'

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

12.3

Component

Code (back-end)

Created by

🇮🇳India fatima2345

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

Comments & Activities

  • Issue created by @fatima2345
  • 🇳🇱Netherlands robertragas

    Hello Fatima,

    I am having some difficulties trying to reproduce the issue. I installed on 12.1.0 and upgraded to 12.4.2 but did not encounter such issue.

    Some questions:
    - Did you already try a cache clear after the update?
    - If you use drush "drush core:route" you are missing the route?
    - The route name itself is coming from the view views.view.posts.yaml which is located in social_post. Do you have the file?
    - If you get the config "drush cget views.view.posts" do you have the "view.posts.page_admin_content_posts"?

    If not you can do a manually import of the config by using the following command
    cat html/profiles/contrib/social/modules/social_features/social_post/config/install/views.view.posts.yml | drush cset -y --input-format=yaml views.view.posts ? -
    Double check that the "cat" command is actually working as your installation may differ a bit with paths.

    For now all I can offer are these manual steps to fix your issue until there are testing steps to reproduce the issue itself.

  • Status changed to Postponed: needs info 5 months ago
  • 🇩🇪Germany Corn696 Flensburg

    I encountered the issue once, which seemed to stem from a cache problem. It occurred while I was attempting to reproduce a different issue. The problem arose when I ran 'drush updb' without clearing the cache.

Production build 0.71.5 2024