Home › Forums › Support › Disallow File Edits not Changing This topic has 3 replies, 3 voices, and was last updated 5 months, 3 weeks ago by Fernando. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts September 26, 2022 at 6:45 am #2354038 Jennifer Hello, I have read all your documentation, but for some reason this message still appears, “Unable to execute PHP as DISALLOW_FILE_EDIT is defined.” I am unsure what the problem is. Any assistance would be great. Jennifer Living His Word Ministries, Inc. www.livinghisword.org September 26, 2022 at 11:59 am #2354437 YingStaff Customer Support Hi Jennifer, Please check David’s answer here regarding this issue: https://generatepress.com/forums/topic/unable-to-execute-php-as-disallow_file_edit-is-defined-2/#post-1538699 September 27, 2022 at 4:39 am #2355114 Jennifer Hi Ying, I did read those documents. This is why I am writing to you. Did you see the images I attached? I followed what this document “https://docs.generatepress.com/article/disallow-php-execution/” said. Because I am using Sucuri plugin so I do have: define( ‘DISALLOW_FILE_EDIT’, true ); AND I ADDED define( ‘GENERATE_HOOKS_DISALLOW_PHP’, true ); but under elements it still shows “Unable to execute PHP as DISALLOW_FILE_EDIT is defined.” Am I missing something? Thank you Jennifer Living His Word Ministries, Inc. www.livinghisword.org September 27, 2022 at 6:54 pm #2355852 Fernando Customer Support Hi Jeniffer, Can you try adding this through Code Snippets?:add_filter( 'generate_hooks_execute_php', '__return_true' ); Adding PHP: https://docs.generatepress.com/article/adding-php/#code-snippets Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In