Website crashes when plugin is added
-
Hi,
Great plugin!
Works perfectly in my locale but when I try to add it in the live instance, it crashes website down.
So we get the usual error when it is crashed:
“There has been a critical error on this website.
Learn more about troubleshooting WordPress.“
Please help me fix this as we need it to work so that ewe can release the website. Thank you!
-
Hello,
Could you follow this guide and send us any errors encountered:
https://docs.myeventon.com/documentations/how-to-debug-for-php-code-errors/
Hi,
After I do those steps, I don’t get debug file at all.
Could I give you access to my wordpress so that you can check this directly?
Unfortunately, it’s against this forum rules to ask for wp-admin access.
If you are using Apache server, please open php.ini file and find this variable:
track_errors = Off
Make sure that it’s On.
I managed to get the debug file
thrown in /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-content/plugins/eventon-liteee/includes/class-evo-helper.php on line 305
[23-Nov-2024 14:42:22 UTC] PHP Fatal error: Uncaught DateInvalidTimeZoneException: DateTimeZone::__construct(): Unknown or bad timezone (America/Indianapolis) in /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-content/plugins/eventon-lite/includes/class-evo-helper.php:305
Stack trace: 0 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-content/plugins/eventon-lite/includes/class-evo-helper.php(305): DateTimeZone->__construct() 1 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-content/plugins/eventon-lite/includes/class-evo-helper.php(320): evo_helper->get_timezone_array() 2 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-content/plugins/eventon-lite/includes/calendar/class-calendar_generator.php(91): evo_helper->_get_tz_offset_seconds() 3 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-content/plugins/eventon-lite/includes/class-eventon.php(171): EVO_generator->__construct() 4 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-includes/class-wp-hook.php(324): EventON->init() 5 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 6 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() 7 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-settings.php(704): do_action() 8 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-config.php(103): require_once(‘…’) 9 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-load.php(50): require_once(‘…’) 10 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-admin/admin.php(34): require_once(‘…’) 11 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-admin/plugins.php(10): require_once(‘…’) 12 {main}thrown in /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-content/plugins/eventon-lite/includes/class-evo-helper.php on line 305
@ashanjay will check this ASAP. Thank you for giving us more info!
Which version of EventON Lite are you running?
2.2.21, the latest one
Considering the above mentioned error please make this code change in your file to resolve this issue. We are compltely re-doing this whole time methods in version 2.3 and that is not quite ready for public release.
Let us know if you are any questions.

Thansk for the help with this.
After I do this change, nothing is changed.
Same error happens again.
thrown in /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-content/plugins/eventon-lite/includes/class-evo-helper.php on line 305
[27-Nov-2024 15:46:30 UTC] PHP Fatal error: Uncaught DateInvalidTimeZoneException: DateTimeZone::__construct(): Unknown or bad timezone (Canada/Atlantic) in /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-content/plugins/eventon-lite/includes/class-evo-helper.php:305
Stack trace: 0 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-content/plugins/eventon-lite/includes/class-evo-helper.php(305): DateTimeZone->__construct() 1 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-content/plugins/eventon-lite/includes/class-evo-helper.php(320): evo_helper->get_timezone_array() 2 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-content/plugins/eventon-lite/includes/calendar/class-calendar_generator.php(91): evo_helper->_get_tz_offset_seconds() 3 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-content/plugins/eventon-lite/includes/class-eventon.php(171): EVO_generator->__construct() 4 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-includes/class-wp-hook.php(324): EventON->init() 5 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 6 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() 7 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-settings.php(704): do_action() 8 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-config.php(103): require_once(‘…’) 9 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-load.php(50): require_once(‘…’) 10 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-blog-header.php(13): require_once(‘…’) 11 /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/index.php(17): require(‘…’) 12 {main}thrown in /var/www/vhosts/ws-staging.prolifeeurope.org/httpdocs/wp-content/plugins/eventon-lite/includes/class-evo-helper.php on line 305
Thank you for the info! @ashanjay will check this ASAP.
@artemsupport @ashanjay We will need to use other plugin if we don’t fix this by the end of the week
@artemsupport Considering the support help is nonexistent and that plugin crashes my website, I am forced to leave honest review on your plugin and search for other options. Cheers.
We are sorry for the delay. I contacted Ashan about this and he’ll reply ASAP.
Thank you @coolex13 for the update. We are going to get the next version released soon which will have this fix. Please allow us a bit of time 🙂
The topic ‘Website crashes when plugin is added’ is closed to new replies.