• Resolved dennisclaessens

    (@dennisclaessens)


    When I use the shortcode to display, I get this error:

    ‘Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /wp-includes/shortcodes.php on line 242’

    So the testimonials and all elements on the pages don’t load 🙂

    PS: the submitform will load fine, it is only when I want to display the testimonials.

    Anyone any idea?

    https://ww.wp.xz.cn/plugins/bne-testimonials/

Viewing 1 replies (of 1 total)
  • Plugin Author Kerry

    (@bluenotes)

    Sorry to hear that. A few reasons will cause a memory issue. This is the first I’ve heard of it with my plugin, so it will depend on what else is going with your site and server. It also may depend on what else is happening on that page. There are a few steps you can take to help narrow down or remedy this.

    1. Update the PHP running on your server to the latest stable release such as v5.6. Most shared and older servers start with 5.2 and updating to 5.5 or 5.6 helps manage memory more efficiently. In addition, this will increase your PHP security and remove any outdated vulnerabilities from older version of PHP. WordPress also recommends PHP v5.6 now.

    2. Increase the available memory WordPress can use. This can be done in wp-config.php but sometimes also requires updating a php.ini file. Your web host can help you if needed.

    2. Check what else is happening on that page. Sometimes widgets in a sidebar or footer that use a shortcode or query for post that in themselves display another shortcode may add to the load or cause a bottleneck. So try it on a page with no other content in any other areas if possible.

    3. Disable all other plugins and see if the problem resolves, if so, reactivate them one at a time to see when the error happens to narrow down the conflict.

    4. Switch to the default WP theme and see if the problem resolves just like with the plugin test.

Viewing 1 replies (of 1 total)

The topic ‘Fatal Error’ is closed to new replies.