Change WordPress user roles and capabilities Forums Bug Reports When URE is enabled WpUltimo throws an error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #7549

    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;
    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.



    Is WpUltimo alailable at or is it commercial product. I need access to its copy to check the issue.

    Can you share the full stack of from PHP. It should show from where remove_user_from_block() function is called and what code send to it WP_Error object instead of integer value in $user_id variable.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.