cant activate plugin bec of syntax error
-
Ok, tried to activate the plugin and wp says it cant intall it because of this failure:
Parse error: syntax error, unexpected ‘?’ in /home/mywebsitename/public_html/wp-content/plugins/host-webfonts-local/includes/admin/class-settings.php on line 482
so i looked in class-settings.php on line 482 and there it is:
$items = $xml->channel->item ?? [];should i remove an “?” or something to let it go through?
(I use the theme enfold.)thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘cant activate plugin bec of syntax error’ is closed to new replies.