PHP Warning: count(): Parameter must be an array or an object that implements Countable in /root/vendor/paquettg/php-html-parser/src/PHPHtmlParser/Selector.php on line 171
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /root/vendor/paquettg/php-html-parser/src/PHPHtmlParser/Selector.php on line 172
Hi!
My output html file has classes like ft00 etc:
<p style="position:absolute;top:1218px;left:638px;white-space:nowrap" class="ft00">Some text</p>
but it has not styles for this class. So font-size is incorrect in the result. And html page looks not like an input pdf.
Screenshots: https://drive.google.com/open?id=18qgcG72pKlWRcErFqEHZlNUYLpCMMeYO
While running a script there are some errors:
How I can fix it and how to get correct styles?