MyBB Community Forums

Full Version: Error message on user profile
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For some reason I seem to get an error message when I visit dome of my users profiles.

My forum if located at http://www.ihubhost.net/forum

This is an upgrade from MyBB 1.4.x and it was not happening then.

This is the error I get:
Quote:The following warnings occurred:
Warning [2] Cannot use a scalar value as an array - Line: 520 - File: inc/functions_online.php PHP 5.2.9 (Linux)
File Line Function
/inc/functions_online.php 520 errorHandler->error
/member.php 1603 build_friendly_wol_location

[Image: errorwi.th.jpg]
BUMP!
This has been open for 10 days and no support, I appreciate that the support are volentiers, but this is annoying.
Try reuploading those files from a fresh download - member.php and ./inc/functions_online.php

If that makes no difference, in ./inc/init.php, find:
define("TIME_NOW", time()); 

Add after:
define("NO_PLUGINS", 1); 

If it's okay after doing this, it's a plugin, if it still happens, it's something else.
I think it may have been the theme as I have changed the theme and it is not happening anymore.