Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortcode- Critical error #5

Open
beatricelucaci opened this issue May 25, 2021 · 0 comments
Open

Shortcode- Critical error #5

beatricelucaci opened this issue May 25, 2021 · 0 comments

Comments

@beatricelucaci
Copy link

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant