Django not showing texts...

I re-deployed my webapp on render after i created another model but it kept giving me server 500 error. So i deleted all files from all my migrations except init.py in my system and started a fresh migration with new superuser. Now when i run it on my localhost, its is working but not showing any texts in the html code. the browser console is giving me an error as below:

dom7.esm.js:135 Uncaught TypeError: Cannot read properties of undefined (reading 'classList')
    at dom7.esm.js:135:8
    at n.forEach (<anonymous>)
    at n.addClass (dom7.esm.js:134:8)
    at V.updateSlidesClasses (updateSlidesClasses.js:21:15)
    at V.slideTo (slideTo.js:171:10)
    at V.init (core.js:553:14)
    at new V (core.js:227:14)
    at main.js:261:3
    at main.js:293:3

i also dont get what this error is.
can someone help me out?

also when i deploy its making migrations but its not migrating:

Migrations for 'pages':
  pages/migrations/0001_initial.py
    - Create model Success
    - Create model Testimonials
Operations to perform:
  Apply all migrations: admin, amking_projects, auth, contenttypes, gallery, pages, sessions
Running migrations:
  No migrations to apply.
==> Uploading build...
==> Deploying...

*** the first code section is when i run it on local host. and the second one is when i deployed it. it is deploying succesfully but giving me a server 500 error page ***

and i cant find this file in finder:
Screenshot 2024-01-05 at 12.34.28 PM

i have corrected the server 500 error but still im not getting any text. still the browser console shows this:

dom7.esm.js:135 Uncaught TypeError: Cannot read properties of undefined (reading 'classList')
    at dom7.esm.js:135:8
    at n.forEach (<anonymous>)
    at n.addClass (dom7.esm.js:134:8)
    at V.updateSlidesClasses (updateSlidesClasses.js:21:15)
    at V.slideTo (slideTo.js:171:10)
    at V.init (core.js:553:14)
    at new V (core.js:227:14)
    at main.js:261:3
    at main.js:293:3

this is the dom7.esm.js (error line at ‘el.classList.add(…classNames);’) :

function addClass(...classes) {
  const classNames = arrayFlat(classes.map(c => c.split(' ')));
  this.forEach(el => {
    el.classList.add(...classNames);
  });
  return this;
}