mauricerenck / kirby-podcaster

Kirby Podcast Plugin
https://podcaster-plugin.com
48 stars 4 forks source link

Call to a member function query() on null #68

Closed maxhoffmann closed 6 months ago

maxhoffmann commented 6 months ago

Hey there,

I’ve tried to set up the podcaster plugin on my server after successfully installing it locally. But whenever I enable the sqlite statistics I receive the following error, opening the website:

Call to a member function query() on null.

Kirby CMS Debugger

Any idea what might cause the issue?

maxhoffmann commented 6 months ago

Some additional info: it doesn’t seem to to create the podcaster.sqlite file on the server, although it doesn’t throw an error when line 18 or 19 is called

mauricerenck commented 6 months ago

Hey, seems like it cannot cannot connect 🤔 can you post your plugin configuration here, at least the stats part?

maxhoffmann commented 6 months ago

@mauricerenck I got it working. Looks like the server was a missing the sqlite extension for php or my permissions weren’t correctly set up. but I think it was the missing extension