Unable to execute PHP as DISALLOW_FILE_EDIT is defined
-
I am not able to excute PHP for the Author Box, Elements, Hook of my website. It showing me this message: “Unable to execute PHP as DISALLOW_FILE_EDIT is defined.”
I have also followed this guide: https://docs.generatepress.com/article/disallow-php-execution/
Even after adding this constant: “define( ‘GENERATE_HOOKS_DISALLOW_PHP’, true );” in the wp-config.php file below the DISALLOW_FILE_EDIT constant. Still, I am not able to excute the PHP code for the HOOK Element in GeneratePress.
Btw, I am using iTheme security plugin, which has created the DISALLOW_FILE_EDIT constant in my wp-config.php file.
What could be the solution to fix this? As there are multiple elements including the Author Box and Recent Posts. Both of them are not working as the PHP code is not executed.
Please check the attached screenshot: https://ibb.co/ScDGsZR
Any assistance you can provide would be greatly appreciated.
- This topic was modified 1 year, 12 months ago by .
- This topic was modified 1 year, 12 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Unable to execute PHP as DISALLOW_FILE_EDIT is defined’ is closed to new replies.