TypeError in Math Rank App
-
Hi,
i have a Webstore with Woocommerce and WPML for two languages. For language 1 all products are shown correctly and SEO Math Rank Metabox previews correctly but for language 2 some products link to critical wordpress error. When editing the broken product the SEO Math Rank Meta Box cant be loaded correctly. The console shows “TypeError: Cannot read properties of undefined (reading ‘isPrimary’)”
TypeError: Cannot read properties of undefined (reading ‘isPrimary’)
at rank-math-app.js?ver=1.0.203:1:80303
at r (lodash.min.js?ver=4.17.19:9:24985)
at v (lodash.min.js?ver=4.17.19:9:1449)
at su (lodash.min.js?ver=4.17.19:9:33013)
at lodash.min.js?ver=4.17.19:9:25004
at rank-math-app.js?ver=1.0.203:1:80255
at data.min.js?ver=1504e29349b8a9d1ae51:9:3087
at data.min.js?ver=1504e29349b8a9d1ae51:9:1957
at __unstableMarkListeningStores (data.min.js?ver=1504e29349b8a9d1ae51:2:21147)
at Object.__unstableMarkListeningStores (data.min.js?ver=1504e29349b8a9d1ae51:2:21404)var t = e(“rank-math”).getSchemas();
return {
schema: (0,
s.find)(t, (function(e) {
return !(0,
s.isEmpty)(e.metadata.isPrimary)
}Sry for the unformated copy paste but i couldnt find a code tag here and screenshots are not allowed.
I hope some one can help me
- The topic ‘TypeError in Math Rank App’ is closed to new replies.