Skip to Content Skip to Menu

uddeim and K2 Tools

  • alexboy
  • alexboy
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
8 years 11 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 or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
8 years 11 months ago - 8 years 11 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
Last edit: 8 years 11 months ago by slabbi.
The following user(s) said Thank You: alexboy

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

  • alexboy
  • alexboy
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
8 years 11 months ago #272078 by alexboy
Replied by alexboy on topic uddeim and K2 Tools
Yes, it helped. Thanks.

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

Moderators: beatnantslabbikrileon
Powered by Kunena Forum