Jocka
Explore posts from serversCannot read properties of null (reading 'insertBefore')
Hello guys, i have a problem with a site, locally it works fine but in production when i try to access a dynamic content that is fetched from an API like this url here (https://jumisluxury.mk/categories/6-sofas) i get this error
TypeError: Cannot read properties of null (reading 'insertBefore')
at insert (Bg-j_vi9.js:23:178)
at y (Bg-j_vi9.js:19:35157)
at C (Bg-j_vi9.js:19:34790)
at F (Bg-j_vi9.js:19:37217)
at A (Bg-j_vi9.js:19:36586)
at v (Bg-j_vi9.js:19:35509)
at C (Bg-j_vi9.js:19:34888)
at Oi.$ [as fn] (Bg-j_vi9.js:19:38710)
at Oi.run (Bg-j_vi9.js:15:1517)
at G.d.update (Bg-j_vi9.js:19:39416)
if i access this url with navigating from a button it works
any suggestions?
62 replies
How to consume an external API with Filament Tables
Hey guys, i saw the package for consuming an external API with filament tables, but i think this is only about if i want to fetch all models at once, but what if i want to have something like this:
Stations -> Products, and for every station to be able to fetch the products and list them in the show view.
https://filamentphp.com/community/how-to-consume-an-external-api-with-filament-tables
8 replies