Hi, I use WpUltimo to sell subsite subscriptions and each plan has a user role assigned. User roles have been created with the User Role Editor Pro plugin and each role has specific capabilities. When the user subscribes to a plan with the WpUltimo, he cannot procceed to the final step because of an error. While debuging I get this notice “Notice: Object of class WP_Error could not be converted to int in /home/youform/public_html/wp-includes/ms-functions.php on line 249” and while checking the file the lines there are the followings:
245. function remove_user_from_blog( $user_id, $blog_id = 0, $reassign = 0 ) {
246. global $wpdb;
247.
248. switch_to_blog( $blog_id );
249. $user_id = (int) $user_id;
If I disable the URE plugin the proccess is finished as it should be.
Thanks.