-
AuthorPosts
-
January 6, 2016 at 3:08 am #839649
hello
the site I am working on was recently compromised so we moved it to a new server. unfortunately, that server only offered php 5.6.14 and I believe that may be causing some deprecation warnings when using the k2 filter component. the site is using joomla 3.2.3 and I am unable to upgrade it because of some major customizations that were done. I renewed my subscription today hoping a newer version would fix the issue, but it’s still showing the warnings. is there a way I can turn off the deprecation warnings? the search seems to work even with those, so I am hoping it is something easily hidden.here is an example of the warnings:
Deprecated: Non-static method modK2FilterHelper::pull() should not be called statically, assuming $this from incompatible context in …./plugins/system/k2filter/K2Filter/models/itemlistfilter.php on line 1017Deprecated: Non-static method JApplicationSite::getMenu() should not be called statically, assuming $this from incompatible context in …./plugins/system/k2filter/K2Filter/views/itemlist/view.html.php on line 585
Deprecated: Non-static method JApplicationCms::getMenu() should not be called statically, assuming $this from incompatible context in …./libraries/cms/application/site.php on line 250
Deprecated: Non-static method JApplicationSite::getMenu() should not be called statically, assuming $this from incompatible context in …./plugins/system/k2filter/K2Filter/views/itemlist/view.html.php on line 680
thanks
robbLuna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
January 7, 2016 at 9:17 am #840741January 7, 2016 at 8:14 pm #841282now I feel silly!
the configuration > server > error reporting was already set to none, so I couldn’t figure why it was displaying errors still.
when I located the file (you were right… it wasn’t yours after all) there was some hardcoding to turn error reporting on. I removed that and it’s now working.
sorry to have wasted your time 🙁
thanks
robbLuna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
January 8, 2016 at 4:40 am #841581 -
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by Luna Garden 8 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum