Non compatible with php7.1 (+ fix)
-
The plugin (version 5.6.6.1) does not work on php 7.1.
Error message appears upon activation:
( ! ) Fatal error: Uncaught Error: [] operator not supported for strings in /srv/www/domain.com/current/web/wp-content/plugins/events-manager/classes/em-events.php on line 63
Only solution for now is to remove the plugin from the plugin folder to auto-desactivate it.
See this page for a list of incompatible changes migating from php7.0 to php7.1.
The fix is to replace the faulty line
$groupby_sql = '';
by
$groupby_sql = [];
And that’s it. It works.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Non compatible with php7.1 (+ fix)’ is closed to new replies.