Php code. I need optimizing php code in my site

This topic has 2 replies, 2 voices, and was last updated 1 year, 3 months ago ago by Tony Rodriguez

  • Avatar: Cer
    Cer
    Participant
    December 9, 2022 at 19:33

    Hello, I need your help. I started importing products into the e-shop and I got a fatal error: CRITICAL Klaidos žinutė: Allowed memory size of 268435456 bytes exhausted (tried to allocate 15728672 bytes) (rasta faile /home/didilt/domains/diredi.lt/public_html/wp-includes/class-wpdb.php, eilutės numeris 1533).

    I wrote to a hosting. They advised optimizing a php code in my theme. Can you check it? How can I do it? Thank you.

    P.s. I don’t have coding knowledge.

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    December 10, 2022 at 06:12

    Hello, @Cer,

    That is basically the server memory issue, not the theme issue, you will find the Optimization options of our theme under XStore >> Theme Settings >> Speed Optimization.

    But you have to contact your hosting provider again and ask to increase the memory limit on your site and it will solve your issue, Please read this thread: https://stackoverflow.com/questions/21680244/fatal-error-allowed-memory-size-of-268435456-bytes-exhausted-tried-to-allocate

    Regards 8Themes Team.

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

You must be logged in to reply to this topic.Log in/Sign up

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