• I have installed plugin called Exec-PHP

    I try to execute the following code:

    [code moderated – please use the pastebin]

    It says I have fatal error on line 7:
    “Fatal error: Cannot redeclare format_time() (previously declared in /home2/nascarad/public_html/wordpress/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()’d code:2) in /home2/nascarad/public_html/wordpress/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()’d code on line 7”

    What’s wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The problem is that a function called format_time already exists, so rename it to resolve the conflict. Let me know if that’s it and I’ll provide further help if not.

    Har

    Thread Starter Cromiell

    (@cromiell)

    I changed function name to time_interval and there are no errors but instead of it post’s page is totally black (only background).

    Also on homepage it still says in widget of post that function is already declared same error. Even I change name to “blablabla”

    Do you have a link?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP in post’ is closed to new replies.