You have requested a non-existent service ProjectBrowserSourceManager after update to 3.6.0

Created on 22 May 2025, 11 days ago

Hello,

After updating to 3.6.0 on my local environment and only after logging in, all the pages are in error with this message:

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "Drupal\project_browser\Plugin\ProjectBrowserSourceManager". in Drupal\Component\DependencyInjection\Container->get() (line 157 of core/lib/Drupal/Component/DependencyInjection/Container.php).

Am I the only one getting this? I don't see any class extending ExtraLinks in Project_Browser project, don't even know if the message is relevant.

I correctly ran the updates. So it's not a problem with database schema.

🐛 Bug report
Status

Active

Version

3.6

Component

Code

Created by

🇫🇷France guilhom Toulouse

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

Comments & Activities

  • Issue created by @guilhom
  • 🇫🇷France dydave

    Any chance you could upgrade the project browser module in your project?

    Thanks in advance!

  • 🇫🇷France guilhom Toulouse

    Hello dydave,

    Indeed, I didn't see I was on version 1.x of Project Browser module and not the latest 2.0 on my local environment.
    Service definition changed between version and now error is gone.

    Thanks for your quick reply!

  • 🇫🇷France dydave

    Fantastic!

    Great catch Guillaume (@guilhom)!
    I had completely forgotten to add Project Browser to the Breaking changes 😅

    I have just added the following paragraph to the 3.6.0 release notes:

    Important: Support for older versions of the Project Browser module has been dropped: Please upgrade to the latest version or at least the 2.x branch.
    If the Project Browser 1.x module is installed in your project and you upgrade Admin Toolbar, without upgrade Project Browser, your site will crash.

    Hope this helps others not to go through the same types of errors.

    Thanks again for your interest in the Admin Toolbar module.

Production build 0.71.5 2024