• Resolved Jonathan

    (@johnccg)


    Hi there,

    I’ve got a problem when i save a new event.
    Here is the error code :

    Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in /var/www/vhosts/MYWEBSITE.COM/httpdocs/wp-content/plugins/events-manager/classes/em-datetime.php:575 Stack trace: #0 /var/www/vhosts/MYWEBSITE.COM/httpdocs/wp-content/plugins/events-manager/classes/em-datetime.php(575): DateTimeZone->__construct() #1 /var/www/vhosts/MYWEBSITE.COM/httpdocs/wp-content/plugins/events-manager/classes/em-datetime.php(601): EM_DateTimeZone->__construct() #2 /var/www/vhosts/MYWEBSITE.COM/httpdocs/wp-content/plugins/events-manager/classes/em-event.php(400): EM_DateTimeZone::create() #3 /var/www/vhosts/MYWEBSITE.COM/httpdocs/wp-content/plugins/events-manager/classes/em-event.php(44): EM_Event->__construct() #4 /var/www/vhosts/MYWEBSITE.COM/httpdocs/wp-content/plugins/events-manager/classes/em-event-post-admin.php(88): em_get_event() #5 /var/www/vhosts/MYWEBSITE.COM/httpdocs/wp-includes/class-wp-hook.php(289): EM_Event_Post_Admin::wp_insert_post_data() #6 /var/www/vhosts/MYWEBSITE.COM in /var/www/vhosts/MYWEBSITE.COM/httpdocs/wp-content/plugins/events-manager/classes/em-datetime.php on line 575

    Anyway the event is saved and everything look ok in front but my client don’t like it ahahaha

    Thanks

    • This topic was modified 5 years, 8 months ago by Jonathan.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Jonathan

    (@johnccg)

    Anyone with this problem ? 🙁

    Hello,

    Can you perhaps try updating to our latest Dev version? https://wp-events-plugin.com/documentation/upgrade-dev-version/

    Alternatively, Can you perhaps try the following to test for a possible plugin or theme conflict?

    1. Make sure you’re using the latest EM and EM Pro Version
    2. Make sure your using at least PHP 7.1
    3. To minimize possible plugin/theme conflict, Could you perhaps try and Install WP Safe Mode (https://wordpress.org/plugins/wp-safe-mode/)
    – Activate and Enable Safe Mode. Please make sure that on the settings a twenty series theme is selected.
    – When activated it would help you test as if the Website only plugin activated is EM and twentyseries theme
    – After making sure that its working properly, You could start adding additional plugin on the list that is activated and test again until you see which plugin is causing the issue

    Thread Starter Jonathan

    (@johnccg)

    Heyyyyy !

    You got it !!!
    Thanks a lot ! i didn’t knew wp safe mode ! I keep it in mind for next time !

    The plugin with trouble was this one : WP Multisite Posts & Taxonomies Sync

    Thanks again
    Jo

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘atal error: Uncaught Exception: DateTimeZone::__construct():’ is closed to new replies.