Error code on startup template

October 2012 Joomla Template
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
Thu Mar 19, 2015 10:04 pm
Reply with quote
Report this post
Hi. Does anyone now why I get this error code:

Deprecated: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /customers/a/2/6/malgovik-vvo.se/httpd.www/templates/gk_startup/lib/framework/helper.layout.php on line 113 Deprecated: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in /customers/a/2/6/malgovik-vvo.se/httpd.www/includes/application.php on line 536

You can find it on www.malgovik-vvo.se
User avatar
Junior Boarder

GK User
Thu Mar 19, 2015 10:49 pm
Reply with quote
Report this post
Hi,
did you changed PHP version?
Or your admin did it without asking you?

Please go back to PHP 5.5 (!)
----
or
Please edit: templates/gk_startup/layout/default.php and add this line at the top of this file right after the <?php phrase:

Code: Select all
ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT);
ini_set('display_errors','Off');


This removes the errors
User avatar
Platinum Boarder


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