Skip to main content

Can't Create Templates - Database Users Overflow Bug

Comments

2 comments

  • Matt  

    Okay, after doing some debugging I found the problem.

    Your function to handle the "Add New Template" in PHP is written poorly. It's literally loading ALL the array in one go when the page is loaded, and it's consuming an insane amount of memory to do so.

    In my case, it was exceeding 256 MB, so I tried 512 MB. That was exceeded as well, so I bumped it up to 1024 MB (1 GB) and that finally solved it, but that is horribly inefficient programming so I ask that you please review and fix this problem in your next update.

    https://stackoverflow.com/questions/21680244/fatal-error-allowed-memory-size-of-268435456-bytes-exhausted-tried-to-allocate

    0
  • Ariel H.

    Hi Matthew,

    Thank you for contacting us.

    Could you please let us know if you have already performed the following troubleshooting steps?

    1. Have you tried disabling all other plugins besides Brizy, Brizy Pro, and WooCommerce and seeing if the issue persists?
    2. Additionally, have you tried temporarily switching to another theme to see if the issue persists?

    512 MB should generally be sufficient for most websites. However, there may be other underlying issues contributing to the error 500 you're encountering.   These issues could include misconfigurations, server limitations, or conflicts with your current theme or with third-party plugins.

    I am looking forward to your response.

    Best regards,
    Ariel H.

    0

Please sign in to leave a comment.