Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jumaris88 opened this issue May 18, 2021 · 3 comments

Comments

@jumaris88
Copy link

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

@subet
Copy link

subet commented Jul 25, 2021

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

@poznet
Copy link

poznet commented Sep 11, 2022

same here

@UnknownX74m
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants