I get the following message when trying to access one dashboard:
r.query is not a function
The questions on that dashboard are still accesible.
Any idea why this could have happened and solutions to it?
Thank you
please post diagnostic info
{
"browser-info": {
"language": "en-GB",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.18+10",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.18",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.18+10",
"os.name": "Linux",
"os.version": "5.10.147+",
"user.language": "en",
"user.timezone": "GMT"
},
"metabase-info": {
"databases": [
"bigquery-cloud-sdk",
"mysql"
],
"hosting-env": "unknown",
"application-database": "mysql",
"application-database-details": {
"database": {
"name": "MySQL",
"version": "8.0.18-google"
},
"jdbc-driver": {
"name": "MariaDB Connector/J",
"version": "2.7.6"
}
},
"run-mode": "prod",
"version": {
"date": "2023-01-27",
"tag": "v1.45.2.1",
"branch": "release-x.45.2.x",
"hash": "1a59de7"
},
"settings": {
"report-timezone": null
}
}
}
Can you share a couple of screenshots so we can get an idea of what you are experiencing. Are those GUI or SQL questions?
Hi, please write to the support email. All cloud customers and self hosted customers with a license have support included in their plans.
I cannot find your instance but if you write to the support email I can checkout the logs as well if you are on cloud
Hi! Is there any solution for this bug? I see the same phenomenon.
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'can_write')
at selectors.js:192:17
at vendor.bundle.js?be4e1de05832a2b0dde9:1:4516649
at f (vendor.bundle.js?be4e1de05832a2b0dde9:1:4515612)
at vendor.bundle.js?be4e1de05832a2b0dde9:1:4516782
at f (vendor.bundle.js?be4e1de05832a2b0dde9:1:4515612)
at data-fetching.js:135:9
at utils.js:198:35
at u (vendor.bundle.js?be4e1de05832a2b0dde9:1:4508349)
at Generator._invoke (vendor.bundle.js?be4e1de05832a2b0dde9:1:4508137)
at Generator.next (vendor.bundle.js?be4e1de05832a2b0dde9:1:4508774)
3StructuredQuery.ts:368 Warning: can't clean query without metadata!
value @ StructuredQuery.ts:368
data-fetching.js:499 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'ordered_cards')
at data-fetching.js:499:47
at u (vendor.bundle.js?be4e1de05832a2b0dde9:1:4508349)
at Generator._invoke (vendor.bundle.js?be4e1de05832a2b0dde9:1:4508137)
at Generator.next (vendor.bundle.js?be4e1de05832a2b0dde9:1:4508774)
at ln (metadata.js:35:12)
at a (metadata.js:35:12)
at metadata.js:35:12
at new Promise ()
at metadata.js:35:12
at data-fetching.js:498:3
Dashboard.jsx:205 TypeError: r.query is not a function
at n.value (Dimension.ts:1232:34)
at s (targets.ts:32:23)
at h (targets.ts:60:17)
at dashboards.ts:144:12
at Array.map ()
at dashboards.ts:142:45
at dashboards.ts:123:14
at Array.map ()
at b (dashboards.ts:121:58)
at data-fetching.js:240:26
(anonymous) @ Dashboard.jsx:205
Hello I have a similar bug: "d is not a function". When I recreate the question the data correctly appear. But some days later I got the error "d is not a function" (without any change in the database).
Here is acreenshot:
And the diagnostic info:
{
"browser-info": {
"language": "fr-FR",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.20+8",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.20",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.20+8",
"os.name": "Linux",
"os.version": "4.14.318-240.529.amzn2.x86_64",
"user.language": "en",
"user.timezone": "GMT"
},
"metabase-info": {
"databases": [
"snowflake",
"mongo"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "13.10"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.5.4"
}
},
"run-mode": "prod",
"version": {
"date": "2023-08-16",
"tag": "v0.47.0",
"branch": "release-x.47.x",
"hash": "682ec2d"
},
"settings": {
"report-timezone": "Europe/Paris"
}
}
}
please upgrade to the latest version