Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

Fatal error in helper_k2.php line 285

More
IP: 172.2.35.189 13 years 3 months ago #2824 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 -
More
IP: 66.87.114.60 13 years 3 months ago #2825 by admin
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.
More
IP: 99.196.148.39 13 years 3 months ago #2826 by murphl31965
You did it! Thanks so much - it was driving me crazy! Thank you, thank you!
More
IP: 207.181.228.28 13 years 3 months ago #2827 by admin
You are very welcome!

Olivier.