Hi, i recently tested EventON lite and it worked and I liked it. I just purchased the full version (4.3.1) and its crashing my site. I see there are other cases for crashing as well. I disabled the plugin from Cpanel and got my site back up. I then disabled all plugins and tried again, but same issue. My theme is Jupiter 2.5.9. Any help would be appreciated. Thank you.
Jan 19,2023 AT 11:26PM - 2 years ago -More info:
EventOn V 4.3.1
WordPress V 6.1.1
Theme Jupiter X V 2.5.9
Tested with all plugins disabled. I have no class-calendar-generator.php file to edit as suggested in another thread.
Scratch my last comment. I found the file, made the edit, but still crashing my site. Changed from “$current_offset” to “$offset”
I have the same problem
Hello,
Please apply the patch fix below
Below is a tutorial on how to apply it
https://docs.myeventon.com/documentations/how-to-apply-a-patch-fix/
Please make sure to replace $current_offset to $offset.
I applied this fix, but it did not change anything. Instant crash upon activating the plugin
are you able to run debug and catch the errors?
https://docs.myeventon.com/documentations/how-to-debug-for-php-code-errors/
I enabled debugging and ran the plugin. It appears to be the same issue that others are having. Error pointed to “/wp-content/plugins/eventON/includes/calendar/class-calendar_generator.php on line 117″
Line 117: ” $this->timezone = new DateTimeZone( $tzstring );”
Also I confirmed that the recommended patch fix is applied:
if ( empty( $tzstring ) ) { // Create a UTC+- zone if no timezone string exists.
$check_zone_info = false;
if ( 0 == $offset ) {
$tzstring = ‘UTC+0’;
} elseif ( $offset < 0 ) {
$tzstring = ‘UTC’ . $offset;
} else {
$tzstring = ‘UTC+’ . $offset;
}
}
please try this patch fix.
Hi Ashan, that seems to have fixed it. Its now running without issue. Thank you and Artem for the fast responses.
Thank you daymek for the update. So the whole issue is because php8 stop supporting UTC+ timezones. They want to use more location specific timezones from timezone text strings.
So in wordpress you can switch to location timezone strings instead of the UTC timezones for future 🙂