fatal error

By the way, I also bought this plugin.
I exported groups from a sitoweb.
But if I try to import groups from the following error:

Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /home/freechat/public_html/wp-content/plugins/groups/lib/admin/class-groups-admin-user-profile.php:106 Stack trace: #0 /home/freechat/public_html/wp-includes/class-wp-hook.php(298): Groups_Admin_User_Profile::user_register(1009) #1 /home/freechat/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2 /home/freechat/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/freechat/public_html/wp-includes/user.php(1707): do_action(‘user_register’, 1009) #4 /home/freechat/public_html/wp-content/plugins/groups-import-export/lib/core/class-groups-user-import.php(401): wp_insert_user(Array) #5 /home/freechat/public_html/wp-content/plugins/groups-import-export/lib/core/class-groups-user-import.php(287): Groups_User_Import::insert_user(Array) #6 /home/freechat/public_html/wp-content/plugins/groups-import-export/lib/core/class-groups-user-import.php(78): Groups_User_Import::import_users(false) #7 /home/f in /home/freechat/public_html/wp-content/plugins/groups/lib/admin/class-groups-admin-user-profile.php on line 106

3 Responses to fatal error

  1. George May 22, 2017 at 8:45 am #

    Hi Gianmaria,

    Indeed, Groups Import Export can import users and groups.
    Please note that since Groups 2.x.x a new model has been introduced where restrictions are based on Groups and not capabilities. There is still legacy support for capabilities but we have also made a migration guide here on how to move to the new model seemlessly.

    Cheers,
    George

  2. Gianmaria May 19, 2017 at 9:15 am #

    Thank you worked.
    I still have a question.
    All the groups have been imported into the new site.
    But if I go on groups, this right appears on the right :”This group has no capabilities.”
    So does the plugin import groups but not the capabilities?

  3. George May 19, 2017 at 8:40 am #

    Hi Gianmaria,

    Please visit your Dashboard and under Groups > Options disable the option to Show groups in user profiles.. Then try to import your users with Groups Import Export and after that enable the option again if needed.

    This is a known issue with current version of Groups which will be fixed in a future update of the plugin.

    Kind regards,
    George

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share