Keyword

Undefined Offset in \htdocs\plugins\system\k2\k2.php on line 702

  • Andy Briggs
  • Andy Briggs's Avatar Topic Author
  • Offline
  • Junior Member
More
5 months 3 weeks ago - 5 months 3 weeks ago #176096 by Andy Briggs
Hi all,

I was just congratulating myself on recreating my lost (local) Joomla site after a hard disk failure and a corrupt backup, when K2 suddenly started displaying the following error when I try to use it at all:

Notice: Undefined offset: 1 in I:\xampp7\htdocs\plugins\system\k2\k2.php on line 702

Looking at the offending line 702:

$getK2CacheHeaders = json_decode(trim($getK2CacheHeaders[1]));

Not sure what this line does, but it's the "1" in square brackets which K2 is objecting to apparently.

Can anybody tell me what the problem is and how to fix it? I'd be very grateful.

Joomla 3.9.19

Many thanks!

Stay safe

Andy.
Last edit: 5 months 3 weeks ago by Andy Briggs.

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
5 months 3 weeks ago #176098 by Fotis
Use K2 v2.10.4 (dev) for now: getk2.org/downloads/?f=K2_Development_Release.zip

Official release is a few days away.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Andy Briggs
  • Andy Briggs's Avatar Topic Author
  • Offline
  • Junior Member
More
5 months 3 weeks ago #176099 by Andy Briggs
Many thanks Fotis, as always: I shall give that a go. All the best.

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
5 months 2 weeks ago #176109 by Fotis
You're welcome.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

More
2 weeks 3 days ago - 2 weeks 3 days ago #177383 by Ken Cawley
I have the same problem but this is a first time install using the latest release. (d4tm.org). It's also adding a large gap after JM Slideshow. v2.10.4 (dev) fixed.
Last edit: 2 weeks 3 days ago by Ken Cawley.

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
2 weeks 2 days ago #177393 by Fotis
@Ken Great :)

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum