Skip to content

Fatal error: Uncaught Error: Class "Goose\Client"  #42

@veptune

Description

@veptune

Hello,

I have installed the package with : composer require crscheid/php-article-extractor

But I got

Fatal error: Uncaught Error: Class "Goose\Client" not found in /Users/nicolas/Desktop/www/wordpress/wp-content/plugins/autocontent/vendor/crscheid/php-article-extractor/src/ArticleExtractor.php:50 Stack trace: #0 /Users/nicolas/Desktop/www/wordpress/wp-content/plugins/autocontent/autocontent.php(100): Cscheide\ArticleExtractor\ArticleExtractor->getArticleText('https://www.fas...')

It can't find Goose\Client

But I can see it in vendor/scotteh/php-goose

Any clue?

And by the way there is no "processURL" anymor, now it seems we have to use getArticleText. I think you should update the tutorial page :)

Thanks

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