Urgent: theme consumes the server resource

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

  • Avatar: maxmatyas
    maxmatyas
    Participant
    October 15, 2021 at 17:15

    Hi there,

    I noticed a pretty embarrassing problem. The xstore theme consumes the server resource.
    For some individual activity that you click on in the back-end or in the front-end, one line inserted in the error-log file.

    [15-Oct-2021 15:57:47 UTC] File: theme-functions.php: 1509 test

    Happens when the xStore theme and xstore core plugins are enabled.

    I noticed that the site was very slow and sometimes I got Internal Server error 503.
    I talked to the hosting support and they said something was consuming resources and we checked the error-log file. What was full of logs like these above.

    Then I started testing and disabling all plugins and when I turned off all plugins and xstore-core plugin it didn’t write in the error-log.

    It’s pretty weighty because we just wanted to launch it to live in this weekend.

    Please can you help fix the error?
    Thanks

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 15, 2021 at 17:44

    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

    Avatar: maxmatyas
    maxmatyas
    Participant
    October 15, 2021 at 18:15

    Thanks for rapid help.
    It was a lifesaver.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 15, 2021 at 18:20

    Hello,

    You’re welcome!

    Regards

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

The issue related to '‘Urgent: theme consumes the server resource’' 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.