Keyword

K2 Error Message: Deprecated: Non-static method modK2FilterH

  • Mark29
  • Mark29's Avatar Topic Author
  • Offline
  • New Member
More
2 years 10 months ago #158442 by Mark29
Mark29 created the topic: K2 Error Message: Deprecated: Non-static method modK2FilterH
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

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #158465 by Krikor Boghossian
Krikor Boghossian replied the 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.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #161567 by Odin Mayland
Odin Mayland replied the topic: K2 Error Message: Deprecated: Non-static method modK2FilterH
Mark29,

Did the developer resolve this for you?

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #161577 by Krikor Boghossian
Krikor Boghossian replied the 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)

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago - 2 years 3 months ago #161588 by Odin Mayland
Odin Mayland replied the 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);
Last edit: 2 years 3 months ago by Odin Mayland.

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #161598 by Krikor Boghossian
Krikor Boghossian replied the 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.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

Moderators: william whitetroponin

Powered by Kunena Forum