Fatal error: Cannot redeclare replace_callback() in /.../wp-content/plugins/word-linker/word-linker.php on line 97
Fatal error: Cannot redeclare replace_callback() in /.../wp-content/plugins/word-linker/word-linker.php on line 97
You could wait for the developer to catch and correct it or do it yourself by wrapping it php's function_exists code:
if (! function_exists ('replace_callback') ) { // this line goes above the existing code
//existing function code
}; // this line goes below the existing code
This says if the function named in the parens does NOT exist, then declare the function. If the function already exists, like in your case, then the existing function is ready to be called by whatever action or hook is making the call.
See:
http://www.digimantra.com/technology/php/avoid-fatal-error-redeclare-function-php/
This topic has been closed to new replies.