Uncaught TypeError: Cannot read property 'replace' of code example
Example: Uncaught TypeError: Cannot read property 'replace' of undefined
Add the class: "class="owl-carousel"
<div id="slider" class="owl-carousel owl-theme">
Add the class: "class="owl-carousel"
<div id="slider" class="owl-carousel owl-theme">