thanks for sharing your script with us. It’s totally normal that this script results in a blank screen because it does not do any output.
So once you have requested it, it should have created the groups.
UPDATE:
If it did not create the groups, then the script failed. It’s highly likely you’ve made an error. Ensure that you can see all errors, so check the error log or enable error displaying and reporting for that file. This is some runtime configuration for a starter:
ini_set('display_errors', true);
error_reporting(E_ALL);
Related Posts:
- How to get a buddypress user profile link and a certain user profile field for the current post author?
- BuddyPress: Adding a new tab in groups
- BuddyPress: hook to add new profile fields and groups
- Syncing BuddyPress and WordPress profile fields [closed]
- What problems can BuddyPress make? [closed]
- What’s the easiest way to change the default landing page for BuddyPress groups?
- Rename Buddypress Profile Tab
- How to re-enable admin bar with Buddypress active? (BP bar removed) [closed]
- How to ensure buddypress custome profile field is unique
- Show buddypress notification in the frontend [closed]
- Posting Photos and Other Attachments in a BuddyPress Forum?
- Redirect after registration in BuddyPress [closed]
- Remove tabs from buddypress groups and members pages [closed]
- changing the signup button url in WPMU/Buddypress
- Buddypress profile pictures sync across WordPress Multisite Network
- Exclude User from Activity Stream in BuddyPress?
- Conditional based on the User Role of the Current Profile the user is viewing – BuddyPress [closed]
- BuddyPress: What is the use of is_default_option field in wp_bp_xprofile_fields table? [closed]
- How do I find the bbpress forum ID for a forum in a buddypress group?
- How to make a Discussion Group ”Sticky” in BuddyPress [closed]
- Can’t Find BBPress data in Database
- Buddypress register.php user redirect [closed]
- How to get user id which is done by buddypress [closed]
- BuddyBoss (BuddyPress / bbPress) moderation filters not doing anything
- How to add a count in a custom tab in a Buddypress group
- Show activities of defined BuddyPress groups [closed]
- Add an extra field to BuddyPress activity form
- How to create a theme specific translation of buddypress? [closed]
- Remove post content from buddypress activity [closed]
- BuddyPress Toolbar
- Does BuddyPress Have An Action Hook for remove_user? [closed]
- how to remove mandatory required fields in buddypress registration [closed]
- Show Specific Buddypress Group Activity Stream in page template
- Buddypress dynamic profile field
- Is it possible to remove ‘group’ from slug for buddypress groups
- Wrong path when adding custom tab in BuddyPress [closed]
- Empty “Forums” page BuddyPress site wide forums – bbPress [closed]
- Add excerpt and post thumbnail to Buddypress blog directory page [closed]
- How to set up WordPress in the intranet?
- How can I display the total number of favorites for any particular buddypress activity stream post? [closed]
- Can I develop a social networking Site using WordPress and its Plugins? [closed]
- How to bring registration field to index page? [closed]
- Buddypress create custom tab on my profile and add on home page [closed]
- Integration of Cubepoints/Achievements
- BuddyPress/bbpress: There was an error when creating the topic
- Fire curl command everytime new user is created
- Save buddypress xprofile data to author meta
- How to get all logged in user id in buddypress [closed]
- bp_has_members with custom fields [closed]
- Pre-populate BuddyPress Member Profile Data in Gravity Forms [closed]
- conditional activity page for buddypress [closed]
- BuddyPress user custom url structure , any one knows filter for bp_core_get_userlink [closed]
- Buddypress – Add activity scope [closed]
- Buddypress get data from wp_bp_groups_members table [closed]
- How to send a BuddyPress user a notification on a plugin event? [closed]
- How to: get_user_meta – BuddyPress [closed]
- Where do I edit the user profile with Buddypress? [closed]
- Change Buddypress Activity Stream Date format [closed]
- how to find the current page is isngle activity page in buddypress? [closed]
- Buddypress: remove forum tab in user profile page? [closed]
- Noob Question – Buddypress Dynamic content on static page
- How do you remove the buddypress group avatar from the activity stream post? [closed]
- Using wp-postratings to rate user on profile pages [closed]
- How to remove ( 0, 0 ) from forum page in bbpress [closed]
- Buddypress Group creation step reordering [closed]
- BuddyPress redirecting to home page on login [closed]
- Buddypress integration with wordpress
- Set default landing page for buddypress member profile
- How to filter members by xprofile field via BuddyPress REST API
- bp_core_new_subnav_item shows new group tab but returns 404 when the tab runs. Works on another page
- Return instead of echo
- permalink for group type
- How can I display list of notifications of buddypress in a single page or post
- Buddypress: Filter Members Based on If They Have Posts
- send reply message by thread id in buddypress
- New accounts daily at WP Multi-User site under development, Analytics reports no traffic. What gives?
- How to display profile fields with no data in BuddyPress profile view? [closed]
- is it possible to add_action via template.php rather than function.php for this specific buddypress hook?
- Send a specific email in HTML and the rest in plain text
- disable plugin in specific dynamic buddypress pages
- Deregister script on specific user’s BuddyPress page
- Serve WordPress in root path of Apache
- How to add username in toolbar link?
- How to update avatar in buddypress programmatically? [closed]
- How to: When a bp Group created, automatically create a wp category [closed]
- Certain BuddyPress Member Profile Data Getting Hyperlinked [closed]
- Buddypress Adding a Nav item and Calling Custom Fields [closed]
- I used the Buddypress Message Compose to send a site wide email to all members wasnt sent tho [closed]
- Allowing users to add HTML to BP Groups Description how can I error check html of users? [closed]
- buddypress edit profile [closed]
- BuddyPress Component Slug 404 [closed]
- Weird google bot crawl problem
- Delete user account – If user has attachments uploaded then redirect (with a message) [closed]
- Add Sub Nav Menu Item to Buddy Press Menu [closed]
- Set maximum number of letters limit on xprofile fields [closed]
- Target “admins” with different styles on the front end [closed]
- BuddyPress – Message’s Send To auto-fill functionality not working
- Is There A List Of What Buddypress Template Files Go Where And What They’re To Be Renamed?
- BuddyPress Xprofile Field Meta Key?
- Remove user from group after X days buddypress