UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'replace' of undefined 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">