core icon indicating copy to clipboard operation
core copied to clipboard

Fatal error: Declaration of DOMElement::getAttribute(string $qualifiedName) must be compatible with Serps\Core\Dom\DomNodeInterface::getAttribute($name)

Open jumaris88 opened this issue 3 years ago • 3 comments

I got error Fatal error: Declaration of DOMElement::getAttribute(string $qualifiedName) must be compatible with Serps\Core\Dom\DomNodeInterface::getAttribute($name) in .../.../vendor/serps/core/src/Core/Dom/DomElement.php on line 0

jumaris88 avatar May 18 '21 13:05 jumaris88

I have the same error message. Is there any solution?

subet avatar Jul 25 '21 14:07 subet

same here

poznet avatar Sep 11 '22 09:09 poznet

The error disappears if you start the script with php 7.4.

But then I have another problem - maybe someone can help: PHP Fatal error: Uncaught Serps\SearchEngine\Google\Exception\InvalidDOMException: Unable to check javascript status. Google DOM has possibly changed and an update may be required. in /www/htdocs/xxx/vendor/serps/search-engine-google/src/Page/GoogleSerp.php:129 Stack trace: #0 /www/htdocs/xxx/vendor/serps/search-engine-google/src/Page/GoogleSerp.php(40): Serps\SearchEngine\Google\Page\GoogleSerp->javascriptIsEvaluated() #1 /www/htdocs/xxx/_webseiten/avigio.de.crm/serp.php(24): Serps\SearchEngine\Google\Page\GoogleSerp->getNaturalResults() #2 {main} thrown in /www/htdocs/xxx/vendor/serps/search-engine-google/src/Page/GoogleSerp.php on line 129

UnknownX74m avatar Aug 18 '23 08:08 UnknownX74m