Closed ghost closed 4 years ago
@Fossil01 I removed your API key, but it's still in history of the edits...
I'll look into the actual issue this evening :)
Crap, forgot about that. Guess im making a new one now :p
I tried to reproduce this locally on my PC (set a breakpoint to the json request method), and just initialized the TVDbAPI and set the accepted languages, but I don't see any breakpoints being hit, so no code being triggered automatically.
Note that this is without any use of frameworks. Have you tried without artisan?
I will have another look.
I'll close this for now.
So I was using Laravels CLI tool "Artisan", and I have a method to fetch episodes from TVDB based on it's show ID.
Now I noticed every time I ran artisan, also for unrelated commands it would perform a call to TVDB, today it errored out so the error was especially noticable:
Now it looks like Artisan loops through all custom command files, and mine had this package loaded:
and in the constructor:
If this by design?