The plugin doesn’t work with PHP 7.2
-
The latest version says that the plugin is compatible with PHP 5.4 or higher, but it doesn’t work with PHP 7.2.
I get some errors like this one:
Parse error: syntax error, unexpected ‘)’ in /data/www/html/sites/www.prokill.co.uk/blog/wp-content/plugins/widget-logic/block/index.php on line 29
This line contains:
wp_enqueue_style(
'widget-logic',
esc_url(plugins_url('/css/widget-logic.css', FILE)),
array(),
filemtime(plugin_dir_path(FILE) . '/css/widget-logic.css'),
);The problem is the comma at the end of the line. It is because in PHP 7.2 the comma (,) at the end of parameters are not supported.
This problem also exists in other files. Could you please fix it?
Thanks!
- You must be logged in to reply to this topic.