Support » Localhost Installs » $wbdb "uid=33(www-data) gid=33(www-data)"

  • WordPress database error: [Unknown column ‘uid=33(www-data) gid=33(www-data) groups=33(www-data) ‘ in ‘field list’]

    The rest of the site works fine, it is localhost, but for testing purpose to put it on life site.

    Using this code (below) this shows up in my screen, what am i doing wrong, the code is in my functions.php

    $categories = get_categories();
    foreach ( $categories as $category ) {
    	if ($category->parent == '0') {
    	echo $category->cat_name." Created <br/>";
    			'fwp_bp_groups', // Table name
    					'id' => $category->cat_ID,
    					'creator_id' => '2',
    					'name'=> $category->cat_name,
    					'slug'=> $category->slug,
    					'description' => $category->description,
    					'status' => 'public',
    					'date_created' => bp_core_current_time()
    			), // Columns
    					'%d', '%d', '%s', '%s', '%s', '%s', '%d'
    			) // Explicit formatting
    	groups_update_groupmeta( $category->cat_ID, 'total_member_count', 1 );
    	groups_update_groupmeta( $category->cat_ID, 'last_activity', bp_core_current_time() );
    	} else  {
    		echo $category->cat_name." is a subcat<br/>";
    		// I do not want subcategories for now
  • The topic ‘$wbdb "uid=33(www-data) gid=33(www-data)"’ is closed to new replies.