class WOODMART_Wpbcssgenerator { private array $_notices; // Declare the property public function __construct() { $this->_notices = []; // Initialize the property properly } }