Keyword

Probleme mit K2 - Serverabsturz

More
3 weeks 2 days ago #173435 by Kai
Kai created the topic: Probleme mit K2 - Serverabsturz
Hallo,

ich bin echt verzweifelt, seit über 2 Monaten ist meine Website down. Der Grund ist das diese zu viele Anfragen verursacht und dadurch den Server regelmäßig abstürzen lässt. Nun habe ich mich schon mit mehreren darüber unterhalten: Server Anbieter, Template Hersteller und div. andere Entwickler. Nichts hat zu einer richtigen Lösung geführt außer das es heisst das irgendetwas diesen Fehler verursacht. Der neuste Hinweis kam über meine Server error logs wo mich einer auf folgendes hingewiesen hat:

From what I see, it show the most warning message is K2 component, you can see the pattern when it hit that warning message then this warning message shown up from this file httpdocs/libraries/src/HTML/HTMLHelper.php .

PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/http://florida-inside.de/httpdocs/components/com_k2/models/item.php on line 763\n
PHP message: PHP Warning: Illegal string offset 'relative' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 627\n
PHP message: PHP Warning: Cannot assign an empty string to a string offset in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 627\n
PHP message: PHP Warning: Illegal string offset 'pathOnly' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 628\n
PHP message: PHP Warning: Cannot assign an empty string to a string offset in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 628\n
PHP message: PHP Warning: Illegal string offset 'detectBrowser' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 629\n
PHP message: PHP Warning: Illegal string offset 'detectDebug' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 630\n
PHP message: PHP Warning: Illegal string offset 'relative' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 633\n
PHP message: PHP Warning: Illegal string offset 'detectBrowser' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 633\n
PHP message: PHP Warning: Illegal string offset 'detectDebug' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 633\n
PHP message: PHP Warning: Illegal string offset 'pathOnly' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 636

PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/http://florida-inside.de/httpdocs/components/com_k2/models/item.php on line 763
PHP message: PHP Warning: Illegal string offset 'relative' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 627
PHP message: PHP Warning: Cannot assign an empty string to a string offset in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 627
PHP message: PHP Warning: Illegal string offset 'pathOnly' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 628
PHP message: PHP Warning: Cannot assign an empty string to a string offset in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 628
PHP message: PHP Warning: Illegal string offset 'detectBrowser' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 629
PHP message: PHP Warning: Illegal string offset 'detectDebug' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 633\n
PHP message: PHP Warning: Illegal string offset 'pathOnly' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 636\n

PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/http://florida-inside.de/httpdocs/components/com_k2/models/item.php on line 763\n
PHP message: PHP Warning: Illegal string offset 'relative' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 627\n
PHP message: PHP Warning: Cannot assign an empty string to a string offset in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 627\n
PHP message: PHP Warning: Illegal string offset 'pathOnly' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 628\n
PHP message: PHP Warning: Cannot assign an empty string to a string offset in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 628\n
PHP message: PHP Warning: Illegal string offset 'detectBrowser' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 629\n
PHP message: PHP Warning: Illegal string offset 'detectDebug' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 630\n
PHP message: PHP Warning: Illegal string offset 'relative' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 633\n
PHP message: PHP Warning: Illegal string offset 'detectBrowser' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 633\n
PHP message: PHP Warning: Illegal string offset 'detectDebug' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 633\n
PHP message: PHP Warning: Illegal string offset 'pathOnly' in /var/www/vhosts/http://florida-inside.de/httpdocs/libraries/src/HTML/HTMLHelper.php on line 636\n


And another possibilities is K2 template override file from your current template and one of the plugin :


PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/http://florida-inside.de/httpdocs/templates/enar/html/mod_k2_content/Recentposts/default.php on line 12\n

PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/http://florida-inside.de/httpdocs/templates/enar/html/mod_k2_content/Recentposts/default.php on line 12\n'

[Fri Aug 16 18:14:39.321596 2019] [proxy_fcgi:error] [pid 1410] [client 69.162.124.228:43400] AH01071: Got error 'PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/http://florida-inside.de/httpdocs/plugins/system/pwebopengraph/pwebopengraph.php on line 392\n

PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/http://florida-inside.de/httpdocs/templates/enar/html/mod_k2_content/Recentposts/default.php on line 12\n

PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/http://florida-inside.de/httpdocs/templates/enar/html/mod_k2_content/Recentposts/default.php on line 12\n'

Hier wurde halt K2 als Problem angesprochen, von daher wollte ich mal hier im Forum um Hilfe bitten.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 2 days ago #173436 by Fotis
Fotis replied the topic: Probleme mit K2 - Serverabsturz
Update to K2 v2.10 (dev) from github.com/getk2/k2/archive/master.zip and it should resolve these warnings.

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
3 weeks 2 days ago #173437 by Kai
Kai replied the topic: Probleme mit K2 - Serverabsturz
Ok thank you yor this fast reply. I have make an update to this version and on monday the server provider will set my website online because the weekend is between there. If the website makes trouble again then not on the weekend. You hear from me on Monday or Tuesday if it works. Thanks

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 2 days ago #173438 by Fotis
Fotis replied the topic: Probleme mit K2 - Serverabsturz
It will work, don't worry :)

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 4 days ago #173452 by Kai
Kai replied the topic: Probleme mit K2 - Serverabsturz
it looks good and works fine. thank you

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 weeks 4 days ago #173453 by Fotis
Fotis replied the topic: Probleme mit K2 - Serverabsturz
You're welcome Kai :)

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