critical error with ‘my booking’ PHP 8.1
-
Hello,
‘Mybookings’ page crashs if running PHP 8.1 but works with PHP 7.4.
I am using EM Version 6.1.3 / WP 6.1.
I am currently stuck with issue as I have to use PHP 8.0 for other plugin.
Thanks to look at this problem
PhilippeWhen running PHP 8.1 I got the following error:
JQMIGRATE: Migrate is installed, version 3.3.2 jquery.min.js?ver=3.6.1:2 jQuery.Deferred exception: moment is not defined ReferenceError: moment is not defined .... undefined S.Deferred.exceptionHook @ jquery.min.js?ver=3.6.1:2 jquery.min.js?ver=3.6.1:2 Uncaught ReferenceError: moment is not defined at HTMLDocument.<anonymous> ((index):171:33) at e (jquery.min.js?ver=3.6.1:2:30038) at t (jquery.min.js?ver=3.6.1:2:30340) Failed to load resource: the server responded with a status of 500 ()
and the debug info are :
Fatal error: Uncaught Exception: Unknown or bad format (PTP1DH) in /home/pzlv7168/public_html/wp-content/plugins/events-manager/classes/em-datetime.php:259 Stack trace: #0 /home/pzlv7168/public_html/wp-content/plugins/events-manager/classes/em-datetime.php(259): DateInterval->__construct() #1 /home/pzlv7168/public_html/wp-content/plugins/events-manager/classes/em-booking.php(1104): EM_DateTime->sub() #2 /home/pzlv7168/public_html/wp-content/plugins/events-manager/templates/templates/my-bookings.php(67): EM_Booking->can_cancel() #3 /home/pzlv7168/public_html/wp-content/plugins/events-manager/events-manager.php(743): include('/home/pzlv7168/...') #4 /home/pzlv7168/public_html/wp-content/plugins/events-manager/em-template-tags.php(472): em_locate_template() #5 /home/pzlv7168/public_html/wp-content/plugins/events-manager/em-events.php(110): em_my_bookings() #6 /home/pzlv7168/public_html/wp-includes/class-wp-hook.php(308): em_content() #7 /home/pzlv7168/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #8 /home/pzlv7168/public_html/wp-includes/post-template.php(255): apply_filters() #9 /home/pzlv7168/public_html/wp-content/themes/hello-elementor/template-parts/single.php(23): the_content() #10 /home/pzlv7168/public_html/wp-includes/template.php(785): require('/home/pzlv7168/...') #11 /home/pzlv7168/public_html/wp-includes/template.php(718): load_template() #12 /home/pzlv7168/public_html/wp-includes/general-template.php(204): locate_template() #13 /home/pzlv7168/public_html/wp-content/themes/hello-elementor/index.php(21): get_template_part() #14 /home/pzlv7168/public_html/wp-includes/template-loader.php(106): include('/home/pzlv7168/...') #15 /home/pzlv7168/public_html/wp-blog-header.php(19): require_once('/home/pzlv7168/...') #16 /home/pzlv7168/public_html/index.php(17): require('/home/pzlv7168/...') #17 {main} thrown in /home/pzlv7168/public_html/wp-content/plugins/events-manager/classes/em-datetime.php on line 259 Il y a eu une erreur critique sur ce site.
- The topic ‘critical error with ‘my booking’ PHP 8.1’ is closed to new replies.