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

I have a Multisite Wordpress Domain for 1 client. He has asked me to create multisite network so we can create domain for each of the stores that buy from us so that they can have website with up to date inventory of fish, and be able to sell fish to their customers as if main company was invisible

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

It will point you to here [url removed, login to view]

Because I have mapped the domain using a WPMU Domain Mapping plugin..

Problem is when I do this 3 things happen. The logo, the stores address in the footer, and adding products to cart becomes un-functional.

Try to go to any category page on menu and add 1 fish to cart. You will see the fish doesn't add at first, BUT then try and reload page, and you will see the fish in your cart.

Error that is showing in inspector 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 error only happens when I select the domain [url removed, login to view] as the PRIMARY domain for remysreef.exoticreefimports.com. This is a setting inside of the MU Domain Mapping Plugin.

If I set this back to [url removed, login to view] as primary ALL the above errors go away.

I have located the below code in a file named [url removed, login to view] file.

<script type="text/javascript">

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

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



The script appears to be hard coded in our checkout code files pointing to the main site domain which normally works fine, but in this cases when we active domain mapping this starts to cause the [url removed, login to view] error whenever adding a fish to cart. Also the pages theme files dont seem to know where the correct domain is cause its having issues showing the logo, and the store's address in footer.

Kemahiran: CSS, HTML, PHP, Reka Bentuk Laman Web, Wordpress

Lihat lagi: plesk error failed deployment domain restore, error internet explorer object doesnt support property method, set imagebutton property aspnet server site, website design, wordpress, 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, page error line char object doesnt support property, primavera install error database logon failed

Tentang Majikan:
( 82 ulasan ) Elmsford, United States

ID Projek: #15778897

17 pekerja bebas membida secara purata $9/jam untuk pekerjaan ini


Dear Client, I am Rahul Parmar, with more than 9 years of experience in PHP, CodeIgniter, OpenCart, Wordpress, ZEND, AJAX, CSS, XML, jQuery, Angular js, Sencha, SOLR, SEO. I have gone through your project requi Lagi

$7 USD / jam
(93 Ulasan)

Hi, Carefully gone through your [login to view URL] have few queries so i request you to initiate chat so that we can discuss further. We are a team having experience over 10+ years in PHP and it's Framework and Mobil Lagi

$7 USD / jam
(73 Ulasan)

Hello Sir, First of all, we would like to tell you how we will initialize the project with you. We insist to follow these steps before you award the project to us: - We (technical team) will review the job and ask y Lagi

$20 USD / jam
(128 Ulasan)

[login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL]

$13 USD / jam
(83 Ulasan)

Hi, Greetings, I have read your job description along and assure you that I am a perfect fit for the job. >>My Experience: I am proficient with the core technicalities involved in PHP including CRM, MVC, Lagi

$10 USD / jam
(22 Ulasan)

Hello sir/mam, I am good at : 1. WordPress web development 2. PSD to HTML 3. Responsive web development 4. Graphics Designing 5. Photoshop 6. PHP 7. html + CSS Styling 8. js & jQuery. you can check my Lagi

$7 USD / jam
(53 Ulasan)

Good day,Dear.I read your description carefully.I can do your job perfactly. I am very eager to work for you.I am also extremely analytical worker. I majored in PHP,Wordpress,SQL,CSS,html for 8 [login to view URL],I bu Lagi

$7 USD / jam
(14 Ulasan)

Hi, I need to check you sites once then I can tell you the issue .But I don't think domain redirection via JavaScript is a proper way. Thanks Arindam

$11 USD / jam
(18 Ulasan)

Hello We are a contemporary and excellent Website design and development team with a focus on user-centered design while helping clients to achieve the desired result. experience and expertise - 5+years Expertise i Lagi

$2 USD / jam
(11 Ulasan)

Hello, I have 5+ years of experience in PHP, WordPress, Laravel, CodeIgniter, Photoshop, HTML, CSS, Javascript, jQuery, and MySql. Please check my profile I am a top rated full-stack developer and I can do anyth Lagi

$12 USD / jam
(5 Ulasan)

with 10 years experience in Wordpress, PHP, Woocommerce, SEO. I can help you finish projects which you probose. Please give me skype address. we can communicate each other easily.

$7 USD / jam
(7 Ulasan)

Hi, I am a highly skilled WordPress expert. I am sure I can help you. I will help you in these tasks: - Clean Code - Honest and Takes Great Pride in Their Work - Professional, and values Quality more than an Lagi

$7 USD / jam
(3 Ulasan)

A proposal has not yet been provided

$4 USD / jam
(26 Ulasan)

A proposal has not yet been provided

$4 USD / jam
(9 Ulasan)

Dear Hiring Manager, I am the best candidate to this job because of having loads of experience in WordPress. I can fix the issue you are facing after mapping the domain. I will make the [login to view URL] dynamic or any Lagi

$13 USD / jam
(1 Ulasan)

Hi there, I am interested to go with this project as i have gone through with your requirement and completely understood and ready to start work on it. I am wordpress front-end developer with 2 years of experience. D Lagi

$8 USD / jam
(2 Ulasan)

Website Relevant Skills and Experience Website design

$11 USD / jam
(0 Ulasan)