Site logo

Archived topic

Disallow File Edits not Changing

3 replies · Started by Jennifer on September 26, 2022

Viewing posts 1–4 of 4

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.

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

This archived topic is closed to new replies.