Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
veptune opened this issue Nov 10, 2023 · 0 comments
Open

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

veptune opened this issue Nov 10, 2023 · 0 comments

Comments

@veptune
Copy link

veptune commented Nov 10, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant