MissComaDoll
Member
Posted 2 years ago #
I downloaded the Exec-php plugin and it works just fine in the posts that I’ve tried to use it in. But when I want to use it to write Viper’s Plugins Used php-code in a page I get this error:
Fatal error: Call to a member function on a non-object in
plugins/exec-php.php(75) : eval()’d code on line 3
Is it something wrong with the plugin or is the error somewhere else?
You'll have to be more specific. What PHP code are you using, exactly?
MissComaDoll
Member
Posted 2 years ago #
This:
<?php echo $viperspluginsused->plugincount(); ?>
the error is in exec-php.php on line 75. But I just don't know what...
Line 75:
eval(" ?> $content <?php ");
That error means that there's an error in your code in the post. The reason it gives the error on the eval is because your code is being stuck into that place and run there.
So your error is actually in that viper thingy.
Viper has a forum for his plugin support: http://www.viper007bond.com/wordpress-plugins/forums/index.php
He's pretty good about answers/help.
MissComaDoll
Member
Posted 2 years ago #
Thanks. The problem is now solved! :D