Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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).
Comment | File | Size | Author |
---|---|---|---|
#8 | 3051870-panels-cache_miss-8.patch | 823 bytes | jmdeleon |
#6 | panels_tempstore-updated-3031778-51.patch | 26.5 KB | aayush23 |
#4 | Screenshot 2019-05-01 at 9.42.34 AM.png | 292.54 KB | isalmanhaider |
Comments
Comment #2
isalmanhaider CreditAttribution: isalmanhaider as a volunteer commentedComment #3
isalmanhaider CreditAttribution: isalmanhaider as a volunteer commentedComment #4
isalmanhaider CreditAttribution: isalmanhaider as a volunteer commentedComment #5
Sergiu Stici CreditAttribution: Sergiu Stici at FFW commentedIt is a duplicate issue. See next links:
https://www.drupal.org/project/panels/issues/3031778,
https://www.drupal.org/project/panels/issues/3035790
Comment #6
aayush23 CreditAttribution: aayush23 as a volunteer and at SquintMetrics commentedPlease use this patch.
Comment #7
HarjotMann CreditAttribution: HarjotMann commentedHow did you fix it? I tried all the solutions but still not working.
Comment #8
jmdeleon CreditAttribution: jmdeleon at OpenPlus commentedEncountered this error also recently working with Panels and Page Manager. Created a patch that resolved the error messages from appearing.
Comment #9
jmdeleon CreditAttribution: jmdeleon at OpenPlus commentedComment #10
jmdeleon CreditAttribution: jmdeleon at OpenPlus commentedAlso waving down the severity of this to Normal.