Deprecated function: Creation of dynamic property Drupal\lupus_ce_renderer\CustomElementsMetatagsGenerator::$moduleHandler [PHP 8.2]

Created on 8 February 2024, 10 months ago
Updated 4 March 2024, 10 months ago

I'm getting this on every request:

Deprecated function: Creation of dynamic property Drupal\lupus_ce_renderer\CustomElementsMetatagsGenerator::$moduleHandler is deprecated in Drupal\lupus_ce_renderer\CustomElementsMetatagsGenerator->__construct() (line 56 of modules/contrib/lupus_ce_renderer/src/CustomElementsMetatagsGenerator.php)

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇦🇹Austria agoradesign

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

Merge Requests

Comments & Activities

  • Issue created by @agoradesign
  • Open in Jenkins → Open on Drupal.org →
    Core: 9.5.x + Environment: PHP 8.1 & MySQL 5.7
    last update 10 months ago
    9 pass
  • Status changed to Needs review 10 months ago
  • 🇸🇮Slovenia useernamee Ljubljana

    PR looks good and it will fix phpstan errors. RTBC.

    composer phpstan-check web/modules/contrib/lupus_ce_renderer
    > vendor/bin/phpstan analyze --memory-limit=-1 'web/modules/contrib/lupus_ce_renderer'
    Note: Using configuration file /home/len/Projects/drunomix/ldp/ldp-project/phpstan.neon.
     19/19 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
    
     ------ ----------------------------------------------------------------------------------------------------------- 
      Line   src/CustomElementsMetatagsGenerator.php                                                                    
     ------ ----------------------------------------------------------------------------------------------------------- 
      56     Access to an undefined property Drupal\lupus_ce_renderer\CustomElementsMetatagsGenerator::$moduleHandler.  
             💡 Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property                       
      101    Access to an undefined property Drupal\lupus_ce_renderer\CustomElementsMetatagsGenerator::$moduleHandler.  
             💡 Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property                       
     ------ ----------------------------------------------------------------------------------------------------------- 
    
  • Pipeline finished with Skipped
    10 months ago
    #98655
  • Open in Jenkins → Open on Drupal.org →
    Core: 9.5.x + Environment: PHP 8.1 & MySQL 5.7
    last update 10 months ago
    9 pass
  • 🇸🇮Slovenia useernamee Ljubljana

    Merged & fixed.

  • Status changed to Fixed 10 months ago
  • 🇸🇮Slovenia useernamee Ljubljana
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024