Error: Uncaught DOMException: Failed to set the 'domain' property on 'Document'

If you go to this website: [url removed, login to view]

And try to add 1 fish to cart. You will see the fish doesn't add, BUT then reload page, and you will see the fish in your cart. Error that is happening is:

Uncaught DOMException: Failed to set the 'domain' property on 'Document': '[url removed, login to view]' is not a suffix of '[url removed, login to view]'. at [url removed, login to view]:1237:49

This domain [url removed, login to view] is mapped to a multisite

So the problem is in my [url removed, login to view] file.

The script is hard coded to my main site incorrectly.

<script type="text/javascript">

[url removed, login to view] = '[url removed, login to view]';

[url removed, login to view] = function() {



I need to replace code for [url removed, login to view] so that when I set [url removed, login to view] to be primary it doesn't produce the Uncaught error when trying to add a product to the cart.

Competenze: AJAX, Javascript, MySQL, PHP, Architettura Software

Vedere di più: failed to set the domain property on document ': is not a suffix of, failed to set the 'domain' property on 'document' is not a suffix of, document.domain localhost, document.domain iframe example, uncaught domexception: failed to set the 'domain' property on 'document':, document.domain is not a suffix of, both must set "document.domain" to the same value to allow access., failed to set the domain property on document ': is not a suffix of localhost, plesk error failed deployment domain restore, error 80040213 transport failed, cdomessage1 error 80040213 transport failed connect server, phplist set domain keys, error internet explorer object doesnt support property method, set imagebutton property aspnet server site, set domain server 2003 smtp, set domain user limited users, set domain key email, set domain key, set domain key dns, error dlqhandler initialization failed dlqhandler

Sul datore di lavoro:
( 79 valutazioni ) Elmsford, United States

ID Progetto: #15774943

6 freelance hanno fatto un'offerta media di $8/ora per questo lavoro


Hi, I am 5 years experienced web developer expert in Javascript. I understand your point. I can complete this project within two hours . Please check my profile for my work quality . Thanks, Bhaskar Mandal

$10 USD / ora
(78 Recensioni)
$7 USD / ora
(7 Recensioni)

Hello, I am highly recommended freelancer with high job success rate. Please visit my profile, rating and client feedback. You can check my profile from here: [login to view URL] https://p Più

$12 USD / ora
(2 Recensioni)

Hello There, I have read your message. I can do this job very well. I have done several systems along with mobile apps for the mobile device. We have an Expertise:- CMS:- Wordpress, Drupal, Joomla Framework Più

$7 USD / ora
(7 Recensioni)

We have seen your attached file Screenshot (2017-12-01 [login to view URL]), We can fix uncaught DOMException on your site quickly. We are very competent and can reach your expectations. We have great experience in Più

$5 USD / ora
(16 Recensioni)

We have a strong team internally - actually well known and respected team in America. Please check our portfolio and testimonials [login to view URL] [login to view URL] Più

$7 USD / ora
(1 Recensione)