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]
  Print  
Author Topic: Getting error from mod_s5_masonry.php  (Read 383 times)
elliottben
Jr. Member
**
Offline Offline

Posts: 39



« on: 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
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: 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".
Logged

Mike Knott
------------
Shape 5 Team

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


- 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]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
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.