Problem with cards.js
Opened this issue · 0 comments
Hey, I tried to use this code, but there is no showing any user cards on home.php. Google Chrome giving feedback, that there is a problem:
cards.js:54
error 400
calcDistance @ cards.js:54
success @ cards.js:31
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
l @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
load (async)
send @ jquery.min.js:2
ajax @ jquery.min.js:2
(anonymous) @ cards.js:16
cards.js:41
Error: TypeError: Cannot read properties of undefined (reading 'resources')
at cards.js:41:33
(anonymous) @ cards.js:41
Promise.catch (async)
success @ cards.js:41
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
l @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
load (async)
send @ jquery.min.js:2
ajax @ jquery.min.js:2
(anonymous) @ cards.js:16
Could you help with that?