Keyword

K2 - PHP-Probleme <7.1.x

  • ANDweb
  • ANDweb's Avatar Topic Author
  • Offline
  • New Member
More
1 year 3 days ago - 1 year 3 days ago #173392 by ANDweb
K2 - PHP-Probleme <7.1.x was created by ANDweb
Hallo zusammen,
ich habe mit den PHP-Versionen neuer 7.1.x Probleme bei K2. Wenn ich die Details eines Beitrages aufrufe, erscheint oberhalb nachstehende Fehlermeldung:

Warning: count(): Parameter must be an array or an object that implements Countable in /pages/xxxx/xxx/xxxxxx/xxxxx/htdocs/webseiten/natur/components/com_k2/models/item.

In einem anderen Beitrag wurde von Fotis auf die DEV-Version verwiesen: github.com/getk2/k2/archive/master.zip
Löst die auch mein Problem? Wie müsste ich die installieren?

Danke und Grüße
Uli
Last edit: 1 year 3 days ago by ANDweb.

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

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
1 year 2 days ago #173395 by Fotis
Replied by Fotis on topic K2 - PHP-Probleme <7.1.x
Yes, it does solve such issues. Simply install the zip from GitHub on top of v2.9.0.

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.

  • ANDweb
  • ANDweb's Avatar Topic Author
  • Offline
  • New Member
More
1 year 2 days ago #173402 by ANDweb
Replied by ANDweb on topic K2 - PHP-Probleme <7.1.x
Thx Fotis.
Problem is solved :)

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

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
1 year 1 day ago #173407 by Fotis
Replied by Fotis on topic K2 - PHP-Probleme <7.1.x
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.

  • ANDweb
  • ANDweb's Avatar Topic Author
  • Offline
  • New Member
More
11 months 2 weeks ago #173526 by ANDweb
Replied by ANDweb on topic K2 - PHP-Probleme <7.1.x
Hi,
ich meinte, dass das Problem gelöst war ... zumindest nach dem Update auf Joomla 3.9.13 habe ich die Fehlermeldung wieder, nur nicht oberhalb eines Blogbeitrages sondern am Ende (war vielleich zuvor auch schon ...):

Warning: count(): Parameter must be an array or an object that implements Countable in /pages/xxx/xxx/xxxxxxx/xxxx/htdocs/webseiten/natur/templates/rt_chimera/html/com_k2/naturnahes_leben/item.php on line 248

Die Fehlermeldung weicht aber auch von der letzten ab. Das master.zip habe ich nochmals installiert (falls neue Version), es hat aber den gewünschten Erfolg nicht gebracht.

Grüße
Uli

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

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
11 months 2 weeks ago #173535 by Fotis
Replied by Fotis on topic K2 - PHP-Probleme <7.1.x
Your overrides need to be updated. In the case of /pages/xxx/xxx/xxxxxxx/xxxx/htdocs/webseiten/natur/templates/rt_chimera/html/com_k2/naturnahes_leben/item.php, you probably need to add an "isset($variable) &&" before the "count()" declaration. See how it's done in /components/com_k2/templates/default/item.php.

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.

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
11 months 2 weeks ago #173538 by Fotis
Replied by Fotis on topic K2 - PHP-Probleme <7.1.x

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.

  • ANDweb
  • ANDweb's Avatar Topic Author
  • Offline
  • New Member
More
11 months 2 weeks ago #173543 by ANDweb
Replied by ANDweb on topic K2 - PHP-Probleme <7.1.x
Thank you Fotis, also for the link with the summary of Yarak.
Problem solved.

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

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
11 months 2 weeks ago #173545 by Fotis
Replied by Fotis on topic K2 - PHP-Probleme <7.1.x
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