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.