Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Fatal error in helper_k2.php line 285

More
11 years 3 months ago #2824 by murphl31965
Fatal error in helper_k2.php line 285 was created by murphl31965
Please help - I get the following error when I try to enable the K2 layout for the module. I'm trying to use K2 'Latest Headlines' Category and only pull in the 3 latest items, but it doesn't pull the three latest - it's pulling items from much further back. If I enable the K2 layout, this is all my site shows:

Call to a member function triggerEvent() on a non-object in X:\XXXXXX\XXXXX\modules\mod_latestnewsenhanced\helpers\helper_k2.php on line 285

I'm running Joomla 3.1+, K2 2.6.7 and the latest version of Latest News Enhanced. I'm going to leave the module there for a short time in case anyone needs to see it, but will have to replace it very soon with something else if I cannot get it to work right. It's a shame - this module is exactly what I needed:(

The website is under development csi.nethopper.net

Thank you in advance for looking -

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

More
11 years 3 months ago #2825 by admin
Replied by admin on topic Re: Fatal error in helper_k2.php line 285
Hello,
I am not at my desk right now but wanted to get back to you as soon as possible. A quick fix before I can physically resolve this issue is to get rid of the line that is causing the problem. It won't affect the rest of the module but just stop triggering plugin events that you probably don't need.

Olivier.

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

More
11 years 3 months ago #2826 by murphl31965
Replied by murphl31965 on topic Re: Fatal error in helper_k2.php line 285
You did it! Thanks so much - it was driving me crazy! Thank you, thank you!

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

More
11 years 3 months ago #2827 by admin
Replied by admin on topic Re: Fatal error in helper_k2.php line 285
You are very welcome!

Olivier.

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