• Resolved lauriemrauch

    (@lauriemrauch)


    Howdy!

    I’ve created a plugin that does nothing but create a shortcode that displays another page’s content on a page. While it’s been working well on this particular site and every other site I’ve done something similar on, all of a sudden, whenever I activate this plugin, it triggers this error:

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65552 bytes) in /XXXX/wp-includes/shortcodes.php on line 351

    You can see the entire plugin code here:
    https://gist.github.com/lauriemrauch/d8054170f8fe995e0d7c000cc2449d89

    I can’t think of anything I missed or added incorrectly that would be triggering this error…. What am I missing that it would cause this error?

    Thanks!

    Laurie

  • The topic ‘Shortcode with custom query causing exceeding memory limit fatal error’ is closed to new replies.