Logout error
An error occured in a database query!
Context:
File /tiki-logout.php
Url /tiki-logout.php
Query: select `groupHome` from `users_groups` where `groupName`=?
Values: 0 Anonymous
Message: Error Message: Warning: mysql error: in query:
select `groupHome` from `users_groups` where `groupName`=?
in /home/iotopia/public_html/lib/tikidblib.php on line 134
aditionlly to this error, when I try to logout again (after the first failed logout), the next lines appears at bottom of the current page:
array(3) {
0=>
array(6) {
%22file%22=>
string(43) "/home/iotopia/public_html/lib/tikidblib.php"
%22line%22=>
int(109)
%22function%22=>
string(9) "sql_error"
%22class%22=>
string(8) "UsersLib"
%22type%22=>
string(2) "->"
%22args%22=>
array(3) {
0=>
&string(58) "select `groupHome` from `users_groups` where `groupName`=?"
1=>
&array(1) {
0=>
string(9) "Anonymous"
}
2=>
&bool(false)
}
}
1=>
array(6) {
%22file%22=>
string(42) "/home/iotopia/public_html/lib/userslib.php"
%22line%22=>
int(1252)
%22function%22=>
string(6) "getOne"
%22class%22=>
string(8) "UsersLib"
%22type%22=>
string(2) "->"
%22args%22=>
array(2) {
0=>
&string(58) "select `groupHome` from `users_groups` where `groupName`=?"
1=>
&array(1) {
0=>
string(9) "Anonymous"
}
}
}
2=>
array(6) {
%22file%22=>
string(41) "/home/iotopia/public_html/tiki-logout.php"
%22line%22=>
int(32)
%22function%22=>
string(14) "get_group_home"
%22class%22=>
string(8) "UsersLib"
%22type%22=>
string(2) "->"
%22args%22=>
array(1) {
0=>
&string(9) "Anonymous"
}
}
}
Someone have a solution to avoid this error?