PHP problems (run PHP advanced poll)

  • Unknown's avatar

    Hi,

    I’m trying to use advanced poll in my posts with wordpress. To execute the PHP code I’m using run PHP plugin.

    I tried it once using code:

    <phpcode><?php
    include_once “/var/www/vhosts/directmandate.com/httpdocs/poll/booth.php”;
    echo $php_poll->poll_process(6);
    ?>
    </phpcode>

    It WORKED.

    Then I tried posting again, the EXACT SAME post.

    I get this showing up in my post:

    Fatal error: Call to a member function on a non-object in /var/www/vhosts/directmandate.com/httpdocs/wp-content/plugins/runPHP.php(410) : eval()’d code on line 3

    Now I don’t understand how it can work once, but not again, even when the post is EXACTLY the same?

    Does anyone know how to resolve this or shed any light on it?

    Thanks in advance for your replies.

  • Unknown's avatar

    You need to ask at http://wordpress.org/support
    We are unable to help here, sorry.

  • The topic ‘PHP problems (run PHP advanced poll)’ is closed to new replies.