Closed GeorgyKhairov closed 1 year ago
Hi @GeorgyKhairov ,
this is a HTML parser warning and not necessarily a bug in the plugin. Please make sure that your HTML file is 100% valid (use https://validator.w3.org/ if you are unsure). If your HTML file is valid and the plugin still shows these parser warnings, then please submit the HTML file here and we can try to have a look.
Cheers, Alex
Hi, i goy this warning, Moodle 4.1:
DOMDocument::loadHTML(): Tag svg invalid in Entity, line: 6 in /home/xxx/www/local/staticpage/view.php on line 83PHP message: PHP Warning: DOMDocument::loadHTML(): Tag path invalid in Entity, line: 7 in /home/xxx/www/local/staticpage/view.php on line 83PHP message: PHP Warning: DOMDocument::loadHTML(): Tag svg invalid in Entity, line: 11 in /home/xxx/www/local/staticpage/view.php on line 83PHP message: PHP Warning: DOMDocument::loadHTML(): Tag path invalid in Entity, line: 12 in /home/x/www/local/staticpage/view.php on line 83PHP message: PHP Warning: DOMDocument::loadHTML(): Tag svg invalid in Entity, line: 17 in /home/acceso25/www/local/staticpage/view.php on line 83PHP message: PHP Warning: DOMDocument::loadHTML(): Tag path invalid in Entity, line: 18 in /home/acceso25/www/local/staticpage/view.php on line 83PHP message: PHP Warning: DOMDocument::loadHTML(): Tag svg invalid in Entity, line: 22 in /home/acceso25/www/local/staticpage/view.php on line 83PHP message: PHP Warning: DOMDocument::loadHTML(): Tag path invalid in Entity, line: 23 in /home/acceso25/www/local/staticpage/view.php on line 83PHP message: PHP Warning: DOMDocument::loadHTML(): Tag svg invalid in Entity, line: 28 in /home/acceso25/www/local/staticpage/view.php on line 83PHP message: PHP Warning: DOMDocument::loadHTML(): Tag path invalid in Entity, line: 29 in /home/acceso25/www/local/staticpage/view.php on line 83PHP message: PHP Warning: DOMDocument::loadHTML(): Tag svg invalid in Entity, line: 33 in /home/acceso25/www/local/staticpage/view.php on line 83PHP message: PHP Warning: DOMDocument::loadHTML(): Tag path invalid in Entity, line: 34 in /home/acceso25/www/local/staticpage/view.php on line 83'
Hi @nukuaes,
as Alex explained above, these warning may be caused by your HTML file.
Please:
Cheers Christian
Hi, sorry for my delay, the w3 validator says don´t have error
attach scrensoth
and this is de html code
<!DOCTYPE html><html class="text-center" lang="es"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"><title>Promoción pack de tutorías de Mar Campos</title><meta name="description" content= "Los usuarios de acceso25 tenéis una promo para las tutorías de Mar Campos, ¡puedes beneficiarte de un 10% de descuento o una grabación gratuita."><meta name="robots" content= "index, follow"></head><META NAME="KEYWORDS" CONTENT="aprobar en la uned,test curso acceso mayores de 25 y 45 años,tes de lengua resueltos 2020-2021-2022,test de inglés uned"><link rel="stylesheet" href="local/staticpage/staticpages/assets/bootstrap/css/bootstrap.min.css?h=3f30c2c47d7d23c7a994db0c862d45a5"></head><body><div class="container d-inline-flex"><img class="img-fluid" src="/local/staticpage/staticpages/img/pack%20de%205%20clases.webp?h=29d7bacb409e67aabdcfce1b6726b7c9" loading="auto" width="1080" height="1080" /></div><script src="local/staticpage/staticpages/assets/bootstrap/js/bootstrap.min.js?h=79ff9637b74326c362fb6f7f5801a7ba"></script></body></html>
Hi, I got warnings when read static pages
Warning: DOMDocument::loadHTML(): htmlParseStartTag: misplaced
tag in Entity, line: 3 in /var/www/[moodle-site]/moodle/local/staticpage/view.php on line 83Warning: DOMDocument::loadHTML(): htmlParseStartTag: misplaced
tag in Entity, line: 6 in /var/www/[moodle-site]/moodle/local/staticpage/view.php on line 83Fix this bug please.
Plugin version is v4.0-r1 2022071200