I was building a website in html and then decided to learn some php so install xampp and converted some pages to php so that I could follow some tutorials on Udemy.
I have two sliders, one is fotorama and the other bxslider, the latter I intend to remove at some point.
These both worked fine, and still do when they were in .html outside of xampp. Since I have converted to .php and placed in htdocs folder the sliders no longer work.
I have checked all file paths successully. I have tried local and gooleapi version of jquery as well as older versions. Other jquery aspects that I use such as waypoints works fine on my site and there are no red errors with any of the google dev tool network section.
The only difference since moving is that I now get this error in the Chrome console. This doesnt appear outside of xampp in the html format.
jquery.min.js:2 Uncaught TypeError: e.php is not a function
at fotorama.js:5
at G (fotorama.js:4)
at HTMLDivElement.<anonymous> (fotorama.js:5)
at Function.each (jquery.min.js:2)
at k.fn.init.each (jquery.min.js:2)
at k.fn.init.d.fn.fotorama (fotorama.js:5)
at HTMLDocument.<anonymous> (fotorama.js:5)
at e (jquery.min.js:2)
at t (jquery.min.js:2)
and
jquery-3.5.1.min.js:2 Uncaught TypeError: slider.pagerEl.php is not a function
at populatePager (jquery.bxslider.js:636)
at appendPager (jquery.bxslider.js:654)
at setup (jquery.bxslider.js:265)
at init (jquery.bxslider.js:185)
at S.fn.init.$.fn.bxSlider (jquery.bxslider.js:1599)
at HTMLDocument.<anonymous> (mowjscript.js:20)
at e (jquery-3.5.1.min.js:2)
at t (jquery-3.5.1.min.js:2)
I am assuming it is because of this? Can anyone tell me how I can fix this issue without editing the sliders?
I researched from 8 -8 yeasterday and am at breaking point so I figured I would ask for help. The 12hrs Googling didnt help me out much.
Thanks in advance