Find Jobs
Hire Freelancers

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

$2-12 USD / hour

Cancelled
Posted over 6 years ago

$2-12 USD / hour

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: [login to view URL] It will point you to here [login to view URL] 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': '[login to view URL]' is not a suffix of '[login to view URL]'. at [login to view URL]:1237:49 This error only happens when I select the domain [login to view URL] 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 [login to view URL] as primary ALL the above errors go away. I have located the below code in a file named [login to view URL] file. <script type="text/javascript"> [login to view URL] = '[login to view URL]'; [login to view URL] = 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 [login to view URL] 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.
Project ID: 15781730

About the project

7 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
7 freelancers are bidding on average $8 USD/hour for this job
User Avatar
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 in 40 days
4.8 (469 reviews)
8.2
8.2
User Avatar
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 in 40 days
4.7 (8 reviews)
2.9
2.9

About the client

Flag of UNITED STATES
Thornwood, United States
4.8
111
Payment method verified
Member since Jun 10, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.