Fatal error on Bookings Dashboard
-
Hi Guys –
I just started using your plugin to manage the events for my organization. The functionality seems very thorough and it worked well during my testing. Thanks for developing it! But after I deployed it, I started getting a fatal error.
When going to the all-events Bookings Dashboard, Events -> Bookings, https://mysite/wp-admin/edit.php?post_type=event&page=events-manager-bookings, a title and then a blank page is displayed. No bookings are shown.
But if I first go to a single event, then to the bookings page from there, Events -> Events -> select one event -> View Bookings, https://mysite/wp-admin/edit.php?post_type=event&page=events-manager-bookings&event_id=3&ticket_id=3, I then can see the bookings for that event.
Also, when I go to the all-events Bookings Dashboard I get an email with the following error:
Howdy! Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email. In this case, WordPress caught an error with one of your plugins, Events Manager. First, visit your website (https://mysite/) and check for any visible issues. Next, visit the page where the error was caught (https://mysite/wp-admin/edit.php?post_type=event&page=events-manager-bookings) and check for any visible issues. Please contact your host for assistance with investigating this issue further. If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further. https://mysite/?page_id=373&action=enter_recovery_mode&rm_token=k0gNu76hpeALQX4iBV4IP3&rm_key=szpppXvc5LTkJ9WHCXFeQ3 To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires. When seeking help with this issue, you may be asked for some of the following information: WordPress version 6.1.1 Active theme: OceanWP Child (version 3.1.2.1642027616) Current plugin: Events Manager (version 6.3) PHP version 8.0.27 Error Details ============= An error of type E_ERROR was caused in line 963 of the file /var/www/wp-content/plugins/events-manager/admin/dashboard.php. Error message: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /var/www/wp-content/plugins/events-manager/admin/dashboard.php:963 Stack trace: #0 /var/www/wp-content/plugins/events-manager/admin/dashboard.php(963): implode(‘,’, ‘all’) #1 /var/www/wp-content/plugins/events-manager/admin/em-bookings.php(64): EM\Admin\Dashboard::output(‘dashboard’) #2 /var/www/wp-content/plugins/events-manager/admin/em-bookings.php(45): em_bookings_dashboard() #3 /var/www/wp-includes/class-wp-hook.php(308): em_bookings_page(”) #4 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #5 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /var/www/wp-admin/admin.php(259): do_action(‘event_page_even…’) #7 /var/www/wp-admin/edit.php(10): require_once(‘/var/www/wp-adm…’) #8 {main} thrown
Have you seen this issue before? Any suggestions?
Thanks!
Mike
- The topic ‘Fatal error on Bookings Dashboard’ is closed to new replies.