Deprecated: Creation of dynamic property

Created on 14 March 2024, 11 months ago
Updated 11 September 2024, 5 months ago

If you have Deprecated as :

Deprecated: Creation of dynamic property Drupal\adva\Plugin\search_api\processor\AdvancedAccess::$consumerManager is deprecated in /var/www/html/web/modules/contrib/adva/src/Plugin/search_api/processor/AdvancedAccess.php on line 129

You can easily remove it by adding this to the AdvancedAccess class (file: src/Plugin/search_api/processor/AdvancedAccess.php)

class AdvancedAccess extends ProcessorPluginBase {

...

  /**
   * The consumer Manager used by this plugin.
   *
   * @var \Drupal\Core\Session\AccessConsumerManagerInterface|null
   */
  protected $consumerManager;
  
...
🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇫🇷France steveoriol Grenoble 🇫🇷

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024