I have upgraded the panels module after upgrade I get this error

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "plugin.manager.core.layout". Did you mean one of these: "plugin.manager.condition", "plugin.manager.rest", "plugin.manager.workflow", "plugin.manager.views.sort"? in Drupal\Component\DependencyInjection\Container->get() (line 157 of core/lib/Drupal/Component/DependencyInjection/Container.php).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sriharsha.uppuluri created an issue. See original summary.

DamienMcKenna’s picture

Version: 8.x-3.x-dev » 8.x-4.x-dev
Status: Active » Postponed (maintainer needs more info)

Does the problem happen with the latest 8.x-4.2 release?

bruvers’s picture

I can confirm that the error happens for Panels version '8.x-4.2'.

cr0ss’s picture

I had to manually enable layout_discover module to get rid of this error after upgrading Panels to 8.x-4.2 version.

jatinkumar1989’s picture

HI,

i Have the same issue and when i try to enable "" (as mentioned in prev comment on this thread).

it gives me error:
"Layout Discovery cannot be installed because the Layout Plugin module is installed and incompatible."

Any help ?

Thanks
-Jatin

DamienMcKenna’s picture

Status: Postponed (maintainer needs more info) » Needs review
FileSize
818 bytes

Right, so the problem appears to be that panels_update_8401 doesn't enable layout_discovery in certain circumstances.

Lets see if this helps - it adds another update script to specifically ensure that layout_discovery is enabled, and removes the install() method's second argument as it's unnecessary.

Status: Needs review » Needs work

The last submitted patch, 6: panels-n2902906-6.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

DamienMcKenna’s picture

Status: Needs work » Needs review

Rerunning the tests.

Status: Needs review » Needs work

The last submitted patch, 6: panels-n2902906-6.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.