- Posts: 10
COMMUNITY FORUM
K2 MultiRate - PHP Deprecated warnings [CLOSED]
- Rob L
-
Topic Author
- Offline
- New Member
Less
More
8 years 10 months ago - 8 years 10 months ago #155940
by Rob L
K2 MultiRate - PHP Deprecated warnings [CLOSED] was created by Rob L
HI all. My host recently updated my PHP to version 5.6.22 and I'm now seeing Deprecated errors for K2. I'm running K2 v7. These errors only appear on my K2 pages and not on any Joomla Articles or non-K2 pages.
Deprecated: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /home/[mysite]/plugins/system/k2multirate/K2Multirate/views/itemlist/view.html.php on line 468
Deprecated: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /home/[mysite]/plugins/system/k2multirate/K2Multirate/views/itemlist/view.html.php on line 563
I have my error reporting set to none but they still show up anyway. Is there a syntax update I can make to the K2multirate code to make it compatible? These warning aren't in their own css div or style that I can target to hide them.
Any ideas?
Deprecated: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /home/[mysite]/plugins/system/k2multirate/K2Multirate/views/itemlist/view.html.php on line 468
Deprecated: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /home/[mysite]/plugins/system/k2multirate/K2Multirate/views/itemlist/view.html.php on line 563
I have my error reporting set to none but they still show up anyway. Is there a syntax update I can make to the K2multirate code to make it compatible? These warning aren't in their own css div or style that I can target to hide them.
Any ideas?
Last edit: 8 years 10 months ago by Rob L. Reason: topic closed
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 10 months ago #155943
by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 MultiRate - PHP Deprecated warnings
Hello,
We are not affiliated with this extension, you need to address this issue to the extension's developer.
To get rid of these notices in the meantime you can deactivate error reporting.
We are not affiliated with this extension, you need to address this issue to the extension's developer.
To get rid of these notices in the meantime you can deactivate error reporting.
Please Log in or Create an account to join the conversation.
- Rob L
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 10
8 years 10 months ago #155987
by Rob L
Replied by Rob L on topic K2 MultiRate - PHP Deprecated warnings
Ah. I see.. Well then... Never mind!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 10 months ago #155998
by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 MultiRate - PHP Deprecated warnings
Hope you get the issue solved.
Please Log in or Create an account to join the conversation.