Hi together,
I can´t install/enable page_manager 8x.4.-
After update D8 core to version 3.x. and naively updating panels to v. 4.x., as well as updating panelizer, my site got messed up (wsod).
After realizing that panels4 needs layout_discovery instead of layout_plugin, I got panels4 and the site back running (by losing all my panels-pages).
But enabling page_manager leads to wsod again.
Drush throughs out this error:
...
exception 'Drupal\Component\Plugin\Exception\PluginNotFoundException'[error]
with message 'The "page_variant" entity type does not exist.' in
/var/www/interprace_cz/core/lib/Drupal/Core/Entity/EntityTypeManager.php:133...
I tried different 4.x-dev-versions.
There are a lot of discussions about the annoying issue with panels update, but I can´t find anything especially for page manager.
anybody out here to help me out?
regards
Vincent
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 2876880-page-varient-cache-2.patch | 1.29 KB | b_sharpe |
Issue fork page_manager-2876880
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
vincent_jo commentedHi,
I managed to get my site back again with page_manager 4 and panels 4 by applying the patch from this issue to panels:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" plugin does not exist.
but ... again a "but" ....
I can´t add a page/page variant now:
/admin/structure/page_manager/add
leads to WSOD at the end. (admin/structure/page_manager/add/test/layout?js=nojs) ... no errors in dblog ... what does the "?js=nojs" mean?
My current setup:
Drupal version : 8.3.1
Chaos tool Chaos tools (ctools) Module Enabled 8.x-3.0
Layout Layout Plugin (layout_plugin) Module Not installed
Core Layout Discovery Module Enabled 8.3.1
Layout Panelizer (panelizer) Module Enabled 8.x-4.0
Panels Panels (panels) Module Enabled 8.x-4.1
Panels Panels IPE (panels_ipe) Module Enabled 8.x-4.1
Layout Page Manager UI (page_manager_ui) Module Enabled 8.x-4.0-beta2
...
I´m just discovering something strange when comparing drush list of enabled modules and the list from /admin/modules
drush pml: Page Manager (page_manager) - Not installed 8.x-4.0-beta2
Modules list: Page Manager (page_manager) - installed !!! 8.x-4.0-beta2
command "drush en page_manager" says: There were no extensions that could be enabled.
any idea?
regards
Vincent
Comment #3
b_sharpe commentedI'm having the same issue, I've narrowed it down to
page_manager/src/Routing/VariantRouteFilter.phpIn the construct it is calling getStorage('page_variant') but for some reason it is not in the definition cache yet during install.
Adding
$entity_type_manager->clearCachedDefinitions();before that call seems to work, but this should not be the fix as it's concerning that the cache isn't updating after the variant is created...I'm continuing to dig, but hopefully this helps someone with a little more knowledge get pointed in the right direction...
Comment #4
b_sharpe commentedComment #5
vincent_jo commentedHi,
thanks for digging into this ...
I for my part had to stop to develop the project in D8. My customer wasn´t willing to pay for so much additional time for bug fixing all around - this one wasn´t the only one. I started over again with D7 ... and am happy ;-)
just to mention .... regards
Vincent
Comment #6
b_sharpe commentedStill not convinced this is a permanent fix, as I think the bug is in the order of operation of config vs install, but here is a work around patch for now
Comment #7
b_sharpe commentedComment #8
b_sharpe commentedSubmitted with wrong exception type. Fixed in this patch
Comment #9
arosboro commentedThis fixed my broken build
Comment #10
mpotter commentedI ran into this same issue, not during "install", but just during a "config-import" which was attempting to enable the page_manager and page_manager_ui modules at the same time.
Updated the issue title a bit. The patch in #8 fixed the problem for me, so marking this RTBC.
Comment #12
alan d. commentedAnother rtbtc, and raising to critical as this kills a site when installed,
Comment #13
ravimalviya2000 commentedThanks for suggestion one of my website.i have using this patch.
Comment #14
lpalgarvio commentedfixes issue
Comment #15
skll5l commentedI had a similar issue in a custom module. Setting the correct module dependencies ensured that the required entity type existed at install.
Comment #16
marvil07 commentedtestbot failed because of a checkout error originated on a full disk, so the current needs work is not accurate, moving back to needs review, but if it passes it should be back to RTBC, as per comment #10.
Comment #17
anybodyI had the issue when calling /update.php. #8 fixed it. So I can confirm RTBC and this should get into a new dev release. Together with #2918564: Update 'page_manager.variant_route_filter' service according to core changes it should also be part of a new stable release.
Comment #18
manuel.adanIt seems to happen in arbitrary conditions. Are there some steps to reproduce it from a fresh site install?
Comment #19
manuel.adanComment #20
oakulm commentedThis is still an issue in D9 4.0.0-beta6
Comment #21
oakulm commentedI was able to reproduce this with installing moderation_dashboard that has relation to page_manager. Try it?
composer require 'drupal/moderation_dashboard:^1.0@beta'
drush en moderation_dashboard
drupal/core (9.2.7)
-> wsod
Comment #22
delacosta456 commentedhi
i was facing this issue too and #8 solve it for me too
Comment #23
anybodyComment #24
j-vee commentedHad the same issue with 4.0 RC2 and patch from #8 fixed it.
Comment #28
joelpittetThanks everybody, I granted most everybody on this issue credit and committed #8 patch.