Cookie Domain Already Defined Error

We are in the process of migrating and are troubleshooting a few issues. What should we do about the following error?

Notice: Constant COOKIE_DOMAIN already defined in /var/www/vhosts/ on line 34 Notice: get_current_site_name is deprecated since version 3.9! Use get_current_site() instead. in /var/www/vhosts/ on line 3206

As always thanks for your expertise and insight.

  • Michelle Shull
    • DEV MAN’s Apprentice

    Hey there! Happy Saturday!

    Actually, you don't have to do anything about this. It's a notice, not an error or a warning, it's just a development note. It won't hurt anything, and it shouldn't cause you any problems at all. PHP notices are like notes for developers, the deprecated function here still works, this is just a heads up that in future versions, the dev should use the more modern version.

    You can turn debug to false to hide it, it's definitely not something to worry about at all. : )

    Take care!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.