Page 1 of 1

Warning or error in MetaMax module [solved, was a warning]

Posted: Fri Jan 15, 2016 5:03 pm
by master3395
Hi. I'm running CMS Made Simple 2.1.1
I'm using PHP 5.5.26
and MYSQL VERSJON 5.1.61
Linux
MetaMax 2.1.4

Strict Standards: Only variables should be assigned by reference in /home/u227622376/public_html/modules/MetaMax/action.default.php on line 16

I don't know what it does, but it looks ugly to have on the front page of my website.
I hope someone can help me atleast get the message away.

Re: Warning or error in MetaMax module

Posted: Fri Jan 15, 2016 6:41 pm
by Jos
The MetaMax module doesn't seem to be tagged as CMSMS 2 ready yet.
http://dev.cmsmadesimple.org/projects/metamax
I noticed you already filed a bug so the module devoloper has been alerted.

Re: Warning or error in MetaMax module

Posted: Fri Jan 15, 2016 7:17 pm
by master3395
It doesn't look like he know's how to fix it, when he is using a custom php, were errors aren't enabled.

We others, that use hoster's that show's errors, get's the error, it has been listed in the other bug post.

I just hope he takes a look at my new request.

Re: Warning or error in MetaMax module

Posted: Fri Jan 15, 2016 8:07 pm
by Rolf
You could hide the warning by adding to the config.php:

Code: Select all

error_reporting(E_ERROR & ~E_DEPRECATED & ~E_NOTICE);
I your webhost allows it...

Re: Warning or error in MetaMax module

Posted: Fri Jan 15, 2016 8:55 pm
by master3395
@Rolf

Thanks, it works.

I still don't know if it's just a warning or if it's a error.

Re: Warning or error in MetaMax module

Posted: Sat Jan 16, 2016 4:23 am
by Jeff
It is just a warning, actually more like a notice.

It isn't suggested to have STRICT turned on for Production sites.