Support » Plugin: Allow PHP in Posts and Pages » Include(): error

  • Hello,

    While using

    [php]include ‘roster.php’;[/php]

    code, I’m having following issues:

    Warning: include(roster.php): failed to open stream: No such file or directory in /homepages/10/d590290212/htdocs/Luna/wp-content/plugins/allow-php-in-posts-and-pages/allowphp.php(420) : eval()’d code on line 1

    and:

    Warning: include(): Failed opening ‘roster.php’ for inclusion (include_path=’.:/usr/lib/php5.5′) in /homepages/10/d590290212/htdocs/Luna/wp-content/plugins/allow-php-in-posts-and-pages/allowphp.php(420) : eval()’d code on line 1

    Does anyone know how to fix that or perhaps knows an alternative way to put PHP code into pages in WordPress 4.3?

    Thanks a lot for help.

    https://wordpress.org/plugins/allow-php-in-posts-and-pages/

  • The topic ‘Include(): error’ is closed to new replies.