Support » Plugin: Word Linker » [Plugin: Word Linker] Fatal error

Viewing 1 replies (of 1 total)
  • 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.


    How to avoid fatal error Cannot redeclare function in PHP

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Word Linker] Fatal error’ is closed to new replies.