bug after updating to PHP 5.6

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
Tue Feb 24, 2015 4:36 pm
Reply with quote
Report this post
Hi,

Deprecated: Non-static method JApplicationSite::getMenu() should not be called statically, assuming $this from incompatible context in /customers/0/1/a/burenco.com/httpd.www/templates/gk_magazine/lib/framework/helper.layout.php on line 150 Deprecated: Non-static method JApplicationCms::getMenu() should not be called statically, assuming $this from incompatible context in /customers/0/1/a/burenco.com/httpd.www/libraries/cms/application/site.php on line 279 Deprecated: Non-static method JApplicationSite::getMenu() should not be called statically, assuming $this from incompatible context in /customers/0/1/a/burenco.com/httpd.www/templates/gk_magazine/lib/framework/helper.layout.php on line 150 Deprecated: Non-static method JApplicationCms::getMenu() should not be called statically, assuming $this from incompatible context in /customers/0/1/a/burenco.com/httpd.www/libraries/cms/application/site.php on line 279


What can be done to fix this? I updated everything and also set error reporting on none, with no result

Hope you can help.

Thank you
User avatar
Senior Boarder

GK User
Wed Feb 25, 2015 1:00 am
Reply with quote
Report this post
Hi,
sorry, but we don't support PHP 5.6 yet in all templates,
and Magazine is quite old .... .

But sure I will ask developer what we can do with that
right now I suggest use PHP 5.5 version.

:mrgreen: You don't have to Geek (Speedy Gonzales) all the time. :mrgreen:
User avatar
Platinum Boarder

GK User
Wed Feb 25, 2015 10:09 am
Reply with quote
Report this post
Hi Oscar,

What do you mean with you don't have to Geek all the time?

And webhost uses 5.6 now so update was their move , that is why this has become a problem. I don't think i can use 5.5 but could ask them to be sure.

Otherwise is there something i could do as a quick temporary fix?
User avatar
Senior Boarder

GK User
Wed Feb 25, 2015 10:51 am
Reply with quote
Report this post
Temporary fix , hmm...
only GK Developer can do this ....
And he is on travel to WP Conference. So probably on Monday you can get a solution.

I suggest to ask hosting for PHP 5.5 again.
User avatar
Platinum Boarder

GK User
Wed Feb 25, 2015 10:53 am
Reply with quote
Report this post
I'm not sure if this will help but .....
try solution #3 from: https://www.gavick.com/documentation/un ... tic-method
User avatar
Platinum Boarder

GK User
Wed Feb 25, 2015 12:00 pm
Reply with quote
Report this post
yeah already tried to error reporting solution, did not work unfortunately. I will check the webhost for temporary solution and hopefully monday a definitive solution can be found. thanks so far.
User avatar
Senior Boarder

GK User
Wed Feb 25, 2015 6:48 pm
Reply with quote
Report this post
I talked with developer he was in travel...
but he suggested to disable display notices, deprecated and strict standards

you can ask your hosting support how to do this in right way on their (and your) server.
I'm not PHP developer so I only wrote what I got from him. :whistle:
User avatar
Platinum Boarder


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