Duck Tape doesn't fix Avatars! [Solved]

While trying to fix avatars not showing for some people I search around and found this "fix"
http://www.integramod.com/forum/viewtop ... =18&t=5551
Unfortunately I now have more problems and I cant undo what I did.
on top of my site are these messages
The wizard used is broken and filled with those too.
To top it all off, now no one can see avatars or anything related to that side box where the avatar, region, age etc would go.
On a side note:
How do I make it so the site images work just the same as http://www.mysiteexample.com. It seems they break when you skip out on the "www.".
http://www.integramod.com/forum/viewtop ... =18&t=5551
Avatars are set to display by default when "Display my web information" is selected. If you want them to display all the time regardless,
First check your chmods for PCP
666 profilcp/functions_profile.php
777 profilcp/def
666 profilcp/def/def_userxxxxxx.php
Then go to
acp/P.C.P./PCP Wizard/Alter Page Display
the first page you should see is"Profile>>Public>>Base Info>>Avatar"
where it says"Display When:" set it to "Display Always"
Unfortunately I now have more problems and I cant undo what I did.
on top of my site are these messages
Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/content/18/6242218/html/profilcp/functions_profile.php on line 1031
Warning: array_filter() [function.array-filter]: The first argument should be an array in /home/content/18/6242218/html/profilcp/functions_profile.php on line 1031
Warning: Cannot modify header information - headers already sent by (output started at /home/content/18/6242218/html/profilcp/functions_profile.php:1031) in /home/content/18/6242218/html/includes/page_header.php on line 1161
Warning: Cannot modify header information - headers already sent by (output started at /home/content/18/6242218/html/profilcp/functions_profile.php:1031) in /home/content/18/6242218/html/includes/page_header.php on line 1163
Warning: Cannot modify header information - headers already sent by (output started at /home/content/18/6242218/html/profilcp/functions_profile.php:1031) in /home/content/18/6242218/html/includes/page_header.php on line 1164
The wizard used is broken and filled with those too.
To top it all off, now no one can see avatars or anything related to that side box where the avatar, region, age etc would go.
On a side note:
How do I make it so the site images work just the same as http://www.mysiteexample.com. It seems they break when you skip out on the "www.".