Support » Plugin: PHP Everywhere » Function not executing

  • Resolved screenmachine


    Hello, I’ve been using the Insert PHP plugin to call a function on a page. That plugin is depreciated so I need to replace it with yours.

    I have my function called out in your box and your shortcode on the page (see screenshot However when I do a preview of the page, the function does not run.

    This works using the other plugin so I know the function is correct and can run.

    Am I missing something?

    • This topic was modified 3 years, 6 months ago by screenmachine.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Alexander Fuchs


    Hi @screenmachine, could you switch on error reporting for your wordpress installation. The mostlikely mistake is the function being loaded after my plugin is executed. In what file is the function placed?

    Kind regards,


    Thread Starter screenmachine


    Hello Alexander,

    I don’t have a debug.log getting created, supposedly there are no errors then?

    The function resides in another plugin called My Custom Functions ( That gives me custom functions.php power without creating a child theme.

    Plugin Author Alexander Fuchs


    Hi screenmachine, the problem is probably that the plugin loads after PHP everywhere. I can’t really influence it.

    Without a error log I can’t really find the error either.

    One thing that may work is putting the function in the php everywhere code box. But I guess this won’t be a good solution for your use case.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Function not executing’ is closed to new replies.