error on the frontpage

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 Jul 09, 2015 1:52 pm
Reply with quote
Report this post
I am getting this on the frontpage:

Deprecated: Non-static method JApplicationSite::getMenu() should not be called statically, assuming $this from incompatible context in /nfsmnt/hosting1_2/1/1/117abea3-477e-4aff-8f06-726eeab141f2/evs.sk/sub/chcemviac/templates/gk_musicstate/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 /nfsmnt/hosting1_2/1/1/117abea3-477e-4aff-8f06-726eeab141f2/evs.sk/sub/chcemviac/libraries/cms/application/site.php on line 272

the web is http://www.chcemviac.com,
I have tried restoration of older backup file, restored older database, but nothing has helped.
thanks for answer.
User avatar
Expert Boarder

GK User
Thu Jul 09, 2015 5:13 pm
Reply with quote
Report this post
Those are not errors, just php warnings. Please disable them in Joomla configuration.
User avatar
Moderator

GK User
Mon Jul 13, 2015 8:55 am
Reply with quote
Report this post
I did disable them in admin, but still appeared (I don't know why), so I then found a solution - rewrote the php code that caused the warning.
User avatar
Expert Boarder

GK User
Mon Jul 13, 2015 11:41 am
Reply with quote
Report this post
Hmm... Its strange - maybe you have hosting specific php configuration which forces all warnings to show?
Either case, you have solved it out differently.
If you have any additional questions regarding this topic, please let me know.
User avatar
Moderator


cron