j0k3r / graby

Graby helps you extract article content from web pages
MIT License
368 stars 73 forks source link

GrabyFormatter::addRowWithLevel(): Argument #2 ($th) must be of type string, int given, #350

Open tacman opened 8 months ago

tacman commented 8 months ago

Although a solution to this is mentioned in #332 , I'm using monolog 2. Is there a particular version I should be using so that this works?

Graby\Monolog\Formatter\GrabyFormatter::addRowWithLevel(): Argument #2 ($th) must be of type string, int given, called in /home/tac/g/tacman/f43.me/vendor/j0k3r/graby/src/Monolog/Formatter/GrabyFormatter.php on line 35

In my application, I'm using graby:dev-master, and I have monolog 2.9.2 installed.

image

tacman commented 2 weeks ago

Can you support monolog 3 and also fix this? I've made some changes to my fork and got it compiling, but something not working. Tests pass, though.