ERROR Message on Edit Profile Page


Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/sitex/public_html/sitex/inc/utils.inc.php on line 268

Warning: Cannot modify header information - headers already sent by (output started at /home/sitex/public_html/sitex/inc/utils.inc.php:268) in /home/sitex/public_html/sitex/inc/design.inc.php on line 133


Hi guys,

I get the above error message at the top of the page whenever the edit profile page is accessed. Otherwise, the page loads and functions normally. Please advise.

Thanks!

Quote · 19 Sep 2011

Actually, everything is fine when signed on as an admin, where the fields are different. When signed in as a member, the error message appears, and the Manage Avatars and Manage Membership blocks do not appear as expected.

Quote · 19 Sep 2011

I got rid of the error message by adding the area highlighted in red as suggested by deano, but I'm still missing the avatar and membership admin blocks.

function htmlspecialchars_adv( $string ) {
    return htmlspecialchars((string)$string, ENT_COMPAT, 'UTF-8');

Quote · 19 Sep 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.