• Resolved swkf

    (@swkf)


    Hi,

    I use the plugin for my website and I have an odd issue.

    My homepage and pages that don’t have products on them, work. But the ones that have products on them, and this plugin, give an error 500.

    I looked into my server logs and I saw the following error:
    Got error ‘PHP message: PHP Fatal error: Allowed memory size of 1317011456 bytes exhausted’

    When I deactivate the plugin, the website works again.

    Does anyone has an idea how this is possible?
    Plugin version: 3.1.5
    Woocommerce version: 8.0.3
    WordPress version: 6.3.1

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Nobody faced this issue before, I think your hosting server has some memory limitations.

    Thread Starter swkf

    (@swkf)

    The memory limit is 1024M, should be more than enough. It’s also strange that everything works when I deactivate the plugin.

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Maybe your products or posts are large in number and your plugin settings are trying to display everything, you can go through all the support threads, this issue was not reported before. So it is certainly related to your settings, please keep this plugin deactivated on current website and try it on another website to make sure.

    Thread Starter swkf

    (@swkf)

    There are 724 products, so it’s not that bad. I’ve tried to use a page with 3 products (of a product category) to make sure that the amount won’t matter, but sadly I still get the issue.
    I’ve contacted our hosting, and they said that the plugin shouldn’t require so much memory and they’re probably an issue inside the plugin.

    I tried locating the issue in the code and I found that in the inc/functions.php, in the function ap_disable_query_results the get_posts causes the error to come forward. Is there any way I can make a workaround for this?

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Yes, there is an option to disable this functionality. You don’t need to disable the letters, check the settings page correctly. There are toggle buttons for every option, just turn off the disable alphabets.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Memory Limit Exhausted’ is closed to new replies.