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

Blueprint not working #35

Closed
MaluNoPeleke opened this issue Aug 17, 2021 · 0 comments
Closed

Blueprint not working #35

MaluNoPeleke opened this issue Aug 17, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@MaluNoPeleke
Copy link

MaluNoPeleke commented Aug 17, 2021

I get an error "TypeError: Cannot read property 'current' of undefined" in the blueprint for individual Matomo page statistics while using Kirby 3.6 alpha:

matomo:
        type: matomo-page
        overview: true

TypeError: Cannot read property 'current' of undefined
at a.currentLanguage (index.js?1629713017:formatted:12463)
at vn.get (vendor.js:6)
at vn.evaluate (vendor.js:6)
at a.currentLanguage (vendor.js:6)
at a. (vendor.js:6)
at vn.get (vendor.js:6)
at new vn (vendor.js:6)
at a.t.$watch (vendor.js:6)
at _n (vendor.js:6)
at vendor.js:6

This is the mentioned line in the code:

        currentLanguage: function() {
            var e = this.$store.state.languages.current;
            return !!e && e.code
        },
@sylvainjule sylvainjule self-assigned this Nov 19, 2021
@sylvainjule sylvainjule added the bug Something isn't working label Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants