Forum Support

Shape 5
April 22, 2021, 08:53:39 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
   Home   Help Search Login Register  
Pages: [1]
Author Topic: Getting error from mod_s5_masonry.php  (Read 383 times)
Jr. Member
Offline Offline

Posts: 39

« on: February 19, 2018, 02:18:05 PM »

We recently started getting and error on our site:

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.

Offline Offline

Posts: 28743

« Reply #1 on: February 27, 2018, 03:18:44 PM »


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".

Mike Knott
Shape 5 Team

- Need a great host for your website? We highly recommend!

- Put your trust in the hands of our extremely qualified staff to get your job done right!

- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.