bugs with PHP v.7.3.0-2
-
Hi!
I’ve updated php from 7.0 to 7.3.0-2 and start getting PHP Warnings in php log file.
Warnings:
2019-01-10 16:15:00 PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /var/www/***/postie/lib/simple_html_dom.php on line 1385
2019-01-10 16:15:00 message repeated 3 times: [ PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /var/www/***/postie/lib/simple_html_dom.php on line 1385]
2019-01-10 16:15:00 PHP Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /var/www/***/postie/lib/simple_html_dom.php on line 690
2019-01-10 16:15:00 PHP Warning: Invalid argument supplied for foreach() in /var/www/***/postie/lib/simple_html_dom.php on line 697
2019-01-10 16:15:00 PHP Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /var/www/***/postie/lib/simple_html_dom.php on line 690
2019-01-10 16:15:00 PHP Warning: Invalid argument supplied for foreach() in /var/www/***/postie/lib/simple_html_dom.php on line 697
2019-01-10 16:15:00 PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /var/www/***/postie/lib/simple_html_dom.php on line 1385
2019-01-10 16:15:00 message repeated 3 times: [ PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /var/www/***/postie/lib/simple_html_dom.php on line 1385]
2019-01-10 16:15:00 PHP Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /var/www/***/postie/lib/simple_html_dom.php on line 690
2019-01-10 16:15:00 PHP Warning: Invalid argument supplied for foreach() in /var/www/***/postie/lib/simple_html_dom.php on line 697
2019-01-10 16:15:00 PHP Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /var/www/***/postie/lib/simple_html_dom.php on line 690
2019-01-10 16:15:00 PHP Warning: Invalid argument supplied for foreach() in /var/www/***/postie/lib/simple_html_dom.php on line 697Everything works fine, but I’ve noticed that Postie inserts all email content including: <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”> <html><body>.
Before php updating, post content looked like:
<div>…</div>After php updating, post content looks like:
<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”> <html><body><div>…</div></html></body>It’s not critical but html of my homepage looks weird) with many <html> in <html> tags)
Thanks in advance for your help.
The topic ‘bugs with PHP v.7.3.0-2’ is closed to new replies.