I set up a new test site to test and debug Panels Everywhere, starting with a fresh install of Drupal 8, Page Manager, Panels and the latest dev build of Panels Everywhere. With all these modules (and dependencies) enabled, I was able to go to Pages > Site Template > Enable OK, but when leaving the admin pages, all I would see in the browser viewport would be:
The website encountered an unexpected error. Please try again later.
Checking the status logs in Drupal, this error was indicated:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "onecol" plugin does not exist. in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 52 of /Users/[User Name]/Sites/[Site Name]/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Comment | File | Size | Author |
---|---|---|---|
#13 | page_manager-n2851321-13.patch | 1.21 KB | DamienMcKenna |
| |||
#10 | panels_everywhere-n2874012-10.patch | 512 bytes | DamienMcKenna |
Comments
Comment #2
karolus CreditAttribution: karolus as a volunteer commentedComment #3
mattltHi @karolus,
Are you using the versions of page_manager and panels that support the experimental layout_discovery module introduced into core in 8.3 ? If so panels_everywhere has yet to be updated to support layout_discovery.
I've got panels_everywhere working with the 8.3 versions of page_manager, panels, and panelizer using layout_plugin.
If you are able to help here's the issue to support the new module…
https://www.drupal.org/node/2869185
Hope this helps.
Thanks,
•• matt
Comment #4
karolus CreditAttribution: karolus as a volunteer commented@mattlt, Thanks--I'll take a look. Just getting back from DrupalCamp Nordics. Also had spoken briefly with Damien McKenna about this back at DrupalCon Baltimore. Yes, I've upgraded the 8.3.x, so will take a look at this issue.
Just spun up another instance, using the Layout Plugin module, and 8.x-3.x version of Panels, and still having the same issues. Will try some other tests.
Comment #5
Alumei CreditAttribution: Alumei commentedI just tried to run the current alpha version with:
- drupal: 8.3.2
- layout_plugin: 1.0-alpha 23
- page_manager: 1.0-alpha 24
- panels: 3.0-beta 6
on simplytestme.
Using a stacked layout seems to work although only the position .. got the black background of the Batik footer everywhere. ..
I also noticed that simply enabling the site-template probably does not work since nothing is beeing placed there at the beginning. Not even the main content block ...
Comment #6
Alumei CreditAttribution: Alumei commentedJust tried it again but this time I simply enabled the site_template without any modifications ... still work .. although the site only remains usable because there is the toolbar on top ;-)
I hope this helps ...
Comment #7
markus_petrux CreditAttribution: markus_petrux commentedIt looks like the reported error can be fixed by pacthing the file config/install/page_manager.page_variant.panels_everywhere.yml as follows:
Then reinstall PE as follows:
1) Uninstall Panels Everywhere.
2) Manually delete the site_template page in Panels.
3) Install Panels Everywhere.
Comment #8
huzookaComment #9
karolus CreditAttribution: karolus as a volunteer commented@markus_petrux: Thanks, your code update worked for me on a test build.
@Alumei: Yes, the black is part of using Bartik. I'd suggest a theme that works well with Panels out of the box, like Cog. I got the black on an experimental build with Bartik as the default theme, but switching to my Cog custom theme fixed things.
Comment #10
DamienMcKennaThis is marcus_petrux's suggested change in code.
Comment #12
DamienMcKennaOk, that's in, but we need an update script like what Page Manager, Panels and Panelizer have.
Comment #13
DamienMcKennaDoes this cover it? I based it off the Page Manager update script and just changed a bit to match the variant name.
Comment #14
karolus CreditAttribution: karolus as a volunteer commented@DamienMcKenna I just applied this patch. No errors found, but this was run on a test instance.
I'm looking for a scenario to test--would starting an install with Panels Everywhere 1.x, building a layout, then upgrading to PE 4.x and applying the patch be the most straightforward method?
Comment #15
DamienMcKennaYes, the correct test would be to build a display on a D8.2 site and then upgrade to 8.3 with the full Panels 8.x-4.x suite, see if the site works after the script updates run.
Comment #16
NWOM CreditAttribution: NWOM commented#13 and performing the following via drush fixed the issue for me:
drush updatedb -y && drush cr
Thank you!
Comment #18
DamienMcKennaCommitted. Thanks @karolus and @NWOM for the review.