Below is a rendering of the page up to the first error xml

I am using XMLWriter to create xml.Below is my code which is working fine. openMemory(); $writer->startDocu...

I am using XMLWriter to create xml.Below is my code which is working fine.

<?php
header("Content-Type: text/xml;");
$writer = new XMLWriter(); 
$writer->openMemory();  
$writer->startDocument('1.0'); 
$writer->setIndent(4); 
$writer->startElement('epp'); 
$writer->startElement("command"); 
$writer->startElement("login"); 
$writer->writeElement('clID', 'hello'); //username
$writer->writeElement('pw', 'abcdefg'); //password
$writer->endElement(); //login
$writer->endElement(); //command
$writer->endElement(); //login
$writer->endDocument(); 
$file =  $writer->outputMemory(true); 
echo $file;

?>

If am using below code I am getting error «Getting Error «Below is a rendering of the page up to the first error.».

<?php
$time  = time();
echo $time;
header("Content-Type: text/xml;");
$writer = new XMLWriter(); 
$writer->openMemory();  
$writer->startDocument('1.0'); 
$writer->setIndent(4); 
$writer->startElement('epp'); 
$writer->startElement("command"); 
$writer->startElement("login"); 
$writer->writeElement('clID', 'hello'); //username
$writer->writeElement('pw', 'abcdefg'); //password
$writer->endElement(); //login
$writer->endElement(); //command
$writer->endElement(); //login
$writer->endDocument(); 
$file =  $writer->outputMemory(true); 
echo $file;

?>

Error:For above block of code below is the error:I am getting this in google chrome:

 This page contains the following errors:

 error on line 1 at column 1: Document is empty
 Below is a rendering of the page up to the first error.

If I am not using header(«Content-Type: text/xml;»); then above block of code is working but time is displaying and not giving the xml format. Below is the error:

1354510317 hello abcdefg

EDIT:
In Mozilla I am getting below erro:

XML Parsing Error: not well-formed
Location: http://localhost/example.php
Line Number 1, Column 11:1354512268<?xml version="1.0"?>
 ----------^

If I have done anything wrong with my code please suggest.

How «Below is a rendering of the page up to the first error.» error can
be removed?

Совсем недавно я делал блог под заказ. Когда дело дошло до настройки RSS-ленты, мне браузеры выдали вот такую ошибку:

в Firefox

XML Parsing Error: XML or text declaration not at start of entity
Location: https://iuliandonici.com/feed
Line Number 3, Column 1:
^

в Opera

XML declaration not at beginning of document

в Chrome

This page contains the following errors:
error on line 2 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.

Чтобы найти решение проблемы, я промучился 2 часа. Но теперь я знаю, что это за ошибка, почему она возникла и как ее исправить. А, поскольку с этой ошибкой сталкиваются практически все, кто ковыряется в коде WordPress, устанавливает новые плагины, или просто развивает свой блог изнутри, то уверен, что эта информация будет полезной.

Откуда взялась ошибка с XML declaration в RSS-ленте?

При создании feed (фида) используется XML формат. XML блок должен выводится первым в ленте и без всяких пробелов спереди. Некоторые плагины делают грубую ошибку, оставляя после себя те самые ненужные пробелы, которые и ломают всю нашу RSS-ленту, с чем я и столкнулся в заказе.
Когда я открыл исходный код блога, то увидел в самом верху огромное количество пробелов. Советую и вам посмотреть на ваших ресурсах. Если вы не знаете, как посмотреть исходный код сайта в браузере, пишите в комментариях.

Откуда взялась ошибка с XML declaration в RSS-ленте?

Исправление ошибки  XML declaration в RSS-ленте.

Итак, как я исправил ошибку?
Как вы уже поняли, нужно бороться со зловещими пробелами в начале сайта. Приступим.

1). В самом начале я проверил нет ли пробелов в файле темы functions.php.
Проверять нужно до

<?php

и после

?>

Если у вас имеются пробелы, удалите.

2). Посмотрите наличие пробелов в файле wp-config.php вначале кода и в конце.

3). Проверьте файлы wp-rss2.php и wp-atom.php. Если есть пробелы в начале или в конце кода, удалите.

4). Мне этих три пункта не помогли, так как пробелов в файлах не было. Тогда я в админ-панеле стал выключать по одному плагину. И вот, совершилось!!! Я нашел виноватого. После деактивации плагина «WP No External Links» все заработало.

5).  Если  у вас ошибка и далее висит, воспользуйтесь плагином «Fix RSS Feed Word Press«. Этот плагин удаляет лишние пробелы в файлах, которые так мешают работе RSS-ленты.
Я плагин не использовал и не проверял на работоспособность. Сказать, на сколько он хорош не могу, но рекомендую, на всякий случай, сделать резервную копию полностью всего сайта, это во избежание лишних проблем, мало ли что может случиться.

6). Если вы для трансляции ленты на блоге используете Feedburner, и после всех этих исправлений он не хочет работать, сделайте такие действия:
зайдите в ваш аккаунт Feedburner => Мои фиды (My Feeds) =>нажмите на название фида =>Решение проблемы (Troubleshootize) => Resync Now. Эта операция обновит и ресинхонизирует ленту-RSS.

Если для устранения ошибки вам не помог ни один из пунктов, пишите в комментарии, попробуем разобраться вместе.

Понравился пост? Помоги другим узнать об этой статье, кликни на кнопку социальных сетей ↓↓↓

Последние новости категории:

Похожие статьи

Популярные статьи:

Добавить комментарий

Метки: RSS, wordpress

xml карта сайта с ошибкой

Данная проблема возникает у пользователей CMS WordPress. Бывает так что XML карта сайта созданная при помощи плагина google-sitemap-generator, отображается некорректно, а то и вовсе выдает ошибку:

This page contains the following errors:

error on line 2 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.

Эта проблема решается очень легко и просто.  Все что нужно Вам сделать так это открыть файл function.php Вашей темы, который расположен в папке темы ваш_домен/wp-content/themes/ваша_тема и удалить все пустые строки и пробелы в конце файла.

function.phpСамое главное чтобы файл заканчивался не пробелом и не пустой строкой.

функции темы

Сохраните изменения и примените их. Закачав измененный файл обратно на хостинг или если Вы изменяли файл в админ панели блога, то просто нажмите на кнопку Обновить файл.

После проделанных действий Вы больше не увидите ошибку:

ошибка карты сайта

И Ваша карта сайта будет корректно отображаться и функционировать.

карта сайтаА так же можно скрыть ссылки которые отображаются выше (в голубой рамке) и ниже (серым цветом) самой карты сайта, но для этого надо знать хоть немного HTML CSS.

На этом все, думаю информация будет полезна тем кто столкнулся с данной проблемой.

0 Пользователей и 1 Гость просматривают эту тему.

  • 20 Ответов
  • 8205 Просмотров

Нужна ваша помощь…
Не могу разобраться почему при генерировании «Карты сайта» в XML
выдает ошибку:
This page contains the following errors:
error on line 1 at column 8: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.

Увидеть эту ошибку можно по ссылке:
https://cool-shop.com.ua/index.php?option=com_xmap&sitemap=1&view=xml

А вот PHP версия карты сайта нормально открывается:
https://cool-shop.com.ua/index.php?option=com_xmap&sitemap=1

На одном из форумов ранее говорилось, что может быть проблема из-за «пробела» в начале кода страницы…
Вот о чем я имею введу скидываю ссылку на скрин:
https://pastenow.ru/8VAIV
Но я не пойму как его убрать от туда, уже все перепробовал все равно пробел в начале кода страницы остается…

В чем может быть проблема подскажите пожалуйста? Как ее можно решить что бы работала XML страница?

такая строка должна быть одна. у вас их почему-то две.
пробелов быть не должнл. перед формированием XML дайте команду:

для очистки всего, что успело вывестись (пробелы в вашем случае).

такая строка должна быть одна. у вас их почему-то две.
пробелов быть не должнл. перед формированием XML дайте команду:
для очистки всего, что успело вывестись (пробелы в вашем случае).

Эм… можно поподробней пожалуйста… куда именно я должен дать команду » ob_clean(); » ?

Саму генерацию делает компонент Xmap

Саму генерацию делает компонент Xmap

Вот в него и попробуйте. Как во всех компонентах — скопируйте макет вывода в свой шаблон и подправьте
components/com_xmap/views/xml/tmpl/default_xsl.php
Чтоб проверить — можно и без копирования. Но потом при обновлении изменения будут затерты.
Чистить надо до первого полезного вывода данных. Т.е. в этом макете перед строчкой:

echo '<?xml version="1.0" encoding="UTF-8"?>',"n";

добавьте ob_clean();

У меня к сожалению на Joomla 1.5.28 с версией ХМap 1.2.14
нет такого пути… components/com_xmap/views/xml/tmpl/default_xsl.php
Скорей всего у вас версия 2.5 и выше…

У меня есть вот такие файлы:
https://pastenow.ru/8W6GU (ссылка на скриншот)

Тогда Xmap.xml.php смотрите. У меня этого компонента нет — скачивал, чтоб посмотреть. Но выбрал под 3-ю, не досмотрел, что вопрос для Joomla 1.5

К слову, у вас и на обычных страницах сайта есть лишние пробелы перед первым тегом. Проверьте основной шаблон (индекс шаблона) сайта — чаще всего это оттуда.

Я так и подумал что надо смотреть в файле Xmap.xml.php
Вчера добавил: $ob_clean();
перед:
        echo ‘<?xml version=»1.0″ encoding=»UTF-8″?>’,»n»;

после чего ошибка поменялась на вот такую:

This page contains the following errors:
error on line 1 at column 3: Extra content at the end of the document
Below is a rendering of the page up to the first error.

index.php Шаблон проверил в начале вроде нету пробелов:
вот скрин начала кода:

да, тут все ок. значит какой-то плагин или модуль их делает. вывод ошибок включен? если отключить/включить, то все так же?

index.php

Из корня сайта покажите

да, тут все ок. значит какой-то плагин или модуль их делает. вывод ошибок включен? если отключить/включить, то все так же?

Если включить отладку, то все страницы включая админку на белом фоне и с такой надписью:

Информация о профиле
Application afterLoad: 0.004 seconds, 0.31 MB
Application afterInitialise: 0.077 seconds, 1.66 MB
Application afterRoute: 0.416 seconds, 2.30 MB
Application afterDispatch: 3.278 seconds, 5.13 MB
Application afterRender: 3.731 seconds, 7.12 MB
Использование памяти
7499376

Пришлось через configuration.php — убирать включение отладки.

Надо не отладку, а «максимальный»

Надо не отладку, а «максимальный»

На Joomla 1.5 такого нету как «максимальный»

Есть просто:
Отладка системы    Нет   Да
Отладка локализации    Нет   Да

Замените index.php на файл из архива Joomla 1.5 и проверьте .
Что вы там на подключали и для кого .

скачал Joomla 1.5.28 и заменил корневой index.php
на вид вроде ничего не изменилось.
Ошибка осталась прежней…

Ищите проблемный плагин.

Как вариант — дописать в своем плагине костыль, который будет удалять начальные пробелы перед выводом страницы.

Ошибка осталась прежней

Ищите вирус/шелл в файлах сайта, судя по  index.php из корня сайта

Ищите вирус/шелл в файлах сайта, судя по  index.php из корня сайта

До всего этого вирусы ранее были… И вроде как успешно были удалены с помощью антивирусника imunifyAV через CPanel хостера.

До всего этого вирусы ранее были… И вроде как успешно были удалены с помощью антивирусника imunifyAV через CPanel хостера.

С этого надо было начинать. Значит где-то мусор остался.

This page contains the following errors:

error on line 1 at column 6: XML declaration allowed only at the start of the document

Below is a rendering of the page up to the first error.

or

XML Parsing Error: XML or text declaration not at start of entity

XML declaration error in XML Sitemap

As frustrating as this is, unfortunately it’s not something that can be “fixed” in All in One SEO, and requires a bit of troubleshooting to determine what file is causing it.

If you’re getting this error, this indicates headers have already been sent, usually caused by another PHP file outputting blank lines. Normally this happens when a poorly written plugin or theme’s PHP file is incorrectly outputting a closing PHP ?> tag, followed by some extra lines.

There are three possible culprits:

  1. Another plugin – You can use these instructions to narrow down the offending plugin/plugins. Once you find the plugin, you can either deactivate it, look for the file(s) with a closing PHP tag followed by blank lines and remove it, and/or contact the developer with the bug report.
  2. Your theme – Similar to #1,  use these instructions to determine if it’s your theme that’s the problem. Install a fresh and unmodified copy of one of the default themes (Twenty Nineteen, Twenty Twenty, etc). If the problem goes away, you know it was your theme.
  3. WordPress core – This would only be a problem if either you’re on a really old version of WordPress (upgrade!) or else you’ve modified core files (don’t!).
Whitespace after the closing PHP tag

Wherever you find this closing PHP tag, remove it.

Всем привет! Сегодня я вам расскажу, как починить вашу ленту записей в WordPress, если вдруг у вас появилась RSS-ошибка xml declaration.

Вот иногда пишешь, строгаешь себе статьи каждый день и вместо ожидаемой тенденции повышения посещаемости блога замечаешь, что она наоборот падает!

В такие моменты уже начинаешь подумывать, что Яндекс подарил сайту свой новый фильтр за попытки манипулировать поисковой выдачей.

Например, если было закуплено много ссылок за малый промежуток времени.

Но по правде все дело в RSS-ошибке xml declaration, из-за которой подписчики не получают на почту уведомления о появившемся новом материале.

Поэтому посещаемость сайта как бы и замерла на одном месте, так как трафик с поисковиков растет, а с постоянной аудитории наоборот упала до нуля.

Чтобы это исправить нужно, починить свои RSS фидкак можно быстрее, чтобы вас не успели забыть ваши читатели.

Если не предпринять нужных мер сразу же, то большинство от вас просто отпишутся, так как будут удивляться: кто вы вообще такой?

Ок, думаю с этим все понятно. Итак, начнем пожалуй с того что существует достаточно много форм RSS-ошибокв которых обязательно будет прописана строка xml declarationВот как они чаще всего выглядят в разных браузерах.

В Firefox.

XML Parsing Error: XML or text declaration not at start of entity

Location: http://iuliandonici.com/feed

Line Number 3, Column 1:

В Opera.

XML declaration not at beginning of document

В Chrome.

This page contains the following errors:

error on line 2 at column 6: XML declaration allowed only at the start of the document

Below is a rendering of the page up to the first error.

Такие ошибки встречаются из-за того, что в один или нескольких файлов RSS фида были внесены изменения плагинами, скриптами, вирусами и т. д.

Так как RSS использует язык XML, который не допускает каких-то лишних пропусков или символов в файле, то он выдает сразу же RSS-ошибку xml declaration.

По сути, все, что нам нужно, так это подправить несколько файлов для устранения этой проблемы. Сделать это можно пятью способами.

Методы устранения RSS-ошибки xml declaration

1) Первое, что я вам рекомендую, так это обновить WordPress, если у вас достаточно старая версия.

Затем зайти на этот сайт feedburner.google.com, вставить ссылку от своей RSS-ленты и нажать на «Ping FeedBurner». Данный сервис пропингует (обновит) вашу ленту.

2) Если не помогло, то отключите все плагины, которые у вас стоят на блоге.

В большинстве случае проблема кроется в них, так как они создают пробелы в RSS файлах. Как сделаете это, так же пропингуйте свою RSS-ленту, как и в предыдущем примере.

3) Если и это не помогло, то установите себе плагин Fix RSS Feed, который был создан для устранения подобных погрешностей.

Скачать его можете здесь http://www.flyaga.info/fix-rss-feed-wordpress-plugin/. После того как активируете его, зайдите в настройки и нажмите «Check WordPress RSS Feed», вы увидите список ошибок. З

атем нажмите «Fix WordPress RSS Feed» чтобы их исправить и также снова пропингуйте свою ленту.

Мне это лично помогло. Кстати, не рекомендую удалять плагин после того как вы почините свой вид, так как RSS-лента может снова сломаться.

Просто отключите плагин, чтобы он не делал лишних запросов к базе данных.

4) Запускаем FTP клиент, вводим свои данные, подключаемся. Открываем папку wp-includes и ищем в ней файлы: «feed-rss.php», «feed-rss2.php», «feed-rss2-comments.php», «feed-atom.php», «feed-rdf.php».

Открываем каждый файл и удаляем пробелы (пустые строки) и этот код, если он будет.

<?php
/**
* RSS 1 RDF Feed Template for displaying RSS 1 Posts feed.
*
* @package WordPress
*/
header('Content-Type: application/rdf+xml; charset=' . get_option('blog_charset'), true);
$more = 1;
?>

<?php echo ‘<?xml version=»1.0″ encoding=»‘.get_option (‘blog_charset’).’»?’.'>’; ?>

5) Откройте файл вашей темы блога functions.php и заодно wp-config.php, который лежит в корне вашего блога (папка httpdocs или public_html , www, domains), и также убираем пробелы и пропинговываем наш вид.

Если вдруг вы перепробовали все эти методы, но RSS-ошибка xml declaration так и осталась то, в крайнем случае, просто заведите себе новую ленту.

Asked
4 years, 11 months ago

Viewed
12k times

I am getting following issues when XML file open in the browser:-

This page contains the following errors:

error on line 11 at column 16: xmlParseEntityRef: no name

Below is a rendering of the page up to the first error.

enter image description here

Community's user avatar

asked Mar 15, 2018 at 5:58

Randhir Yadav's user avatar

Randhir YadavRandhir Yadav

2,5361 gold badge19 silver badges31 bronze badges

Problem: An XML parser returns the error «xmlParseEntityRef: noname»

Cause: There is a stray ‘&’ (ampersand character) somewhere in the XML text eg. some text & some more text

Solution 1:

Remove the ampersand.

Solution 2:

Encode the ampersand (replace the ampersand '&' character with '&amp;',  '<' with '&lt;' and '>' with '&gt;' ) 
Remember to Decode when reading the XML text.

Solution 3:

Use CDATA sections (text inside a CDATA section will be ignored by the parser.) eg. <![CDATA[some text & some more text]]>

answered Mar 15, 2018 at 5:58

Randhir Yadav's user avatar

Randhir YadavRandhir Yadav

2,5361 gold badge19 silver badges31 bronze badges

This is a common issue that crops up for active developers. All of a sudden, their sitemap.xml, sitemap_index.xml, sitemap_posts.xml, etc.. seemingly just stops working — outputting this error:

This page contains the following errors: error on line 2 at column 6: XML declaration allowed only at the start of the document. Below is a rendering of the page up to the first error.

What’s going on?

In short, there’s most likely an empty line at the top of the page source. Go ahead and right-click on the sitemap page, then View Page Source. You’ll probably see something like this:

Notice how the code begins on line 2 — and not line 1 (as it should). That simple empty line is breaking the XML syntax. So where did it come from?

Probable causes:

  • An empty line at the top of wp-config.php
  • An empty line at the end of your theme functions.php
  • An empty line or line break anywhere before or after <?php and ?> opening/closing tags (generally plugins or theme files)

Let’s narrow things down.

Troubleshooting: The Active Theme

The first thing to do is switch your theme to a default one (ie. twentynineteen) — it’s possible your theme developer released an update accidentally including a line break or empty space. I’ve also been guilty of causing this myself numerous times when adding custom lines to my theme’s functions.php.

Clear out any caches you might have enabled (Autoptimize, WP-Rocket, Cloudflare, etc). and refresh the page. Once you confirm the default theme is loading, refresh the sitemap page and inspect the source code to see if the empty line is still there. If it is, it’s not your theme — let’s move on to plugins.

Troubleshooting: Active Plugins

You could deactivate each plugin, one by one — refreshing the page each time to see if empty line disappears. But to speed things along, let’s start by confirming the issue is coming from one of the plugins at all.

Rather than disabling all plugins, and enabling one by one — we’re going to add a PHP snippet to pseudo-deactivate them all without letting the plugins know. This is a big time saver because there are a bunch of plugins that remove their data from the database automatically on deactivation and need to be reconfigured if they’re switched off and on again (ie. Jetpack).

Open your FTP client (ie. Filezilla) or SSH to your site with your terminal and make a file called /wp-content/mu-plugins/plugin-sleep.php. If you don’t already have an /mu-plugins/ directory, make one (WordPress autoloads any plugins in this location).

Paste this code into the plugin-sleep.php file you made:

<?php
// Deactivate all plugins without loosing their configurations
add_filter('pre_option_active_plugins', '__return_empty_array');
add_filter('pre_site_option_active_sitewide_plugins', '__return_empty_array');

After this, reload the site. The plugins should all register as deactivated. The odds are you’re using a plugin like Yoast to generate your sitemap.xml, but that’s deactivated now so the sitemap page will 404. No matter! The empty line should appear at top of any page (including the WordPress 404 page). View the page source again to see if the empty line is still there.

If it’s gone, great. You know it’s a plugin. Remove /wp-content/mu-plugins/plugin-sleep.php and proceed with toggling the plugins off and one, one by one until you find your culprit.

Troubleshooting: Must Use Plugins

This step may not apply to you. If you already had an /mu-plugins/ directory and there were other php files in there, try renaming the directory altogether (something like /disable-mu/). This will stop WordPress from automatically loading them. Refresh the page to see If the empty line was coming from one of the files in there.

If the empty line is still there, rename it back to /mu-plugins/.

At this point, it’s most likely your wp-config.php or some other WordPress core file.

Troubleshooting: WordPress Core

The next place to stop off is your wp-config.php. Are there any empty lines outside of the <?php and ?> tags? Here’s what it might look like:

[SOLVED] Broken Sitemap.xml: Error line 2 at column 6

Notice that line 1 is empty and the <?php opening tag is on line 2? Remove that empty line then refresh the page and view the page source to see if that did the trick.

Troubleshooting: Search all files for empty start/end lines

If you want to search and print a list of all PHP files that begin with an arbitrary empty line, SSH into your site and run this in your terminal:

find . -name "*.php" -type f -size +0 -exec gawk 'STARTFILE{if ($0 == "") print FILENAME}' {} +

If you want to search and print a list of all PHP files that end with an arbitrary empty line, SSH into your site and run this in your terminal:

find . -name "*.php" -type f -size +0 -exec gawk 'FNR==1{if ($0 == "") print FILENAME}' {} +

These commands will help narrow down specific files that contain arbitrary empty lines at the start and end of each file. They won’t find any in the middle of the code though. Though if you’ve gone through all the steps above and are still seeing the issue — it’s not the plugin/theme or WordPress core code — so at least you’ve narrowed it down to some kind of custom script.


CMS, WordPress

  • 26.10.2016
  • 4 606
  • 3
  • 11.09.2022
  • 3
  • 3
  • 0

XML declaration allowed only at the start of the document

  • Содержание статьи
    • Описание
    • Комментарии к статье ( 3 шт )
    • Добавить комментарий

В данной статье пойдет речь о том, как исправить ошибку «XML declaration allowed only at the start of the document», которая может появляться в некоторых случаях при переносе сайта на новый хостинг.

Описание

Перенося один из своих сайтов на новый хостинг, я однажды столкнулся с проблемой, что вместо нормальной карты сайта, генерируемой движком вордпресса, вылезло окно с ошибкой:

This page contains the following errors:
error on line 2 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.

wordpess-error
После гугления обнаружилось, что одной из причин такой ошибки может быть наличие разных символов/пробела/переноса строки в первой строке php файлов текущей темы оформления для WordPress. Переходим к поиску злоумышленника!
Для рекурсивного поиска всех php файлов в директории и отображения только тех, где первая строчка начинается не с <?php я наваял вот такую последовательность команд:

find /srv/www/pc.ru/wp-content/themes/sysadmin/ -type f -name '*.php' -exec grep -Hnm1 '' {} ;| grep -v ':1:<?php'

find /srv/www/pc.ru/wp-content/themes/sysadmin/ -type f -name '*.php' — Поиск всех php файлов в директории /srv/www/pc.ru/wp-content/themes/sysadmin/
-exec grep -Hnm1 '' {} ; — Для каждого файла запускаем grep. Параметр H — отображает название текущего файла, n — отображает номер строки, m1 — останавливает поиск после первого же совпадения, » — пустое условие поиска. Таким образом мы из каждого файла берем только первую строку, а также в ней оставляем название файла и номер этой самой строки.
grep -v ':1:<?php' — Параметр v — означает инверсию, т.е. выводит только то, что не совпадает с условием поиска ‘:1:<?php’ В результате выполнения, данная последовательность команд выведет список всех php файлов в директории, первая строчка которых НЕ НАЧИНАЕТСЯ с символов «<?php». Далее остается только отредактировать найденные файлы и убрать из них мусор. В моем случае оказалось, что проблема была из-за невнимательного редактирования — один из файлов темы начинался с символа переноса строки.

Понравилась статья? Поделить с друзьями:
  • Bind failed with error 10048 beam mp
  • Bind error dumping master file
  • Bind error 10013 сделана попытка доступа к сокету методом запрещенным правами доступа
  • Bind error 10013 tftpd64
  • Bind error 10013 tftpd