[Resolved] Unable to execute PHP as DISALLOW_FILE_EDIT is defined.

Home Forums Support [Resolved] Unable to execute PHP as DISALLOW_FILE_EDIT is defined.

Home Forums Support Unable to execute PHP as DISALLOW_FILE_EDIT is defined.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1448386
    Pavla

    Hi! After i updated the theme the hooks don’t work anymore, i get the message
    Unable to execute PHP as DISALLOW_FILE_EDIT is defined.

    although my hosting provider told me thats its very dangerous, i modified the wp-config from

    define(‘DISALLOW_FILE_EDIT’, true);

    to

    define(‘DISALLOW_FILE_EDIT’, false);

    I also tried to add the line

    define( ‘GENERATE_HOOKS_DISALLOW_PHP’, true );

    but still getting the message and still not working.

    #1448478
    David
    Staff
    Customer Support

    Hi there,

    are you using any security plugins as they may be blocking it.
    Or check with your host to make sure there are no other modsec rules stopping it.

    #1468610
    Pavla

    I couldnt make it run, there is still the message.

    #1468851
    David
    Staff
    Customer Support

    Have you spoken to your host ? They will be able to assist with whats affecting it.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.