TypeError toFixed is not a function errors

3 replies · opened Jan 8, 2017

RrpuddleJan 8, 2017

Hi,

I've setup the Medical template on my site - http://malmesosteo.malmesbury-creative.co.uk/

But for some reason the team slider has stopped working and showing on the site. Inspecting the page it is throwing the following errors -

Uncaught TypeError: e.toFixed is not a function
at HTMLSpanElement.t (plugins.js:553)
at c (plugins.js:553)
at l (plugins.js:553)

Can you help with why this is?

Thanks,

Rich

RrpuddleJan 9, 2017

Hi,

This problem is driving me nuts! Sometimes if I re upload the website the Testimonials and Meet the team section will appear. Then if I simply change some text and re upload the whole sections disappear and I get the above errors spewing out when inspecting the site in Google Chrome. Very confused. If I simply undo the text changes that I made and revert back to the version that previously worked the sections still don't appear but will randomly reappear later.

Thanks for any help,

SSemicolon WebSTAFFJan 10, 2017

Hello,

There appears to be a jQuery Conflict on the Page since the Google Maps JS Code has been added before the JS Files. Simply move the following code to the bottom of the Page:


  jQuery('#google-map1').gMap({

	   address: 'Melbourne, Australia',
	   maptype: 'ROADMAP',
	   zoom: 14,
	   markers: [
		  {
			  address: "Melbourne, Australia"
		  }
	   ],
	   doubleclickzoom: false,
	   controls: {
		   panControl: true,
		   zoomControl: true,
		   mapTypeControl: true,
		   scaleControl: false,
		   streetViewControl: false,
		   overviewMapControl: false
	   }

  });

This should fix the issue. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

RrpuddleJan 19, 2017

thanks, this fixed it! :)

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard