You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm upgrading from 2.1.0 to 2.1.1 and I encounter the following error :
TypeError: Symfony\Component\Panther\DomCrawler\Crawler::html(): Return value must be of type string, null returned
It seems that the Crawler::html() method must return a string, but as it calls the Crawler::attr() method under the hood, this can lead to a return null statement when the content is empty.
The text was updated successfully, but these errors were encountered:
I'm also having the same error, temporary downgraded to 2.1.0 (my code works again now) waiting for the PR to be merged, thanks for opening this issue, you saved me a bit of time @syl20b
Hello,
I'm upgrading from 2.1.0 to 2.1.1 and I encounter the following error :
TypeError: Symfony\Component\Panther\DomCrawler\Crawler::html(): Return value must be of type string, null returned
It seems that the Crawler::html() method must return a string, but as it calls the Crawler::attr() method under the hood, this can lead to a return null statement when the content is empty.
The text was updated successfully, but these errors were encountered: