A plug-in customer on Friday reported the following error after 5 months of no issues.
I’m not convinced the issue is with the plugin, however, for the following reasons:
- I can’t reproduce the issue on any demo or test sites.
- It’s the first ever report of a problem with this plugin.
- The error inexplicably occurred on or around this past Friday after months of working just fine.
- A close examination of the error seems to suggest a Bubble issue.
To elaborate on that last point, here is the actual console error:
The variable c
is actually the minified form of the instance
argument passed to all element actions.
Also note, circled in red is something called element_instance
, which has a value of null
.
And here is the un-minified JS code which constitutes the entirety of the plug-in action that invokes the navTo()
function…
So obviously, if the instance
argument is null
, then of course navTo
will not be a function.
What I’m not 100% certain about is whether element_instance
referenced in the console error is in fact referring to the instance
argument being passed to the plug-in action; but if so, then this seems to be a Bubble issue and not an issue with my plug-in.
I’m just throwing this out there in case any other plug-in devs have experienced anything similar or have any insights or comments to share before I submit a bug report.