GravityPDF / querypath

A fork of QueryPath: a PHP library for HTML(5)/XML querying (CSS 4 or XPath) and processing (like jQuery) with PHP8.3 support
Other
21 stars 2 forks source link

DOMNode::cloneNode(): ID *** already #9

Closed jakejackson1 closed 1 year ago

jakejackson1 commented 1 year ago

From querypath created by byargv: technosophos/querypath#187

QueryPath/QueryPath/DOMQuery.php--Line:3291

foreach ($this->matches as $m) $found->attach($m->cloneNode(TRUE)); must changed to : foreach ($this->matches as $m) $found->attach(@$m->cloneNode(TRUE)); to disable errors