Thanks for reporting! Can you share your Discourse version?
Thank you for such a fast response :). I updated about 10 minutes ago to see if it would resolve the problem the version I am running is:
3.5.0.beta1-dev
( a77d469eeb )
I went ahead and downgraded to stable, which is 3.4.0 ( 3bbf96fa21 ) and while I do not get the error in the console anymore the same symptom is there which is that other theme components / visual changes do not load properly.
Updated
Correction: after reloading the page a few more times the error does now show up so it might have been a fluke that it didnât initially, so I am confirming this on 3.4.0 as well.
@dubwoc
The component works best with a recent Discourse version.
I updated the component. I canât reproduce it, but I made some changes. Make sure to update it and try it!
Thanks again for the quick response. This did not fix the error I get a similar error that looks like the following:
I was able to narrow it down to an interaction between your component and the official Discourse Topic Cards component (GitHub - discourse/discourse-topic-cards: This changed the topic list into cards with a modified layout, and a thumbnail if available.), you are likely unable to reproduce the error because you do not have this component installed. If you install it and navigate around to different categories youâll see the error relatively quickly.
Thanks for the details! @dubwoc
I can see an error (not the same, though, but it might be because itâs a dev instance).
It seems that, for some reason, one of the excerpt returns a boolean instead of a string.
Iâve pushed a fix, hit the update button, and try again.
Yep, that fixed the issue on my end! Thank you for iterating with me!
Awesome, thanks for your patience!
You canât downgrade. Unless you were lucky and there were no database migrations, youâll likely have problems.
Fair enough, then I got lucky at the time I did this
I installed it, and it shows a banner saying
Your site may not work because a theme / component has errors.
Caused by âQuote Calloutsâ. Click here to update, reconfigure or disable.
(this message is only shown to site administrators)
I probably need to update Discourse but just telling you guys since it is interesting.
Thanks for the report!
Can you open the browserâs console and paste any errors you see here?
It should not throw an error even if it works well with the latest Discourse version.
Also, what is your Discourse version?
oh it was because I did not update, I will try to do that soon!
also, I like your callout theme component a lot!