Search
Fix the notice "COOKIE_DOMAIN constant already defined. The SSO and cart cross-domain features possible not fully functional." - WP Global Cart
14594
documentation-template-default,single,single-documentation,postid-14594,theme-awake,eltd-core-1.1,woocommerce-no-js,awake child-child-ver-1.0.0,awake-ver-1.0,eltd-smooth-scroll,eltd-smooth-page-transitions,eltd-mimic-ajax,eltd-grid-1200,eltd-blog-installed,eltd-default-style,eltd-fade-push-text-top,eltd-header-standard,eltd-sticky-header-on-scroll-down-up,eltd-default-mobile-header,eltd-sticky-up-mobile-header,eltd-menu-item-first-level-bg-color,eltd-dropdown-slide-from-top,eltd-,eltd-fullscreen-search eltd-search-fade,eltd-side-menu-slide-from-right,wpb-js-composer js-comp-ver-6.3.0,vc_responsive
 

Fix the notice “COOKIE_DOMAIN constant already defined. The SSO and cart cross-domain features possible not fully functional.”

WP Global Cart / Fix the notice “COOKIE_DOMAIN constant already defined. The SSO and cart cross-domain features possible not fully functional.”
Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on TumblrPin on PinterestEmail this to someonePrint this page

Fix the notice “COOKIE_DOMAIN constant already defined. The SSO and cart cross-domain features possible not fully functional.”

In WordPress the COOKIE_DOMAIN constant is used to specify the CMS cookie for unusual domain setups. The plugin use this constant to handle SSO and some of the cross-domain features.
If the constant is already defined, this must be removed or commented out. Most of the time it can be found in wp-config.php file and looks like this:


define( 'COOKIE_DOMAIN', 'mydomain.com' );

The notice appear on SuperAdmin dashboard on top of page:

In majority of cases the constant is defined by “WordPress MU Domain Mapping” plugin, which is used by few users to set-up different domains for sites in the network. This is however useless, the WooCommerce Global Cart take care of that functionality through WordPress core functions and additional classes. The above plugin should be de-activated and uninstalled.

If the notice still persist, it must be defined on another place or by another plugin, doing a server files search for ‘COOKIE_DOMAIN’ should bring up the exact spots where this is being used.

0
Would love your thoughts, please comment.x
()
x