Forums

Exec-php and (6 posts)

  1. 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?

  2. Otto42
    Moderator
    Posted 2 years ago #

    You'll have to be more specific. What PHP code are you using, exactly?

  3. 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 ");

  4. Otto42
    Moderator
    Posted 2 years ago #

    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.

  5. vkaryl
    Member
    Posted 2 years ago #

    Viper has a forum for his plugin support: http://www.viper007bond.com/wordpress-plugins/forums/index.php

    He's pretty good about answers/help.

  6. MissComaDoll
    Member
    Posted 2 years ago #

    Thanks. The problem is now solved! :D

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.