PHP 5.6 Error

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri May 27, 2016 9:13 pm
Reply with quote
Report this post
Hi guys......the server just got upgraded to PHP 5.6 and all was well except the template:

Code: Select all
Deprecated: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /home/andaldi/public_html/home/templates/gk_rockwall/lib/framework/helper.layout.php on line 150 Deprecated: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in /home/andaldi/public_html/home/includes/application.php on line 536 Deprecated: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /home/andaldi/public_html/home/templates/gk_rockwall/lib/framework/helper.layout.php on line 150 Deprecated: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in /home/andaldi/public_html/home/includes/application.php on line 536


Can you advise on a fix for this?
User avatar
Fresh Boarder

teitbite
Wed Jun 01, 2016 10:00 am
Reply with quote
Report this post
Hi

This is not really an error, but a notification. It's caused by a different programming style. Try simply disable showing errors in joomla global configuration in server section.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.