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

Support from Acquia helps fund testing for Drupal Acquia logo

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
FileSize
292.54 KB
Sergiu Stici’s picture

aayush23’s picture

HarjotMann’s picture

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

jmdeleon’s picture

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.