uddeim and K2 Tools

8 years 7 months ago #271986 by alexboy
uddeim and K2 Tools was created by alexboy
At the publication of the K2 Tools module on the site there are PHP errors in the uddeim_contentlink.php file:

Warning: Missing argument 4 for plgContentUddeim_contentlink::onContentPrepare() in /home/f/fr7922nc/vip-ptc.com/public_html/plugins/content/uddeim_contentlink/uddeim_contentlink.php on line 26 Notice: Undefined variable: limitstart in /home/f/fr7922nc/vip-ptc.com/public_html/plugins/content/uddeim_contentlink/uddeim_contentlink.php on line 28

Please Log in to join the conversation.

8 years 7 months ago - 8 years 7 months ago #271989 by slabbi
Replied by slabbi on topic uddeim and K2 Tools
Plz can you try following:

Change line 26 from
public function onContentPrepare( $context, &$article, &$params, $limitstart)
to
public function onContentPrepare( $context, &$article, &$params, $limitstart=0)

This should fix the problem.

Does it work?

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer
The following user(s) said Thank You: alexboy

Please Log in to join the conversation.

8 years 7 months ago #272078 by alexboy
Replied by alexboy on topic uddeim and K2 Tools
Yes, it helped. Thanks.

Please Log in to join the conversation.

Moderators: beatnantslabbikrileon
Time to create page: 0.241 seconds

Facebook Twitter LinkedIn