Hello,
I would like to report an issue I found in the latest version of Readability.php. The error I got is the following:
PHP message: PHP Fatal error: Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in /vendor/fivefilters/readability.php/src/Readability.php:372
The $parsed['@context']
seems to be an array instead of being a string. Adding an extra condition right before the erroneous line might fix the issue:
!is_string($parsed['@context']) ||
Can you fix this in a future update?
Thanks in advance.