@diaskinkotakbaskin

Не работает любой код в functions.php в папке темы wordpress?

текст ошибки:

atal error: Uncaught Error: Call to undefined function add_filter() in C:\OpenServer\domains\localhost\tenderbay\wp-content\themes\tenderbay\functions.php:2 Stack trace: #0 {main} thrown in C:\OpenServer\domains\localhost\tenderbay\wp-content\themes\tenderbay\functions.php on line 2


Логи php откладка:

Stack trace:
#0 {main}
  thrown in C:\OpenServer\domains\localhost\tenderbay\wp-content\themes\tenderbay\functions.php on line 2
[18-Mar-2022 22:28:52 Europe/Moscow] PHP Fatal error:  Uncaught Error: Call to undefined function add_filter() in C:\OpenServer\domains\localhost\tenderbay\wp-content\themes\tenderbay\functions.php:2
Stack trace:
#0 {main}
  thrown in C:\OpenServer\domains\localhost\tenderbay\wp-content\themes\tenderbay\functions.php on line 2
[18-Mar-2022 22:29:02 Europe/Moscow] PHP Warning:  require(C:\OpenServer\domains\localhost\tenderbay\wp-includes/C:\OpenServer\domains\localhost\tenderbay\wp-includes/wp-includes/option.php): failed to open stream: No such file or directory in C:\OpenServer\domains\localhost\tenderbay\wp-includes\functions.php on line 13
[18-Mar-2022 22:29:02 Europe/Moscow] PHP Fatal error:  require(): Failed opening required 'C:\OpenServer\domains\localhost\tenderbay\wp-includes/C:\OpenServer\domains\localhost\tenderbay\wp-includes/wp-includes/option.php' (include_path='.') in C:\OpenServer\domains\localhost\tenderbay\wp-includes\functions.php on line 13
[18-Mar-2022 22:29:42 Europe/Moscow] PHP Warning:  require(ABSPATHWPINC/option.php): failed to open stream: No such file or directory in C:\OpenServer\domains\localhost\tenderbay\wp-includes\functions.php on line 8
[18-Mar-2022 22:29:42 Europe/Moscow] PHP Fatal error:  require(): Failed opening required 'ABSPATHWPINC/option.php' (include_path='.') in C:\OpenServer\domains\localhost\tenderbay\wp-includes\functions.php on line 8
[18-Mar-2022 22:31:02 Europe/Moscow] PHP Warning:  require(ABSPATHWPINC/option.php): failed to open stream: No such file or directory in C:\OpenServer\domains\localhost\tenderbay\wp-includes\functions.php on line 8
[18-Mar-2022 22:31:02 Europe/Moscow] PHP Fatal error:  require(): Failed opening required 'ABSPATHWPINC/option.php' (include_path='.') in C:\OpenServer\domains\localhost\tenderbay\wp-includes\functions.php on line 8
[18-Mar-2022 22:31:03 Europe/Moscow] PHP Warning:  require(ABSPATHWPINC/option.php): failed to open stream: No such file or directory in C:\OpenServer\domains\localhost\tenderbay\wp-includes\functions.php on line 8
[18-Mar-2022 22:31:03 Europe/Moscow] PHP Fatal error:  require(): Failed opening required 'ABSPATHWPINC/option.php' (include_path='.') in C:\OpenServer\domains\localhost\tenderbay\wp-includes\functions.php on line 8
[18-Mar-2022 22:31:03 Europe/Moscow] PHP Warning:  require(ABSPATHWPINC/option.php): failed to open stream: No such file or directory in C:\OpenServer\domains\localhost\tenderbay\wp-includes\functions.php on line 8
[18-Mar-2022 22:31:03 Europe/Moscow] PHP Fatal error:  require(): Failed opening required 'ABSPATHWPINC/option.php' (include_path='.') in C:\OpenServer\domains\localhost\tenderbay\wp-includes\functions.php on line 8
[19-Mar-2022 11:16:22 Europe/Moscow] PHP Fatal error:  Uncaught Error: Call to undefined function add_filter() in C:\OpenServer\domains\localhost\tenderbay\wp-content\themes\tenderbay\functions.php:2
Stack trace:
#0 {main}
  thrown in C:\OpenServer\domains\localhost\tenderbay\wp-content\themes\tenderbay\functions.php on line 2
  • Вопрос задан
  • 315 просмотров
Пригласить эксперта
Ответы на вопрос 1
@pantsarny
давайте за вас прочитаю лог ошибки
отсутствует требуемый файл wp-includes/option.php
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы