X
303303

EventOn Version 4.3.1 crashing wordpress

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.

BY: Daymek Venator - Jan 19,2023 AT 11:26PM - 2 years ago
    • Daymek Venator Jan 19,2023 AT 11:29PM - Posted 2 years ago - #303304

      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.

       

    • Daymek Venator Jan 19,2023 AT 11:33PM - Posted 2 years ago - #303305

      Scratch my last comment. I found the file, made the edit, but still crashing my site. Changed from “$current_offset” to “$offset”

       

       

    • Marco Baak Jan 20,2023 AT 2:31AM - Posted 2 years ago - #303355

      I have the same problem

    • Artem Jan 20,2023 AT 4:08AM - Posted 2 years ago - #303381

      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/

    • Artem Jan 20,2023 AT 4:10AM - Posted 2 years ago - #303383

      Please make sure to replace $current_offset to $offset.

    • Daymek Venator Jan 20,2023 AT 12:43PM - Posted 2 years ago - #303582

      I applied this fix, but it did not change anything. Instant crash upon activating the plugin

    • Ashan Perera Jan 20,2023 AT 1:16PM - Posted 2 years ago - #303587

      are you able to run debug and catch the errors?

      https://docs.myeventon.com/documentations/how-to-debug-for-php-code-errors/

    • Daymek Venator Jan 20,2023 AT 4:20PM - Posted 2 years ago - #303668

      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;
      }
      }

    • Ashan Perera Jan 21,2023 AT 1:24AM - Posted 2 years ago - #303698

      please try this patch fix.

    • Daymek Venator Jan 21,2023 AT 1:33PM - Posted 2 years ago - #303722

      Hi Ashan, that seems to have fixed it. Its now running without issue. Thank you and Artem for the fast responses.

    • Ashan Perera Jan 22,2023 AT 12:01PM - Posted 2 years ago - #303759

      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 🙂

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON