Title: &quot;Execute PHP&quot; flag ERROR
Last modified: September 1, 2016

---

# "Execute PHP" flag ERROR

 *  [lucaweb](https://wordpress.org/support/users/lucaweb/)
 * (@lucaweb)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/execute-php-flag-error/)
 * Hello,
 * in a new installation of WordPress 4.5.3, Genesis Framework 2.3.1, Theme Genesis
   Sample 2.2.4, trying to use Genesis Simple Hook 2.1.2 when i flag “Execute PHP
   on this hook?” (also without insert php code) and i click “Save the changes” 
   the page is redirect to the homepage!
 * I made some attemps, if i insert no code php the plugin work right!
 * P.S. no others plugin activated
 * Luca
 * [https://wordpress.org/plugins/genesis-simple-hooks/](https://wordpress.org/plugins/genesis-simple-hooks/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Nick C](https://wordpress.org/support/users/modernnerd/)
 * (@modernnerd)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/execute-php-flag-error/#post-7630924)
 * Hi Luca!
 * So far I couldn’t reproduce this. For me, clicking “Execute PHP” on all fields
   and saving changes does not redirect to the homepage, even if I insert no PHP
   code.
 * If the plugin redirects to your homepage even when all fields are empty, it would
   be worth checking that your web host does not restrict use of PHP’s `eval()` 
   function, which Simple Hooks requires.
 *  Plugin Support [Nick C](https://wordpress.org/support/users/modernnerd/)
 * (@modernnerd)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/execute-php-flag-error/#post-7630925)
 * (If this only happens when you insert PHP code into the fields, please feel free
   to share the code if you’d like any further advice at all.)
 *  Thread Starter [lucaweb](https://wordpress.org/support/users/lucaweb/)
 * (@lucaweb)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/execute-php-flag-error/#post-7630948)
 * Hi Nick,
 * first of all thanks for the quick reply!
 * Actualy all the fields are empty, and i’m using a multi-hosting where i have 
   other wordpress installation where everithing was working right till few day 
   ago … i will check with my web host!!
 * Thank
    Luca
 *  Thread Starter [lucaweb](https://wordpress.org/support/users/lucaweb/)
 * (@lucaweb)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/execute-php-flag-error/#post-7630981)
 * Hi Nick,
 * just for to let know, maybe can be useful to other people: as you suggested the
   issue was from my web host and they solved the problem!
 * Tks
    Luca

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘"Execute PHP" flag ERROR’ is closed to new replies.

 * ![](https://ps.w.org/genesis-simple-hooks/assets/icon-256x256.png?rev=1335659)
 * [Genesis Simple Hooks](https://wordpress.org/plugins/genesis-simple-hooks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/genesis-simple-hooks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/genesis-simple-hooks/)
 * [Active Topics](https://wordpress.org/support/plugin/genesis-simple-hooks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/genesis-simple-hooks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/genesis-simple-hooks/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [lucaweb](https://wordpress.org/support/users/lucaweb/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/execute-php-flag-error/#post-7630981)
 * Status: not resolved