After selecting the page manager and panels update to install, The database update failed with an Ajax error, and my site no longer worked until I unrolled both updates.

CommentFileSizeAuthor
#4 2874152-check-layoutdefinitions-4.patch1.36 KBjaperry

Comments

tjtj created an issue. See original summary.

vincent_jo’s picture

Same here!

I can´t say what came first: panels- or page-manager update to version 4.x to brake the site.
Disabling layout_plugin brought the site back again, but after enabling panelizer it´s off again with a wsod.
I´ve enabled panelizer, because I hoped that all (!) the missing panel-pages after update could appear again ...

What to say ... :-/

regards
Vincent

tjtj’s picture

When I do the database update, I get

Updating
An unrecoverable error has occurred. You can find the error message below. It is advised to copy it to the clipboard for reference.
Please continue to the error page

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /update.php/start?id=71&op=do_nojs&op=do
StatusText: 500 Service unavailable (with message)
ResponseText: The website encountered an unexpected error. Please try again later.

And trying to access the uninstall page, I get
Fatal error: Call to a member function getIconPath() on array in /home2/orcmaorg/public_html/modules/panels/panels.module on line 51
The Homepage (a panels page) gives
The website encountered an unexpected error. Please try again later.
I have tried this three times now, and must revert the database.
Panels and Page-manager DO work on a new site I made.

japerry’s picture

Status: Active » Needs review
StatusFileSize
new1.36 KB

Hmm this is pretty odd, since the definitions should all definitely be LayoutDefinitions that are being called, not arrays. Here is a patch to run a check, but if you're getting this error @tjtj, its likely something else is causing the problem.

emmguyot’s picture

This patch was fine for me : It solved my problem.
Thanks

  • japerry committed c653285 on 8.x-4.x
    Issue #2874152 by japerry: Add a check to make sure the layout...
japerry’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.