spatie / crawler

An easy to use, powerful crawler implemented in PHP. Can execute Javascript.

Home Page:https://freek.dev/308-building-a-crawler-in-php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Call to undefined method GuzzleHttp\Client::getConfig()

tommusrhodus opened this issue · comments

Hi!

Using this tool in a WordPress plugin and I'm running into the following error:

Call to undefined method GuzzleHttp\Client::getConfig()

This is due to GuzzleHttp being included in another plugin using the updated version, noting this docBlock from the currently used GuzzleHttp version: @deprecated Client::getConfig will be removed in guzzlehttp/guzzle:8.0.

To resolve the conflict, the GuzzleHttp dependency in Crawler will need updating.

Feel free to send a PR that fixes this.