Skip to content

loadFromFile() does not work, gives error "count(): Parameter must be an array or an object that implements Countable - failed. Retrying..." #153

@connecteev

Description

@connecteev

loadFromFile() does not work, gives the following error:
count(): Parameter must be an array or an object that implements Countable - failed. Retrying...

Code:
$url = 'http://www.ask.com';
$html = new Dom();
$html->loadFromFile($url);

When you run these commands, the console shows the following error:
count(): Parameter must be an array or an object that implements Countable - failed. Retrying...

Also tried the following, with the same error in the console:
$url = 'http://www.ask.com';
$html = new Dom();
$html->load($url);
count(): Parameter must be an array or an object that implements Countable - failed. Retrying...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions