Jump to content

Search the Community

Showing results for tags 'substring is not a function'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Marketplace
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 1 result

  1. Hi, I got an error in product list page: Uncaught TypeError: s5.substring is not a function I found that part of code is located on Home Text Editor module & CMS on Homepage module. It's a set of javascript that was generated from HTML5Maker website for the banner in the website <script>// <![CDATA[ if (typeof em5 === 'undefined'){var em5 = window.addEventListener ? 'addEventListener' :'attachEvent';var er5 = window[em5];var me5 = em5 == 'attachEvent' ? 'onmessage':'message';er5(me5,function (e) {var s5= e.data;if (s5.substring(0,10) == 'changeSize'){document.getElementById(s5.substring(s5.indexOf('html5maker')+10)).style.height=s5.substring(10, s5.indexOf('html5maker'));[spam-filter],false);} // ]]></script> This wasn't an issue until I installed FB Product Ads module. Chrome debugging gives an error notification on line 241. This is line 241 without that FB Product Ads module (no error): initSlide_sample1();;if(typeof em5==='undefined'){var em5=window.addEventListener?'addEventListener':'attachEvent';var er5=window[em5];var me5=em5=='attachEvent'?'onmessage':'message';er5(me5,function(e){var s5=e.data;if(s5.substring(0,10)=='changeSize'){document.getElementById(s5.substring(s5.indexOf('html5maker')+10)).style.height=s5.substring(10,s5.indexOf('html5maker'));[spam-filter],false);};;$().ready(function() And this is line 241 with FB Product Ads module that resulting in an error: initSlide_sample1();;if(typeof em5==='undefined'){var em5=window.addEventListener?'addEventListener':'attachEvent';var er5=window[em5];var me5=em5=='attachEvent'?'onmessage':'message';er5(me5,function(e){var s5=e.data;if(s5.substring(0,10)=='changeSize'){document.getElementById(s5.substring(s5.indexOf('html5maker')+10)).style.height=s5.substring(10,s5.indexOf('html5maker'));[spam-filter],false);};;!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');fbq('track','ViewCategory',{content_type:'product',content_ids:['MCCAU1146','MCCAU1147','MCCAU1742'],content_name:'Tuscan Seam Clip',content_category:'Tiling & Cutting Tool > Tuscan Seam Clip'});;var oPixel=new oPixel();$(document).ready(function(){oPixel.addToCart({"content_name":"'Tuscan SeamClip Red'","content_category":"'Tuscan Seam Clip'","content_ids":"['MCCAU1146']","content_type":"'product'","value":"'63.5613'","currency":"'AUD'"},'a[data-id-product="1146"].ajax_add_to_cart_button');oPixel.addToWishList({"content_name":"'Tuscan SeamClip Red'","content_category":"'Tuscan Seam Clip'","content_ids":"['MCCAU1146']","content_type":"'product'","value":"'63.5613'","currency":"'AUD'"},'a[rel="1146"].addToWishlist');oPixel.addToCart({"content_name":"'Tuscan SeamClip White'","content_category":"'Tuscan Seam Clip'","content_ids":"['MCCAU1147']","content_type":"'product'","value":"'63.5613'","currency":"'AUD'"},'a[data-id-product="1147"].ajax_add_to_cart_button');oPixel.addToWishList({"content_name":"'Tuscan SeamClip White'","content_category":"'Tuscan Seam Clip'","content_ids":"['MCCAU1147']","content_type":"'product'","value":"'63.5613'","currency":"'AUD'"},'a[rel="1147"].addToWishlist');oPixel.addToCart({"content_name":"'Tuscan SeamClip Blue'","content_category":"'Tuscan Seam Clip'","content_ids":"['MCCAU1742']","content_type":"'product'","value":"'63.5613'","currency":"'AUD'"},'a[data-id-product="1742"].ajax_add_to_cart_button');oPixel.addToWishList({"content_name":"'Tuscan SeamClip Blue'","content_category":"'Tuscan Seam Clip'","content_ids":"['MCCAU1742']","content_type":"'product'","value":"'63.5613'","currency":"'AUD'"},'a[rel="1742"].addToWishlist');});;$().ready(function() Oddly, I tried to delete the HTML5 generated javascript in Home Text Editor module & disabled CMS on Homepage module, but the error is still there. The only way to remove the error is by disabling the FB Product Ads module, but I need that module to run. Any ideas what should I do? I thank you in advance. -- Prestashop 1.6.0.9 - Default Theme
×
×
  • Create New...