- Posts: 4
COMMUNITY FORUM
Probleme mit K2 - Serverabsturz
- Kai
- Topic Author
- Offline
- New Member
Less
More
5 years 3 weeks ago #173435
by Kai
Probleme mit K2 - Serverabsturz was created by Kai
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.
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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
5 years 3 weeks ago #173436
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on 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.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Kai
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
5 years 3 weeks ago #173437
by Kai
Replied by Kai on 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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
5 years 3 weeks ago #173438
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Probleme mit K2 - Serverabsturz
It will work, don't worry :)
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Kai
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
5 years 3 weeks ago #173452
by Kai
Replied by Kai on topic Probleme mit K2 - Serverabsturz
it looks good and works fine. thank you
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
5 years 3 weeks ago #173453
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Probleme mit K2 - Serverabsturz
You're welcome Kai :)
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.