Closed boguscode closed 10 months ago
Hi, this is not a configuration mistake but a bug, I think it has been fixed in https://github.com/Daandelange/kirby3-simplestats/commit/4bae997ac62d2aa0258d399b9530973ca95799fb, are you using master
?
My page blueprint stats tab is identical to yours, it looks correct.
yes, 0.6.2-beta from the release page. Are the code changes already in there?
There have quite some changes since 0.6.2
, while no release recently (gotta make one), you could try the master zip meanwhile.
I tried master to no avail. the error keeps popping up :(
Sorry, I'm unable to reproduce the error, even with an empty database... could you show me the line from which the error is thrown from ? (the corresponding somevar.length
and parts around it)
I also tried deleting the db and starting anew. No luck.
from where do I get the somevar.length information you'll need? I'm not a programmer unfortunately. The eroor pops up in my panel.
If you want to try :
{}
button below the code viewer.there's a hole bunch of files involved
Sorry, I didn't specify : you need the first one ;)
It points me to this:
}, [t._v(t._s(t.$t("simplestats.visits.languagesovertime")))]), t.visitsOverTime.length > 0 ? s("area-chart", { attrs: { data: t.visitsOverTime, download: !0, download: "PageVisitsOverTime.png", xtitle: t.$t("simplestats.charts.time"), ytitle: t.$t("simplestats.charts.visits"), height: this.sectionSize == "small" ? "240px" : this.sectionSize == "large" ? "280px" : this.sectionSize == "tiny" ? "120px" : "260px", library: t.chartOptions }
Ok, I see, I have a local fix for it, but I just came to realise that the page stats section is not working anymore, I need to add timeline features to it and move the old charts to the new common one. It's probably been broken for a while :s I'll let you know when I have some progress on this.
Thanks so much for your support!
Bumping this, as it would be greatly increase its usefulness 😉
Hi! Is there a hot fix or a commit for this? Would love to try the plugin but can't get it to work because of the JS error... Thanks a lot!
Hello, sorry, no (hot)fix yet. I hope to address this somewhen soon. This said, without using the page section, the plugin should work, so you can test it partially. ;)
looking forward to the fix as well, :) Thank you!
Hi, I just pushed a new version with some improvements on this side. It should work on multi-language websites, I didn't really have the time to test anything in depth. Feel free to try. ;)
As of v0.6.5 it also works correctly in mono language setups, but the layout is still a draft.
Here's how it looks using 2 different blueprint setups :
It could be of great use to me if you could post a screenshot of how it looks with your custom blueprints, to compare different use cases.
Hi,
got simplestats up and running to some extend, but when I try to implement the statistics in one of my blueprints, it throws this error, when I enter that particular blueprint in the panel
Cannot read properties of undefined (reading 'length')
My Blueprint uses tabs and goes like this:
I also enabled the panel view in my config php like this:
can somebody give me a hint on what's wrong there?