Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

uddeim and K2 Tools

  • alexboy
  • alexboy
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
9 years 2 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
9 years 2 months ago - 9 years 2 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: 9 years 2 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
9 years 2 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