Начну с того, что светится у меня. Кто знает, подскажите, как бороться.
Код: Выделить всё
PHP Warning: Invalid argument supplied for foreach() in /srv/www/modules/objects/objects.class.php(536) : eval()'d code on line 75
[Thu Jun 04 09:52:32.537797 2015] [:error] [pid 8477] [client 127.0.0.1:33998] PHP Stack trace:
[Thu Jun 04 09:52:32.537911 2015] [:error] [pid 8477] [client 127.0.0.1:33998] PHP 1. {main}() /srv/www/objects/index.php:0
[Thu Jun 04 09:52:32.537997 2015] [:error] [pid 8477] [client 127.0.0.1:33998] PHP 2. objects->callMethod() /srv/www/objects/index.php:128
[Thu Jun 04 09:52:32.538069 2015] [:error] [pid 8477] [client 127.0.0.1:33998] PHP 3. eval() /srv/www/modules/objects/objects.class.php:536
Добавь проверку наличия переменной
Код: Выделить всё
<?php endif;
if(isset($list))
foreach($list as $item) :
Код: Выделить всё
PHP Warning: Division by zero in /srv/www/modules/scripts/scripts.class.php(139) : eval()'d code on line 12
[Thu Jun 04 09:50:48.869771 2015] [:error] [pid 8957] [client 127.0.0.1:33991] PHP Stack trace:
[Thu Jun 04 09:50:48.869873 2015] [:error] [pid 8957] [client 127.0.0.1:33991] PHP 1. {main}() /srv/www/objects/index.php:0
[Thu Jun 04 09:50:48.869953 2015] [:error] [pid 8957] [client 127.0.0.1:33991] PHP 2. objects->callMethod() /srv/www/objects/index.php:128
[Thu Jun 04 09:50:48.870020 2015] [:error] [pid 8957] [client 127.0.0.1:33991] PHP 3. eval() /srv/www/modules/objects/objects.class.php:536
[Thu Jun 04 09:50:48.870086 2015] [:error] [pid 8957] [client 127.0.0.1:33991] PHP 4. runScript() /srv/www/modules/objects/objects.class.php(536) : eval()'d code:68
[Thu Jun 04 09:50:48.870153 2015] [:error] [pid 8957] [client 127.0.0.1:33991] PHP 5. scripts->runScript() /srv/www/lib/common.class.php:621
[Thu Jun 04 09:50:48.870215 2015] [:error] [pid 8957] [client 127.0.0.1:33991] PHP 6. eval() /srv/www/modules/scripts/scripts.class.php:139
Код: Выделить всё
PHP Warning: sprintf(): Too few arguments in /srv/www/modules/scripts/scripts.class.php on line 142
[Thu Jun 04 08:30:00.345987 2015] [:error] [pid 8472] [client 127.0.0.1:33750] PHP Stack trace:
[Thu Jun 04 08:30:00.346086 2015] [:error] [pid 8472] [client 127.0.0.1:33750] PHP 1. {main}() /srv/www/objects/index.php:0
[Thu Jun 04 08:30:00.346165 2015] [:error] [pid 8472] [client 127.0.0.1:33750] PHP 2. objects->callMethod() /srv/www/objects/index.php:128
[Thu Jun 04 08:30:00.346231 2015] [:error] [pid 8472] [client 127.0.0.1:33750] PHP 3. eval() /srv/www/modules/objects/objects.class.php:536
[Thu Jun 04 08:30:00.346409 2015] [:error] [pid 8472] [client 127.0.0.1:33750] PHP 4. runScript() /srv/www/modules/objects/objects.class.php(536) : eval()'d code:19
[Thu Jun 04 08:30:00.346579 2015] [:error] [pid 8472] [client 127.0.0.1:33750] PHP 5. scripts->runScript() /srv/www/lib/common.class.php:621
[Thu Jun 04 08:30:00.346674 2015] [:error] [pid 8472] [client 127.0.0.1:33750] PHP 6. sprintf() /srv/www/modules/scripts/scripts.class.php:142
Код: Выделить всё
PHP Warning: file_get_contents(http://translate.google.com/translate_tts?tl=ru&ie=UTF-8&q=%D0%A1%D0%B5%D0%B3%D0%BE%D0%B4%D0%BD%D1%8F%D1%88%D0%BD%D0%B8%D0%B5+%D1%81%D0%BE%D0%B1%D1%8B%D1%82%D0%B8%D1%8F.+%D0%9C%D0%B5%D0%B6%D0%B4%D1%83%D0%BD%D0%B0%D1%80%D0%BE%D0%B4%D0%BD%D1%8B%D0%B9+%D0%B4%D0%B5%D0%BD%D1%8C+%D0%BD%D0%B5%D0%B2%D0%B8%D0%BD%D0%BD%D1%8B%D1%85+%D0%B4%D0%B5%D1%82%D0%B5%D0%B9+-+%D0%B6%D0%B5%D1%80%D1%82%D0%B2+%D0%B0%D0%B3%D1%80%D0%B5%D1%81%D1%81%D0%B8%D0%B8.+%D0%92+%D0%9F%D0%B5%D1%82%D0%B5%D1%80%D0%B1%D1%83%D1%80%D0%B3%D0%B5+%D0%BD%D0%B0%D1%87%D0%B0%D1%82%D0%BE+%D1%81%D1%82%D1%80%D0%BE%D0%B8%D1%82%D0%B5%D0%BB%D1%8C%D1%81%D1%82%D0%B2%D0%BE+%D0%BA%D1%80%D0%B5%D0%B9%D1%81%D0%B5%D1%80%D0%B0+%C2%AB%D0%90%D0%B2%D1%80%D0%BE%D1%80%D0%B0%C2%BB+%281897+%D0%B3%D0%BE%D0%B4%29.+%D0%98%D0%BC%D0%B5%D0%BD%D0%B8%D0%BD%D1%8B+%D0%AF%D0%BA%D0%BE%D0%B2%2C+%D0%92%D0%B0%D1%81%D0%B8%D0%BB%D0%B8%D1%81%D0%BA%2C+%D0%92%D0%BB%D0%B0%D0%B4%D0%B8%D0%BC%D0%B8%D1%80.+): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found\r\n in /srv/www/lib/tts.class.php on line 31
[Thu Jun 04 08:30:10.176632 2015] [:error] [pid 8442] [client 10.0.0.106:2115] PHP Stack trace:
[Thu Jun 04 08:30:10.176749 2015] [:error] [pid 8442] [client 10.0.0.106:2115] PHP 1. {main}() /srv/www/objects/index.php:0
[Thu Jun 04 08:30:10.176837 2015] [:error] [pid 8442] [client 10.0.0.106:2115] PHP 2. objects->callMethod() /srv/www/objects/index.php:128
[Thu Jun 04 08:30:10.176909 2015] [:error] [pid 8442] [client 10.0.0.106:2115] PHP 3. eval() /srv/www/modules/objects/objects.class.php:536
[Thu Jun 04 08:30:10.176983 2015] [:error] [pid 8442] [client 10.0.0.106:2115] PHP 4. callMethod() /srv/www/modules/objects/objects.class.php(536) : eval()'d code:44
[Thu Jun 04 08:30:10.177053 2015] [:error] [pid 8442] [client 10.0.0.106:2115] PHP 5. objects->callMethod() /srv/www/lib/objects.class.php:289
[Thu Jun 04 08:30:10.177119 2015] [:error] [pid 8442] [client 10.0.0.106:2115] PHP 6. eval() /srv/www/modules/objects/objects.class.php:536
[Thu Jun 04 08:30:10.177181 2015] [:error] [pid 8442] [client 10.0.0.106:2115] PHP 7. callMethod() /srv/www/modules/objects/objects.class.php(536) : eval()'d code:6
[Thu Jun 04 08:30:10.177254 2015] [:error] [pid 8442] [client 10.0.0.106:2115] PHP 8. objects->callMethod() /srv/www/lib/objects.class.php:289
[Thu Jun 04 08:30:10.177316 2015] [:error] [pid 8442] [client 10.0.0.106:2115] PHP 9. eval() /srv/www/modules/objects/objects.class.php:536
[Thu Jun 04 08:30:10.177372 2015] [:error] [pid 8442] [client 10.0.0.106:2115] PHP 10. say() /srv/www/modules/objects/objects.class.php(536) : eval()'d code:46
[Thu Jun 04 08:30:10.177436 2015] [:error] [pid 8442] [client 10.0.0.106:2115] PHP 11. GoogleTTS() /srv/www/lib/common.class.php:61
[Thu Jun 04 08:30:10.177499 2015] [:error] [pid 8442] [client 10.0.0.106:2115] PHP 12. file_get_contents() /srv/www/lib/tts.class.php:31