Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ReferenceError: _paq is not defined #3

Open
Simran-B opened this issue Dec 7, 2016 · 0 comments
Open

Uncaught ReferenceError: _paq is not defined #3

Simran-B opened this issue Dec 7, 2016 · 0 comments

Comments

@Simran-B
Copy link

Simran-B commented Dec 7, 2016

I'm constantly getting this error in the dev console in Chrome, using Gitbook 2 as well as 3:

Uncaught ReferenceError: _paq is not defined
    at Object.<anonymous> (plugin.js:7)
    at Object.dispatch (app.js:4436)
    at Object.elemData.handle (app.js:4122)
    at Object.trigger (app.js:4351)
    at Object.<anonymous> (app.js:4902)
    at Function.each (app.js:375)
    at jQuery.fn.init.each (app.js:140)
    at jQuery.fn.init.trigger (app.js:4901)
    at Object.notifyPageChange [as notify] (app.js:24586)
    at Object.start (app.js:24406)

Live demo: https://docs.arangodb.com/3.1/Manual/

paq is declared as var _paq = _paq || []; in the template, whereas the offending line is part of the plugin.js. Since paq is not a global variable (window._paq), I wonder how this is supposed to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant