SlimStatAdmin not defined js error
-
ReferenceError: SlimStatAdmin is not defined
For some reason, the slimsat variable defined in slimstat.admin.js is not available to the inline script in wp-slimstat-reports.php.
I’ve tried defining the variable after page load (jquery(document).ready…) and I’ve tried checking if the variable exists before execution, however there are too many calls to the variable because it’s expected to already be defined, so the error will pass through the first check but come up again later when SlimStatAdmin is used again. I really do not have time to debug this completely and find a solution… that’s your job. So, just so you know that there is an issue there (for me and if for me, then for others as well). The error, obviously, prevents all further javascript execution and therefore none of the graphs or any other dom manipulation take place.
- The topic ‘SlimStatAdmin not defined js error’ is closed to new replies.