In src/Plugin/ConfigPagesContext/Language.php LanguageManager is used incorrectly:

$this->language_manager
and

$this->languageManager
I produces Call to a member function getCurrentLanguage() on null in Drupal\config_pages\Plugin\ConfigPagesContext\Language->getValue() error.

Comments

artaphis created an issue. See original summary.

artaphis’s picture

Providing patches.

language-context-error-2946357-2.patch - fix for DEV version

language-context-error-with-url-negotiation-2946357-2.patch - fix for DEV version + patch from https://www.drupal.org/project/config_pages/issues/2939205#comment-12473312

  • shumer committed db2fb5d on 8.x-2.x authored by artaphis
    Issue #2946357 by artaphis: Fatal error when Language context is enabled
    
shumer’s picture

Assigned: Unassigned » shumer
shumer’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.