12 May 2019 at 18:55 #32965joostdekeijzerParticipant
On PHP71 and above the plugin breaks WordPress with a 500 error. The error log states:
PHP Fatal error: Uncaught Error:  operator not supported for strings in /wp-content/plugins/events-maker/includes/class-query.php:551
In a different plugin the same issue was fixed. See https://dfactory.eu/support/topic/import-wp-post-views-server-error-500/
I’ve made some changes to class-query to fix, I can send a diff31 May 2019 at 13:47 #33283SergiMParticipant
I have the same problem and I can not solve it. Can you publish your solution?
Thank you!5 September 2019 at 13:11 #34958SergeyParticipant
it looks like authors gave up reading this forum. Ok.
I got the same problem, plugin doesn’t work on PHP 7.1, and I know how to fix it.
1. Open the file
2. From line 516 and below you’ll see a few (8) pieces of code like this:
$meta_args = array( 'key' => $keys['start'], 'value' => date( 'Y-m-d H:i:s', strtotime( $query->query_vars['event_start_after'] . $sa_date ) ), 'compare' => ($query->query_vars['event_date_range'] === 'between' ? '>=' : '<='), 'type' => 'DATETIME' );
3. You shoud add the string
$meta_args = array();
before every string
$meta_args = array(
4. Save the file.
Now plugin is compatable with php 7.1
If you wanna read explanation why it didn’t work:
Enjoy!19 November 2019 at 13:33 #36007joostdekeijzerParticipant
I’ve created a plugin to fix Events Maker. It does it’s magic for all queries in WordPress, so please test thoroughly!
- You must be logged in to reply to this topic.
hide the flip and rotate buttons
5 days, 4 hours ago
Inline Gallery does not work.
by haoxin li
1 week ago
Get download link
1 week, 2 days ago
1 week, 5 days ago
how to fix this code (?cn-reloaded=1) added to url end
56 minutes ago
LIghtbox does not work
2 weeks, 5 days ago
Watermark on scaled, cropped or rotated image
2 weeks, 6 days ago
Front end user uploaded file to post not showing up in attachments
2 weeks, 4 days ago
Error when using Shortcode
3 weeks, 3 days ago
Showing 2 Million Views on the dashboard an only 10k Views on Website?
3 weeks, 4 days ago