PHP Fatal error: Call to a member function isAllo

Hi,

I just noticed that user's can not view their mail. Server logs show this:

PHP Fatal error:  Call to a member function isAllowedWarn() on a non-object in /var/www/example.com/templates/base/scripts/BxBaseFunctions.php(131) : eval()'d code on line 1, referer: http://www.example.com/mail.php?mode=trash

Line 131 on BxBaseFunctions is:

$sTransformText =  str_replace( '{' . $sMarkerValue . '}', eval( $sExecuteCode ),  $sTransformText);

Any thoughts?
Quote · 8 Feb 2013

although it is showing as line 131 - it may not actually be that line. I have had instances where an empty line at the beginning of my page - before the <?php gave me an error listed as in the middle of the page.

but the first thing I would do would be to upload a fresh page of mail.php and see if that works

caredesign.net
Quote · 8 Feb 2013

Well in this case it is not that line that is causing it. Most people don't realize it usually never is on the line that is reported on. That line just happens to be the line where the error was detected, not necessarily what caused the error.

It is in the content $sExecuteCode because the error is pertaing to code in the eval.

And the function throwing the error is isAllowedWarn() which is not in dolphin. Any version of dolphin. Not that i can find. So the error has to be with a 3'rd party module.

If you have a local copy of your site, then search for that function with a utility such as agent ransack to find out what module it's declared in, then contact the developer of that module.


https://www.deanbassett.com
Quote · 8 Feb 2013

deano - could you adopt me and bestow just a lil of your knowledge and experience on me please.

caredesign.net
Quote · 8 Feb 2013

Great tip Deano. Happened to be in one of modzzz new modules. I uninstalled it, but I guess it's leaving something behind... Oh well, at least mail is working again for now, I'll figure out how to get rid of it...

Quote · 8 Feb 2013
 
 
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.