I have this error:
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting T_VARIABLE in blog/wp-content/plugins/plugin/php/utils/cloud_data.php on line 98
static public function set_templates()
{
static::fetch_templates(); // line 98
}
static private function fetch_templates($folder_identifier = '')
{
// ..
}
Google says that T_PAAMAYIM_NEKUDOTAYIM means expecting. So error means: expecting T_VARIABLE.
But why? fetch_templates() function initializes his parameter to ''.
static::was introduced in5.45.3, and likely you have older phpIn your case you can replace it with