Problem/Motivation
When using the Y Camp module on PHP 8.2, you may encounter a warning on the LB display:
Deprecated function: Creation of dynamic property Drupal\y_camp\Plugin\Block\CampInfoBlock::$node is deprecated in Drupal\y_camp\Plugin\Block\CampInfoBlock->build() (line 105 of modules/contrib/y_camp/src/Plugin/Block/CampInfoBlock.php).
Steps to reproduce
Enable the Y Camp module under PHP 8.2
Proposed resolution
Fix it.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork y_camp-3516529
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
froboyComment #5
froboy