I had the same issue on my page when I moved it from one system to another, I was able to change the simple_html_dom.php
file by removing the offset reference (didn't cause any further problems for me).
On line 75 of simple_html_dom.php
:
$contents = file_get_contents($url, $use_include_path, $context, $offset);
I removed the reference to $offset
:
$contents = file_get_contents($url, $use_include_path, $context);
No my page works fine. Not taking liability for anything else it breaks! :)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…