Upgraded to WPMU 2.7 now I have an error
When you try to sign up onthe signup page here is the error…. thoughts?
Warning: Invalid argument supplied for foreach() in /home/exbriefc/public_html/wp-content/mu-plugins/bp-xprofile/bp-xprofile-signup.php on line 104
Turn off all the ‘independent scripts that have nothing to do with signup’ and test. Then
one by one put back the original files and test again. Start with the obvious one wp-signup.php.
lol. ok i will do that. these independent scripts are in their own files, so they are not CHANGES to any original files.
ok, i tried all that……nothing. This is crazy. Want to take a look at all the files in the theme? Maybe you will see something that I am missing…trust me this would not be impossible. I am really not even close to being an expert on this. I can zip them and send them over let me know.
Nope. Your problem you debug it. That’s the way you get better at this stuff. Growth in any endeavor is painful. Find the bug and kill it dead.
ok, I have been trying for over a week but I guess I will keep plugging away. thanks. This blows! lol
Welcome to web development.
lol. Unfortunately I really have no clue what I am doing. If I actually knew a little I might be better at figuring this all out. I will most likely end up creating a larger problem troubleshooting this!!!! LOL.
I might have to go back to the old BP and just be inferior.
ok, I have noticed something that I can not explain. When I use the defautl theme the signup works fine. However when I use the custom theme and it calls up wp-signup.php the “Name” field is missing on the signup page. Any idea why that is happening? It hink its related somehow.
the error is fixed when I remove this script I added to the header.php. Can anyone help me modify this to make it function correctly? Its an essential part of the site and it worked fine with MU 2.6 and BP Beta 1. the part of the code that is BOLD is the problem. the rest of the code is to show you where I have it in the file.
<div id=”header” onclick=”location.href=’http://ex-brief.com/’;” style=”cursor: pointer;”>
$stats = get_sitestats();
echo “”.$stats[ ‘users’ ].” Members”;
@mysql_select_db($database) or die( “Unable to select database”);
$result = mysql_query(“SELECT * FROM contacts”);
$num_rows = mysql_num_rows($result);
<div class=”description”><?php bloginfo(‘description’); ?></div>
The topic https://buddypress.org/forums/topic.php?id=843 has been closed and i feel sorry for it, because with my later installation wp MU 2.7 + BP bÃ©ta 2, i’m still having this error msg :
Warning: Invalid argument supplied for foreach() in /home/np5397/domains/blogi.ee/public_html/wp-content/mu-plugins/bp-xprofile/bp-xprofile-signup.php on line 104
when creating a new blog
that cause several issues :
– can’t edit the profiles, create a group
– blogs are created but aren’t showing in the recent activity, neither in the blogs tabs or in his owner’s profile
– can’t send a message, invite somebody to be friend, etc
it seems that i have no x-profile tables in my db like burtadsit asks
here is the list of the tables in my db ; can’t see it
please how can i create manually those tables in my sqlDB ?
thanks for any advice
- The topic ‘Upgraded to WPMU 2.7 now I have an error’ is closed to new replies.