I try the Podcaster plugin on my local machine and get an issue. (Thanks @mauricehh for this amazing plugin)
When I create or access a podcasterfeed page or navigate trough tabs, my page is frozen and load very slowly and finally show me some error messages.
The problem seems to come from fetching data from the Apple API, but when I disable this option by adding the instruction “‘mauricerenck.podcaster.externalApi’ => false,” to my config file, it doesn’t solve the problem.
Here are the error messages I get:
NetworkError when attempting to fetch resource.
In some fields like “Apple categories” and “Podcaster language”
Operation timed out after 10001 milliseconds with 0 bytes received in file: /xxx/xxx/www/kirby/src/Http/Remote.php line: 253
I just realized there’s a mixup in the documentation…the API option is called useApi not externaApi. If you look into the list of all options it’s correct in one of the other pages of the docs I used the other name which was a “working title”.
Can you please try and change it?
I can confirm your problems. As soon as I locally switch from MAMP to the php server the requests get really really slow and run into timeouts, even when just serving local json files.
Thanks @mauricehh for this release. The API issue is effectively gone on my local installation
I see a “Podcasts” item in the left Kirby Panel sidebar menu. If I click on it, I get a error message:
Could not connect to Database: could not find driver {"status":"error","message":"Call to a member function query() on null","code":500,"exception":"Error","key":null,"file":"\/site\/plugins\/kirby-podcaster\/app\/PodcasterStatsSqlite.php","line":121,"details":[],"route":"podcaster\/stats\/top-episodes\/([a-zA-Z0-9\\.\\-_%= \\+\\@\\(\\)]+)"}
So I tried to disable the analytics (no database is installed on my installation) by adding this in my config file: