- Posts: 1
COMMUNITY FORUM
- Forum
- K2 Community Forum
- Offizielle deutsche Gemeinschaft
- K2 Error Message: Deprecated: Non-static method modK2FilterH
K2 Error Message: Deprecated: Non-static method modK2FilterH
- Mark29
- Topic Author
- Offline
- New Member
Less
More
8 years 1 month ago #158442
by Mark29
K2 Error Message: Deprecated: Non-static method modK2FilterH was created by Mark29
After updating Joomla to 3.6.2 we get this frontend error message
«Deprecated: Non-static method modK2FilterHelper::getModuleParams() should not be called statically in...»
more than 20 times.
We use the K2-component for a multi category serach.
Our system: Joomla 3.6.2 and php 7.0.11
On the config backend we turned off the error massage.
And into the user.ini we setted this code:
allow_url_fopen = On;
display_errors = Off;
error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED;
to pervent the message.
If you like to test the behavior her the url: www.vz-privatschulen.ch/schule-finden
select a school type (schultypus) and a location (standort) and klick search (suchen)
Has anybody a solution to prevent this error massage. THX and regard Markus
«Deprecated: Non-static method modK2FilterHelper::getModuleParams() should not be called statically in...»
more than 20 times.
We use the K2-component for a multi category serach.
Our system: Joomla 3.6.2 and php 7.0.11
On the config backend we turned off the error massage.
And into the user.ini we setted this code:
allow_url_fopen = On;
display_errors = Off;
error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED;
to pervent the message.
If you like to test the behavior her the url: www.vz-privatschulen.ch/schule-finden
select a school type (schultypus) and a location (standort) and klick search (suchen)
Has anybody a solution to prevent this error massage. THX and regard Markus
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 1 month ago #158465
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 Error Message: Deprecated: Non-static method modK2FilterH
Hello,
This message is from the K2 Content Filter.
You need to address this issue to the extension's developer.
This message is from the K2 Content Filter.
You need to address this issue to the extension's developer.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Odin Mayland
- Offline
- Platinum Member
Less
More
- Posts: 404
7 years 7 months ago #161567
by Odin Mayland
Replied by Odin Mayland on topic K2 Error Message: Deprecated: Non-static method modK2FilterH
Mark29,
Did the developer resolve this for you?
Did the developer resolve this for you?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 6 months ago #161577
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 Error Message: Deprecated: Non-static method modK2FilterH
No idea Jeff, you can check the changelog (if there is one) and look for releases within this timeframe (6 months)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Odin Mayland
- Offline
- Platinum Member
Less
More
- Posts: 404
7 years 6 months ago - 7 years 6 months ago #161588
by Odin Mayland
Replied by Odin Mayland on topic K2 Error Message: Deprecated: Non-static method modK2FilterH
I received the woraround from the developer.
It can be fixed in this files:
modules/mod_k2_filter/mod_k2_filter.php
plugins/system/k2filter/k2filter.php
Find:
error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE & ~E_WARNING);
And replace with:
error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED);
It can be fixed in this files:
modules/mod_k2_filter/mod_k2_filter.php
plugins/system/k2filter/k2filter.php
Find:
error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE & ~E_WARNING);
And replace with:
error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED);
Last edit: 7 years 6 months ago by Odin Mayland.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 6 months ago #161598
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 Error Message: Deprecated: Non-static method modK2FilterH
This suppressed error reporting, although that notice will most likely not affect that extension's functionality.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- Offizielle deutsche Gemeinschaft
- K2 Error Message: Deprecated: Non-static method modK2FilterH