Theme fills up server logfiles with test message

This topic has 2 replies, 2 voices, and was last updated 3 years, 2 months ago ago by Rose Tyler

  • Avatar: Jannis T
    Jannis T
    Participant
    October 17, 2021 at 00:02

    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

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 17, 2021 at 07:43

    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

  • Viewing 2 results - 1 through 2 (of 2 total)

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

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.