Compatibility Update for PHP 8.2+: Remove Deprecated Dynamic Properties
-
PHP 8.2+ now triggers warnings for dynamically created properties, specifically affecting
$choices
,$loading_places
inResponsive_Lightbox_Lite
. Declaring these properties explicitly within the class would address the issue and ensure compatibility with newer PHP versions.Proposed Solution: In
Responsive_Lightbox_Lite
, declare these properties at the class start:public $choices; public $loading_places;
This change reduces deprecated warnings and maintains forward compatibility with PHP.
- You must be logged in to reply to this topic.