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
4 years 5 months ago - 4 years 5 months 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: 4 years 5 months ago by Andy Briggs.

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

More
4 years 5 months ago #176098 by JoomlaWorks
Use K2 v2.10.4 (dev) for now: getk2.org/downloads/?f=K2_Development_Release.zip

Official release is a few days away.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Andy Briggs
  • Andy Briggs's Avatar Topic Author
  • Offline
  • Junior Member
More
4 years 5 months 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.

More
4 years 5 months ago #176109 by JoomlaWorks
You're welcome.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
4 years 2 weeks ago - 4 years 2 weeks 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: 4 years 2 weeks ago by Ken Cawley.

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

More
4 years 1 week ago #177393 by JoomlaWorks
@Ken Great :)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum