İptal Edildi

CUSTOM PHP SITE 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() {

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.

Beceriler: HTML, MySQL, PHP, Sistem Yöneticisi, WordPress

Daha fazlasını gör: plesk backup failed deployment domain, magento developer set domain, set quickbooks property management free book, set rental property quickbooks pro, failed deployment domain, prototype ajax set domain work, plesk set domain key, whm set domain, phplist set domain keys, 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

İşveren Hakkında:
( 79 değerlendirme ) Elmsford, United States

Proje NO: #15777449

Bu iş için 6 freelancer ortalamada $8/saat teklif veriyor

$7 USD / saat
(17 Değerlendirme)
4.6
symaticssolution

Hi There, I have read your job description and understand your needs.I am expert wordpress developer and ready to fix all the issue in your website.I would like to discuss your project with [login to view URL] kindly ping me when Daha Fazla

$12 USD / saat
(12 Değerlendirme)
4.3
$7 USD / saat
(7 Değerlendirme)
3.6
webdev1802

Hello, I have 6+ years of experience. I have reviewed your project requirement and ready to start the discussion in order to clarify the queries. I have done similar kind of work in past. I have all the skill set req Daha Fazla

$7 USD / saat
(4 Değerlendirme)
2.9
$7 USD / saat
(1 Yorum)
3.0
$5 USD / saat
(0 Değerlendirme)
0.0