[SOLVED] Cannot read property 'length' of undefined

If you are integrating with WordPress or WooCommerce, start here.
duswebdesign
Posts: 2
Joined: Tue Jun 30, 2020 11:25 pm
Contact:

[SOLVED] Cannot read property 'length' of undefined

Postby duswebdesign » Tue Jun 30, 2020 11:32 pm

I've been bugging about this issue for a day now and still cannot find an answer to it.
Trying to find the cause of the following issue:
Schermafbeelding 2020-07-01 om 09.29.26.png

Schermafbeelding 2020-07-01 om 09.36.46.png



It stops the page from being loaded and it doesnt show the image on the site.
url is [link removed]

Its running the standard jQuery 1.12.4-wp bundle. (i've also tried it with jQuery 3.5.1 using jQuery updater plugin).

What can cause the webrotate360 image not to load?

Kind regards,
Yari
Last edited by duswebdesign on Thu Jul 09, 2020 1:18 am, edited 1 time in total.

WebSupport
Posts: 1052
Joined: Thu Aug 23, 2012 11:35 am
Location: Pasadena, CA
Contact:

Re: Cannot read property 'length' of undefined

Postby WebSupport » Tue Jun 30, 2020 11:48 pm

Hi Yari, it looks like the issue is due to basewidth parameter in the shortcode being in % vs px that the plugin requires. For the explanation of basewidth, please see bullet 3 here:

https://www.webrotate360.com/products/c ... stallation

PS: you may have configured Base Width in the plugin settings in admin, i.e not in the shortcode directly.

duswebdesign
Posts: 2
Joined: Tue Jun 30, 2020 11:25 pm
Contact:

Re: Cannot read property 'length' of undefined

Postby duswebdesign » Wed Jul 01, 2020 12:32 am

I had base width set to 100%... but it needed to be set in pixels. Thanks. It solved the issue.


Return to “WordPress and WooCommerce Integration”

cron