Shape 5

Joomla Templates => Regan Tech - Club => : elliottben February 19, 2018, 02:18:05 PM



: Getting error from mod_s5_masonry.php
: elliottben February 19, 2018, 02:18:05 PM
We recently started getting and error on our site: http://triadtestsite.com/atlas/index.php?option=com_content&view=article&id=73&Itemid=577&lang=en

Deprecated: Non-static method mods5MasonryHelper::getCategory() should not be called statically in /home/triadinc/public_html/atlas/modules/mod_s5_masonry/mod_s5_masonry.php on line 18

Warning: usort() expects parameter 2 to be a valid callback, non-static method mods5MasonryHelper::cmp() should not be called statically in /home/triadinc/public_html/atlas/modules/mod_s5_masonry/helper.php on line 291

Please let us know how to fix.

Thanks


: Re: Getting error from mod_s5_masonry.php
: mikek February 27, 2018, 03:18:44 PM
Hello,

I am sorry your post was overlooked. Non-static method warnings are usually due to a php configuration issue on the server. They are dev warnings, and not necessarily errors in the code. The easiest thing to do is just turn off warning messages in the Joomla configuration by going to the Joomla global configuration/Server tab/and set " Error Reporting" to "none".