- Issue created by @Allahnoor Turab
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