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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

iyyappan.govind created an issue. See original summary.

iyyappan.govind’s picture

Here is the patch

iyyappan.govind’s picture

Please refer the link to know more about panels temp store.

https://www.drupal.org/project/panels/issues/3031778#comment-12977755

iyyappan.govind’s picture

iyyappan.govind’s picture

Status: Active » Needs review

The last submitted patch, 2: patch-3034080.patch, failed testing. View results

Status: Needs review » Needs work

The last submitted patch, 4: panelizer_temp_store-3034080-03.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

aperedos’s picture

Patch works fine #4 for adding blocks in panelizer but not for context

thetaPC’s picture