Skip to content

Shortcode- Critical error  #5

Description

@beatricelucaci

I need to troubleshoot a shortcode, but it gives me a critical error very quickly.

14:52:39 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 206573568 bytes) in /home1/friscoro/public_html/fishingreport/wp-content/plugins/debug-this/inc/extensions.php on line 350
[19-May-2021 14:53:02 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 174067712 bytes) in /home1/friscoro/public_html/fishingreport/wp-content/plugins/debug-this/inc/extensions.php on line 350

I’ve added a statement to my wp-config, but it didn’t help
define( 'WP_MAX_MEMORY_LIMIT' , '512M' );

If you press the top level “Debug This” button on the page preview, it gives you a page layout of all the elements. The shortcode I’m using does not show on that page at all even though I have 2 blocks with the same shortcode. A Shortcode block, and a Custom HTML block. Both just render the actual shortcode text on the preview page, but there is nothing when viewing it with Debug This.

https://wordpress.org/support/topic/shortcode-critical-error/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions