When I click add block under panel page, I get this error

AjaxError: 
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /oasdrupal/admin/structure/panels/page_manager.page/view_application--view_application-panels_variant-0/select_block?region&destination=/oasdrupal/admin/structure/page_manager/manage/view_application/page_variant__view_application-panels_variant-0__content%3Fjs%3Dnojs
StatusText: OK
ResponseText: Error: Call to a member function getVariant() on null in Drupal\panels\Controller\Panels->getCachedValues() (line 39 of /Applications/MAMP/htdocs/oasdrupal/modules/contrib/panels/src/CachedValuesGetterTrait.php).

panel error

Comments

isalmanhaider created an issue. See original summary.

isalmanhaider’s picture

Issue summary: View changes
isalmanhaider’s picture

Issue summary: View changes
isalmanhaider’s picture

Issue summary: View changes
StatusFileSize
new292.54 KB
sergiu stici’s picture

aayush23’s picture

StatusFileSize
new26.5 KB

Please use this patch.

HarjotMann’s picture

How did you fix it? I tried all the solutions but still not working.

jmdeleon’s picture

StatusFileSize
new823 bytes

Encountered this error also recently working with Panels and Page Manager. Created a patch that resolved the error messages from appearing.

jmdeleon’s picture

Status: Active » Needs review
jmdeleon’s picture

Priority: Critical » Normal

Also waving down the severity of this to Normal.

liam morland’s picture

Status: Needs review » Needs work
Issue tags: +Needs merge request