• Resolved sector_1

    (@sector_1)


    Hello, I use the new version of WP 3.9.1 and try your plugin. If i want to add a new entry – displays me this error:

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /data/web/virtuals/60026/virtual/www/wp-includes/cache.php on line 27

    Hosting Provider:
    PHP Version: 5.4.22
    WP Memory Limit: 40M
    PHP Memory Limit: 128M

    https://www.ads-software.com/plugins/ldd-directory-lite/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mark

    (@delayedinsanity)

    Well that’s not good, it shouldn’t be using the entire 128 for any reason whatsoever.

    Do you have any plugins installed that add things to the edit post page? Sometimes media plugins, slideshow plugins or other content related plugins will add various metaboxes to the edit post or edit page screens. I’m wondering if this is the case, if my plugin is conflicting with another over something.

    I’ll take a look at the code tomorrow morning and see if I can see anything obvious on my end.

    Mark

    (@delayedinsanity)

    I have a pretty good suspicion of what was causing that error for you. Props to Query Monitor for making that far easier to diagnose than it may have been otherwise.

    In order to detect what page the shortcode is on, I was running a recursive search through all the posts and then temporarily storing the results in a transient. No bueno.

    The next release scans the post content on save for the shortcode, and updates the proper setting when it’s detected. This should be dramatically lower impact and shouldn’t cause any out of memory issues.

    Fixed in c5371e0e5b97329bde0c555f5950556a257dc9f9

    Thread Starter sector_1

    (@sector_1)

    Hello!

    I tried to disable all plugins, but it’s still in 0.5.4-beta did not work. Plugin Query Monitor found nothing, everything worked, but not LDD Directory Lite.

    So I downloaded version 0.5.5-beta, which you have provided for download already and it works! Thank you for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Allowed memory size’ is closed to new replies.