Im working on site that was built in Silverstripe, which I havent used before. They have a search box on one page (where it works fine, no errors) and they want it on another, I found the chunk of code which is simple enough -
I thought perhaps a simple copy paste would work, pasting it onto the other page they want it on, but no luck.
I'm getting the following console errors -
Uncaught TypeError: Cannot read property 'SelectorsAPI' of undefined
Enumerable.each - prototype.js:345
breakoutCarousel - main.js:19
(anonymous function) - main.js:231
responder - prototype.js:4459
fire - prototype.js:4620
_methodized - prototype.js:339
fireContentLoadedEvent - prototype.js:4668
Does anyone have any idea what it might be?
Hope you can help! :D