Jetpack 2.0 error with Exec-PHP
-
I have been using Jetpack since 1.2 and love its direction. However, 2.0 (possibly 1.9.x) gives me an error and I have had to deactivate the plugin.
I need to use PHP in my pages (articles). I have been using Exec-PHP (current version 4.9) for almost 2 years. In Jetpack 2.0, I am getting an error
Fatal error: Cannot redeclare testfunction() (previously declared in /Library/WebServer/Documents/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()’d code:6) in /Library/WebServer/Documents/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()’d code on line 7
which seems to point to Exec-PHP.
The page/article is a simple test page and contains
<?php mb_internal_encoding("UTF-8"); ini_set('display_errors', 1); function testfunction(){ echo "Hi from testfunction";} testfunction(); ?>
I have consistently got a similar error in all pages that have inline “function” statements.
I have had to deactivate Jetpack on my production site and need this problem to be fixed soon.
Thanks
- The topic ‘Jetpack 2.0 error with Exec-PHP’ is closed to new replies.