php7 fix for error em-events.php line 63
-
i remembered this plugin when i set up a new page. However this is a web server running nginx + php7.
When trying to activate the plugin i got a php error for events-manager/classes/em-events.php line 63 ([] not accepted for string).
Fix is simple:
in line 51 of em-events.php add:
…
//Create the SQL statement and execute$groupby_sql = array();
if( !$count && $args[‘array’] ){
…Hope you guys add this in the next update so it won’t break again.
ps: apache + php7 runs into the same error without the fix.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘php7 fix for error em-events.php line 63’ is closed to new replies.