Cannot redeclare get_query_template()
-
I have never changed the source code but the following error happened suddenly.
PHP Fatal error: Cannot redeclare get_query_template() (previously declared in xxx\wp-includes\template.php:23) in xxx\wp-includes\template.php on line 23
get_query_template() function is declared in template.php, line 23 previously. But the current position to declare its function is the same file and the same line number.
Note that this was resolved by restarting php-cgi.exe without changing the source code.
In which situation does this happen?
- The topic ‘Cannot redeclare get_query_template()’ is closed to new replies.