Cancelled

WPMultisite Error Uncaught DOMException: Failed to set the 'domain' property on 'Document' -- 2 - 02/12/2017 07:44 EST

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() {

fetchCart();

}

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.

Skills: CSS, HTML, PHP, Website Design, WordPress

See more: 1. Site to handle the questions and create the document based on the user answers. 2. The functionaltiy to be similar to the roc, pokerstrategy freelancer password pokerstars 2016 02 07 12, password pokerstrategy freelancer 07.02 2016, online html jobs without investment, html css jobs for freshers, php work from home projects, php freelance work from home, online html jobs from home, online php work from home, online php projects to earn money, how to get freelance php projects, php, css, html, wordpress, bootstrap, cakephp, shopify, yii, password pokerstrategy freelancer 07 02 2016

About the Employer:
( 82 reviews ) Elmsford, United States

Project ID: #15781730

9 freelancers are bidding on average $8/hour for this job

mituld

i have got it your idea you need the WPMultisite Error Uncaught DOMException: Failed to set the 'domain' property on 'Document' and i am ready to start work now

$6 USD / hour
(407 Reviews)
8.2
degreeinfo

Hello there, Yes I can create multi site network so you can create domain for each of the stores that buy from you so that they can have website with up to date inventory of fish, and be able to sell fish to their c More

$13 USD / hour
(25 Reviews)
5.6
gauravgargcs

Dear Client I have gone through information provided and completely understood your requirement.I have already done such type of work and 100% i can start your work [login to view URL], I will give you better quality and i More

$14 USD / hour
(48 Reviews)
5.5
ghanshyamsain

Hi mate, I’ve gone through your requirements what exactly you want for your work defiantly we will fulfil your requirements within your budget &amp; time duration. We are providing these services are:- PHP/Word pre More

$6 USD / hour
(49 Reviews)
5.3
bhatiasiddharth

Dear Client, Thanks for providing opportunity to bid on the project I have 8+ years of experience in making site on php using myql from scrap.I also expertise in wordpress Some of the PHP sites are:- 1) More

$4 USD / hour
(16 Reviews)
5.1
sbcs2

Hello Sir, I build many websites in Wordpress and commerce. I can fulfill your requirement, Please reply more for your work, waiting for your reply.

$7 USD / hour
(6 Reviews)
2.8
Fabritech

hello client, Thank you for the opportunity. As per your requirement,i would like to tell you that we have a very strong experience of more then 7 year in the field of design and development. i would also l More

$7 USD / hour
(1 Review)
2.1
anishsharma2006

Hello, I have viewed the job description url [login to view URL] .I will create fish inventory website so you can create domain for each of the stores that buy from you so that they can have website with up to date More

$5 USD / hour
(3 Reviews)
1.3
harshastudio45

Hi, I have step-by-step analyzed your project approach & checked it on my browser. The same issues arising here. I would love for an opportunity to assist you with the same. Kindly let me know the deadline to sol More

$12 USD / hour
(0 Reviews)
0.0