WP 4.6 – Multiple Bookings Mode Problems?
-
Hi, I have just updated WordPress to 4.6 and I think it has caused problems with Multiple Bookings Mode (Pro version).
– I can’t book any events (single or multiple) and get the following error message when clicking the Book button more than once “You cannot manage this Booking.”
Has anybody else experienced problems?
-
OK, I rolled WP back to 4.5.3 and everything is working again – so looks like there is a bug/issue with WP 4.6.
I’m not able to replicate this issue. Can you give us more info on exactly what’s happening / not happening?
We are having similar issues. We just updated to WP 4.6, and then a lot of errors are coming.
Please take a look some of the error:
Warning: array_merge(): Argument #1 is not an array in /home/XXXXXXXX/public_html/wp-includes/theme.php on line 1557 Warning: array_unique() expects parameter 1 to be array, null given in /home/XXXXXXXX/public_html/wp-includes/theme.php on line 1557At this point I already test changing for theme, disable other plugins and this one “Event Manager” and “Event Manager Pro” are causing this errors.
Thank you
Updated to 4.6 this morning on a site with EM 5.6.5 and was greeted with this site crippling message:
Fatal error: [] operator not supported for strings in /home/XXXX/public_html/wp-content/plugins/events-manager/em-posts.php on line 30Taking a look at
em-posts.php, here’s the relevant context for line 30:if( is_array($_wp_theme_features['post-thumbnails']) ){ $post_thumbnails = array_shift($_wp_theme_features['post-thumbnails']); //add to featured image post types for specific themes $post_thumbnails[] = EM_POST_TYPE_EVENT; #30 $post_thumbnails[] = 'event-recurring'; $post_thumbnails[] = EM_POST_TYPE_LOCATION; add_theme_support('post-thumbnails', $post_thumbnails); }What seems to be happening, and your error @tony marray, is that what is happening is it’s using the existing global value of
$_wp_theme_features['post-thumbnails']and retriving the known array of post types with thumbnails. To get mine working and speed it up a bit I changed it so$post_thumbnailsis just a new array to add even managers post types, don’t need to worry about other’s at all:if( is_array($_wp_theme_features['post-thumbnails']) ){ $post_thumbnails = array(); //add to featured image post types for specific themes $post_thumbnails[] = EM_POST_TYPE_EVENT; #30 $post_thumbnails[] = 'event-recurring'; $post_thumbnails[] = EM_POST_TYPE_LOCATION; add_theme_support('post-thumbnails', $post_thumbnails); }No errors, all post thumbnail widgets are loading. Thoughts?
Just a thought, I am using a child Divi theme and there seems to be a lot of people experiencing problems with Divi and WP 4.6.
I will do some more tests and see if this resolves the issue.
Which version of PHP are you guys using?
Hi, I’m using 5.3.3, but do have options for 5.4 and 5.5.
In my case we are using PHP 5.4.
None of those versions should be a problem.
Which payment gateways are you using?
I haven’t seen this problem, so I’m trying to work out if there’s something in common between the different installs.
I’m using “Stripe Gateway – Events Manager Pro” and for better or worse, I have the following plugins active!
CMS Tree Page View
Contact Form 7
Cookie Notice
Events Manager
Events Manager Pro
Flamingo
Google Analytics Dashboard for WP
Google XML Sitemaps
Gravity Forms
Gravity Forms + Stripe
Gravity Forms Capsule CRM Add-On
Gravity Forms Coupons Add-On
Gravity Forms Submit Processing
Gravity Forms User Registration Add-On
Login Logo
Manage Notification E-mails
Members
Print-O-Matic
Simple Download Monitor
Stripe Gateway – Events Manager Pro
TablePress
User Switching
When Last Login
WordPress Database Backup
WP FullCalendar
WP-GPX-MapsAt the very least I’d try testing with the EM Stripe gateway deactivated. We didn’t develop that plugin and we’ve seen a some issues with it-
Hi, just to improve more detail, the versions that we have currently:
– PHP 5.6 (previously was on PHP 5.4)
– WP 4.6
– Events Manager 5.6.5
– Events Manager Pro 2.3.9
– Yellow Project (from ThemeForest)Thank you
@tony marra Which payment gateway are you using?
Everyone, I just fixed my issue following this:
https://wordpress.org/support/topic/em-and-theme-issuesDefinitely is was related with Events Manager.
Thank you!Thanks @tony, I had to roll back 3 sites in the end as 4.6 and EM did not like each other.
I’ll give this a try and let the thread know if it worked.
The topic ‘WP 4.6 – Multiple Bookings Mode Problems?’ is closed to new replies.