Forum Discussion
Thanks everyone, great thread.
I dont seem to be able to get this last set of code to work though.
Keep getting this:
"Expression rest_query is undefined on line 10, column 109 in preview. The problematic instruction: ---------- ==> user-directive component [on line 10, column 9 in preview]"
I am trying to put an Unanswered threads widget in the sidebar which is board specific.
Thanks for any and all help
Do you get that error when you're previewing the component, or when you place it on the page? Based on the error message, it sounds like maybe that error is showing when you preview the component in Studio? If so, it's probably because the component doesn't have the proper context to operate properly. It could probably be changed to be more sensitive to those types of issues and avoid displaying an error, but if you try the component out on a board or category page, you may have better luck than in the preview.
Related Content
- 4 years ago
- 8 months ago
- 13 years agoInactive User
- 3 years ago