• 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://www.ads-software.com/plugins/genesis-simple-hooks/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Nick C

    (@modernnerd)

    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

    (@modernnerd)

    (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

    (@lucaweb)

    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

    (@lucaweb)

    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.