This topic has 2 replies, 2 voices, and was last updated 3 years, 2 months ago ago by Rose Tyler
Hello,
for every request on our site, the theme writes a test line in the server error logfile:
2021/10/17 01:52:52 [error] 98331#98331: *36631 FastCGI sent in stderr: “PHP message: File:theme-functions.php:1509 testPHP message: File:theme-functions.php:1509 test” while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: domain.gr, request: “GET /feed/ HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php/php7.4-fpm.sock:”, host: “domain.gr”
Seems to be generated by wp-content/themes/xstore/framework/theme-functions.php file and the lines
// For wpml test
write_log(‘test’);
How can i safely disable this until fixed? Comment out the write_log is enough?
Regards,
JT
Hello,
We’ll fix the issue in the next theme update. Meanwhile, edit the xstore/framework/theme-functions.php file and just remove that line https://prnt.sc/1v0zvs8
Take our apologies for the inconvenience.
Regards
The issue related to '‘Theme fills up server logfiles with test message’' has been successfully resolved, and the topic is now closed for further responses