Problem with Online page and Admin Profiles?

Forum
Last Post
Threads / Messages

KittHaven

Member
Member
Joined
May 21, 2013
Messages
478
Points
28
Age
25
Location
Devon, UK
Mysidian Dollar
8,292
I have another problem... :cfrown:

Whenever I am on the online page (when I click on the This site has _ members and _ guests online) it has this on the header:

Warning: Invalid argument supplied for foreach() in /home/yurashx1/public_html/classes/class_userprofile.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /home/yurashx1/public_html/classes/class_userprofile.php:23) in /home/yurashx1/public_html/classes/class_view.php on line 257

( The foreach says = foreach ($row as $key => $val) Don't know if that is right or not...)

My other problem is when I am on an Admin's profile (mine and my friends). I wanted to see what adoptsables she had adopted, as part of a test, and it came up with this:

Warning: Invalid argument supplied for foreach() in /home/yurashx1/public_html/classes/class_userprofile.php on line 23

Warning: Creating default object from empty value in /home/yurashx1/public_html/classes/class_member.php on line 212

Catchable fatal error: Argument 1 passed to GUIContainer::add() must be an instance of GUIComponent, null given, called in /home/yurashx1/public_html/classes/class_userprofile.php on line 141 and defined in /home/yurashx1/public_html/classes/class_guicontainer.php on line 361

I told her and she tried to go on mine but she got the same problem. I can't even access mine! We have two other members on our site and they aren't Admins and we can access their profiles just fine... help? :catfish:
 
I will look into it at weekend. Have an exam today and another tomorrow, my laptop is having trouble booting too(hopefully does not need more than a simple system restore to fix).
 
Ok, thank you! Luckily we are still working on the art so the problem isn't in DIRE need to be fixed right this minute... I hope that you get your computer to work again! :pleased:
 
Sure I will look into that most likely tomorrow afternoon or evening. Since Friday I've been severely sick, last night I couldnt breathe so it was hard to even fall asleep. Got better slightly since then, but I will see.
 
Alright, send me a PM about your site's url and ftp information, Id like to take a look. It seems that the user's profile table does not store correct information.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,132
Members
1,603
Latest member
Monako
BETA

Latest Threads

Top