Jump to content
thirty bees forum

after clearing cache I get ERR_EMPTY_RESPONSE


netamismb

Recommended Posts

Hi all,

Is happening for me on local environment Windows 10 WSL debian 9, PHP 7.3 Apache2  quite often, Thirty bees v 1.1 after I cleared cached i get ERR_EMPTY_RESPONSE and a page blank without any clue.  Any idea what could cause this and how can prevented?

 

Link to comment
Share on other sites

There are no logs in error_log, just a warning and notices, which were there all the time.

Any advice is highly appreciate.

[Mon Aug 26 18:19:02.244734 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /mnt/d/localdevelopment/tbrock4ueu/modules/cheque/cheque.php on line 66, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244768 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP Stack trace:, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244785 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP 1. {main}() /mnt/d/localdevelopment/tbrock4ueu/oficina4u/index.php:0, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244800 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP 2. Dispatcher->dispatch() /mnt/d/localdevelopment/tbrock4ueu/oficina4u/index.php:63, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244815 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP 3. AdminPerformanceController->run() /mnt/d/localdevelopment/tbrock4ueu/classes/Dispatcher.php:837, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244829 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP 4. AdminPerformanceController->initContent() /mnt/d/localdevelopment/tbrock4ueu/classes/controller/Controller.php:208, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244842 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP 5. AdminPerformanceController->renderForm() /mnt/d/localdevelopment/tbrock4ueu/controllers/admin/AdminPerformanceController.php:79, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244858 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP 6. AdminPerformanceController->initFieldsetFullPageCache() /mnt/d/localdevelopment/tbrock4ueu/controllers/admin/AdminPerformanceController.php:126, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244878 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP 7. AdminPerformanceController->displayControllerList() /mnt/d/localdevelopment/tbrock4ueu/controllers/admin/AdminPerformanceController.php:886, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244896 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP 8. DispatcherCore::getModuleControllers() /mnt/d/localdevelopment/tbrock4ueu/controllers/admin/AdminPerformanceController.php:1385, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244910 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP 9. ModuleCore::getModulesOnDisk() /mnt/d/localdevelopment/tbrock4ueu/classes/Dispatcher.php:408, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244924 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP 10. Adapter_ServiceLocator::get() /mnt/d/localdevelopment/tbrock4ueu/classes/module/Module.php:964, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244937 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP 11. Core_Foundation_IoC_Container->make() /mnt/d/localdevelopment/tbrock4ueu/Adapter/Adapter_ServiceLocator.php:71, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244951 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP 12. Core_Foundation_IoC_Container->doMake() /mnt/d/localdevelopment/tbrock4ueu/Core/Foundation/IoC/Core_Foundation_IoC_Container.php:253, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244965 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP 13. Core_Foundation_IoC_Container->makeInstanceFromClassName() /mnt/d/localdevelopment/tbrock4ueu/Core/Foundation/IoC/Core_Foundation_IoC_Container.php:232, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244978 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP 14. ReflectionClass->newInstance() /mnt/d/localdevelopment/tbrock4ueu/Core/Foundation/IoC/Core_Foundation_IoC_Container.php:189, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
[Mon Aug 26 18:19:02.244992 2019] [php7:notice] [pid 491] [client 127.0.0.1:40231] PHP 15. Cheque->__construct() /mnt/d/localdevelopment/tbrock4ueu/Core/Foundation/IoC/Core_Foundation_IoC_Container.php:189, referer: http://www.tbrock4ueu.local/oficina4u/index.php?controller=AdminImages&token=d6004e227ec8638bd5f2750c74d1f5a2
Link to comment
Share on other sites

First of all this doesn't seem to be the current release of the cheque module because there is no count() argument  in line 66. However, if you meet this error or warning in PHP 7.3, then do this:

  • Open the file, in this case cheque.php,
  • go to the the questioned line and
  • change the expression count to is_countable.

This will help to avoid the message.

That said, let's go to the ERR_EMPTY_RESPONSE, an error known from the Chrome browser. Try this: https://blog.pcrisk.com/windows/12807-err-empty-response

Edited by Occam
  • Like 1
Link to comment
Share on other sites

1 hour ago, netamismb said:

thank you very much! i've unistall and delete the module cheque - i don't use it anyway.

Anyway, your initial error message had nothing to do with this module. The advice of Traumflug referred to the PHP 7.3 notice on using count() in error.logs.

Link to comment
Share on other sites

  • 4 weeks later...
On 8/28/2019 at 9:37 PM, Occam said:

First of all this doesn't seem to be the current release of the cheque module because there is no count() argument  in line 66. However, if you meet this error or warning in PHP 7.3, then do this:

  • Open the file, in this case cheque.php,
  • go to the the questioned line and
  • change the expression count to is_countable.

This will help to avoid the message.

That said, let's go to the ERR_EMPTY_RESPONSE, an error known from the Chrome browser. Try this: https://blog.pcrisk.com/windows/12807-err-empty-response

Thanks mate.. just what I was looking for.. 🙂

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...