Ready to get started?Download WordPress


Allow PHP in Posts and Pages
I can't use this plugin on multi site. (5 posts)

  1. miyuki1201
    Posted 1 year ago #

    I'm using this usable plugin.
    But it on child-site can't work.

    The following error is displayed.
    Parse error: syntax error, unexpected end of file, expecting ';' in /usr/home/web/***************.com/htdocs/wp-content/plugins/allow-php-in-posts-and-pages/allowphp.php(373) : eval()'d code on line 5.

    How should it be settled?

    in detail
    following function is not working on child-site in multi-site.

  2. bubi
    Posted 1 year ago #

    I'm getting the same error in for loop, while if statement and plain mathematical calculations work OK. What can be done to escape error for for loop?

  3. jani74
    Posted 1 year ago #

    same here :(

  4. jani74
    Posted 1 year ago #

    solved, moved the whole php stuff into a php file and included that...

  5. dondela
    Posted 1 year ago #

    How exactly did you do that? Where did you include the php file?
    Thanks dondela

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.