after a clean install of at the time latest version of Joomla 3 and commercial version of template Ashley on nginx server I have noticed a lot of errors in nginx logs. The following log is triggered on every page visited on the site (domain, page structure and personal IP replaced with descriptive placeholders):
2018/03/29 09:16:07 [error] 915#0: *1816 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/our.domain/templates/j51_ashley/index.php on line 109" while reading response header from upstream, client: my.ip, server: our.domain, request: "GET /category/subcategory/page_url.html HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "our.domain", referrer: "https://our.domain/referrar-url.html"
2018/03/29 09:16:08 [error] 915#0: *1817 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/our.domain/templates/j51_ashley/index.php on line 109" while reading response header from upstream, client: my.ip, server: our.domain, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "our.domain", referrer: "https://our.domain/category/subcategory/page_url.html"
I have not set any background images for the background slideshow and would prefer to keep it that way. As the error is triggered with every page view on every page on the site the log file is getting really big really fast. Can you fix this issue, give us an option to disable the background slideshow completely (as there is additional JavaScript loaded that we do not use)? And while at it can you give us an option to select which features we want to use and not just load them by default?
Regards; Luka