21489 Posts in 5783 Topics by 2622 members
General Questions
SilverStripe Forums » General Questions » Uncaught TypeError: Cannot read property 'SelectorsAPI' of undefined
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 285 Views |
-
Uncaught TypeError: Cannot read property 'SelectorsAPI' of undefined

6 July 2012 at 2:39am
Hi Everyone!
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 -
<div class="searchForm">
$SearchForm
</div>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:4668I expect some javascript is not being called which si why selectorsAPI is not being found, but i have checked and made sure all the same javascript is being called and still get this problem.
Does anyone have any idea what it might be?
Hope you can help!
| 285 Views | ||
|
Page:
1
|
Go to Top |

