- Issue created by @Allahnoor Turab
- Assigned to chhavi.sharma
- Merge request !2Issue #3488917: Applied patch for deprecated dynamic property. → (Open) created by chhavi.sharma
The issue with the deprecated property in your class occurs because of changes introduced in PHP 8.2. Dynamic properties (properties that are not explicitly declared in the class) are deprecated. In your code, the property $fields is dynamically created inside the constructor without being explicitly defined in the class.
Install swapcard with php >=8.2
Declare variable i.e
/**
* Fields for the plugin.
*
* @var object
*/
protected $fields;
Active
1.1
Code