WPIntell

Source evidence

Issue with the admin area and FSE templates

Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More · support · 2025-09-11T06:52:00+00:00

complaintsentiment
highseverity
1.0relevance
6replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 25 rows with source links

12.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
stlpl unresolved
User cannot access the admin area due to the error: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in <path>\wp-includes\class-wp-query.php on line 3949 Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in <path>\wp-includes\l10n.php on line 207 Steps to recreate: Add a user (Subscriber). Add restriction to the selected page (for “Logged in Users”). Create a new template via Editor (FSE) for this specific page (select an existing template as a base). Log in as the user and attempt to access the admin panel. Tested on WP 6.7 (PHP 8.1) & 6.8 (PHP 8.2). To clarify, I’m blocking access for logged out users to the selected page. Hi @stlpl Thanks for your patience. We’re sorry to hear about the errors you encountered. Could you let us know if you see any errors in the Log Viewer (under Content Control → Settings → General )? Also, are you running into any PHP errors, and do you happen to be using a translation plugin? Please submit a support ticket with all the relevant details using our Support Request – Content Control form so we can investigate. We look forward to your reply. Thank you for your reply, all the necessary information can be found here. In the “Log Viewer” section there are no errors at all. I reproduced the error on a clean installation of WordPress in English with only the “Content Control” plugin. After additional testing, when the user tries to open the panel, the following errors also appear alternately: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 12288 bytes) in <path>\wp-includes\functions.php on line 656 Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in <path>\wp-includes\block-template-utils.php on line 218 Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in <path>\wp-includes\class-wp-block-parser.php on line 330 It also seems that adding other restrictions (e.g., to the homepage) also causes an error. The template prepared from within the editor (FSE) for specific page/post are crucial here, not the page/post itself. Hi @stlpl Thanks for the info. Could you try the following to isolate the issue: Increase your PHP memory limit. Remove the custom template from the restricted page and switch it back to the default template. Try restricting a page without assigning a custom template and see if the error persists. This will help confirm whether the issue only happens when custom templates are involved. We look forward to your reply. Increasing my PHP memory does not help. Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 12288 bytes) in <path>\wp-includes\functions.php on line 656 The error occurs only when I create a template (even an empty one) for a specific page or post. I don’t need to block access to that particular page or post – blocking the archive or the homepage also causes the error. The issue disappears once the custom template is removed. I ran the tests using Twenty Twenty-Five theme. Hi @stlpl Thanks for your reply. We’ve forwarded this to our developers so they can take a look. Feel free to let us know if you have more information related to the bug. We appreciate your patience! 🙏

Comments

6 shown
stlpl 2025-09-12T07:01:00+00:00

To clarify, I’m blocking access for logged out users to the selected page.

Jamie P. 2025-09-19T12:52:00+00:00

Hi @stlpl Thanks for your patience. We’re sorry to hear about the errors you encountered. Could you let us know if you see any errors in the Log Viewer (under Content Control → Settings → General )? Also, are you running into any PHP errors, and do you happen to be using a translation plugin? Please submit a support ticket with all the relevant details using our Support Request – Content Control form so we can investigate. We look forward to your reply.

stlpl 2025-09-22T09:26:00+00:00

Thank you for your reply, all the necessary information can be found here. In the “Log Viewer” section there are no errors at all. I reproduced the error on a clean installation of WordPress in English with only the “Content Control” plugin. After additional testing, when the user tries to open the panel, the following errors also appear alternately: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 12288 bytes) in <path>\wp-includes\functions.php on line 656 Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in <path>\wp-includes\block-template-utils.php on line 218 Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in <path>\wp-includes\class-wp-block-parser.php on line 330 It also seems that adding other restrictions (e.g., to the homepage) also causes an error. The template prepared from within the editor (FSE) for specific page/post are crucial here, not the page/post itself.

Jamie P. 2025-09-22T12:44:00+00:00

Hi @stlpl Thanks for the info. Could you try the following to isolate the issue: Increase your PHP memory limit. Remove the custom template from the restricted page and switch it back to the default template. Try restricting a page without assigning a custom template and see if the error persists. This will help confirm whether the issue only happens when custom templates are involved. We look forward to your reply.

stlpl 2025-09-23T07:25:00+00:00

Increasing my PHP memory does not help. Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 12288 bytes) in <path>\wp-includes\functions.php on line 656 The error occurs only when I create a template (even an empty one) for a specific page or post. I don’t need to block access to that particular page or post – blocking the archive or the homepage also causes the error. The issue disappears once the custom template is removed. I ran the tests using Twenty Twenty-Five theme.

Jamie P. 2025-09-25T12:43:00+00:00

Hi @stlpl Thanks for your reply. We’ve forwarded this to our developers so they can take a look. Feel free to let us know if you have more information related to the bug. We appreciate your patience! 🙏