We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[TypeError] trim() expects parameter 1 to be string, boolean given (0) /vendor/imangazaliev/didom/src/DiDom/Query.php:108 #0: trim(boolean) /vendor/imangazaliev/didom/src/DiDom/Query.php:108 #1: DiDom\Query::parseAndConvertSelector(string, string) /vendor/imangazaliev/didom/src/DiDom/Query.php:74 #2: DiDom\Query::cssToXpath(string) /vendor/imangazaliev/didom/src/DiDom/Query.php:53 #3: DiDom\Query::compile(string, string) /vendor/imangazaliev/didom/src/DiDom/Document.php:402 #4: DiDom\Document->find(string)
The text was updated successfully, but these errors were encountered:
решается declare(strict_types = 0); но только в самой библиотеке такое решение не подходит
Sorry, something went wrong.
Видимо, вы указали некорректный селектор. Можете показать его?
Такая же ошибка пример кода ` $test = '<p class="test">Привет</p>';
$doc = new \DiDom\Document($test);
$objDoc = $doc->find('.test');
`
No branches or pull requests
[TypeError]
trim() expects parameter 1 to be string, boolean given (0)
/vendor/imangazaliev/didom/src/DiDom/Query.php:108
#0: trim(boolean)
/vendor/imangazaliev/didom/src/DiDom/Query.php:108
#1: DiDom\Query::parseAndConvertSelector(string, string)
/vendor/imangazaliev/didom/src/DiDom/Query.php:74
#2: DiDom\Query::cssToXpath(string)
/vendor/imangazaliev/didom/src/DiDom/Query.php:53
#3: DiDom\Query::compile(string, string)
/vendor/imangazaliev/didom/src/DiDom/Document.php:402
#4: DiDom\Document->find(string)
The text was updated successfully, but these errors were encountered: