Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Seeing this Notice when trying to Refresh Browscap data.
Notice: Object of class Drupal\Component\Render\HtmlEscapedText could not be converted to int in Drupal\browscap\BrowscapImporter::import() (line 50 of browscap/src/BrowscapImporter.php).
Looks like the version is being retrieved as a Class and compared to an integer constant.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2817679-cast-version-as-string-2.patch | 445 bytes | lahoosascoots |
Comments
Comment #2
lahoosascoots CreditAttribution: lahoosascoots at Acquia commentedPatch to cast version as string.
Comment #3
lahoosascoots CreditAttribution: lahoosascoots at Acquia commentedFixed in refactoring updates in 29bddb06d534310c9ec40a8b8f54ea4ee6d65d25