Hi
I have used panels and panelizer for page layout. We have some update( Drupal\user\SharedTempStoreFactory ) on panels module.
use Drupal\user\SharedTempStoreFactory;
is moved Core temp store. So we are getting below error in panelizer module.
Fatal error: Declaration of Drupal\panelizer\Plugin\PanelsPattern\PanelizerPattern::getDefaultContexts(Drupal\user\SharedTempStoreFactory $tempstore, $tempstore_id, $machine_name) must be compatible with Drupal\panels\Plugin\PanelsPattern\DefaultPattern::getDefaultContexts(Drupal\Core\TempStore\SharedTempStoreFactory $tempstore, $tempstore_id, $machine_name) in /var/www/html/lightning/docroot/modules/contrib/panelizer/src/Plugin/PanelsPattern/PanelizerPattern.php on line 14
Here getDefaultContexts is a method which is declared in panels.
Comment | File | Size | Author |
---|---|---|---|
#4 | panelizer_temp_store-3034080-03.patch | 3.51 KB | iyyappan.govind |
#2 | patch-3034080.patch | 580 bytes | iyyappan.govind |
Comments
Comment #2
iyyappan.govindHere is the patch
Comment #3
iyyappan.govindPlease refer the link to know more about panels temp store.
https://www.drupal.org/project/panels/issues/3031778#comment-12977755
Comment #4
iyyappan.govindUpdated patch. Thanks
Comment #5
iyyappan.govindComment #8
aperedos CreditAttribution: aperedos commentedPatch works fine #4 for adding blocks in panelizer but not for context
Comment #9
thetaPCSeems like a duplicate? https://www.drupal.org/project/panelizer/issues/3031671