Site logo

Archived topic

DISALLOW_FILE_EDIT is defined. You should also disallow PHP execution in GP Hook

7 replies · Started by Don on February 4, 2023

Viewing posts 1–8 of 8

I recently noticed the "DISALLOW_FILE_EDIT is defined. You should also disallow PHP execution in GP Hooks." message at the top of my screen inside one of my sites on the plugin page.

There was also a "Learn How" link that led me to this page > https://docs.generatepress.com/article/disallow-php-execution/

However, although I can do minor changes to files on my website, the information on that page was over my head.

Is there someone that can fix this for me?

I would be willing to pay any reasonable amount.

Don Pasco

Hi Don,

Unfortunately this isn't a service we offer.

Are you using any security plugins?

Hi Leo,

Thank you for responding.

I am using WP Malware Scanner PRO.

Is that something that I should deactivate?

Don

That might be the cause. Can you try deactivating it to test?

Hi Leo,

I deactivated the WP Malware Scanner PRO plugin, and cleared the cache,
however it did not have any effect.

Don

Hi Fernando,

Thank you for responding.

I did not get to try your suggestion because I had already hired someone on Fiverr to fix it for me.

All is well now and I am sorry for any inconvenience I may have caused you.

Don Pasco

You're welcome, Don!

This archived topic is closed to new replies.