I am using this library (PHP Simple HTML DOM parser) to parse a link, here\'s the code:
function getSemanticRelevantKeywords($keyword){
$results = array(
The reason for this error is: the simple HTML DOM does not return the object if the size of the response from url is greater than 600000.
You can void it by changing the simple_html_dom.php
file. Remove strlen($contents) > MAX_FILE_SIZE
from the if
condition of the file_get_html
function.
This will solve your issue.