PHP problems (run PHP advanced poll)
-
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.
-
- The topic ‘PHP problems (run PHP advanced poll)’ is closed to new replies.