Title: COOKIEPATH Errors
Last modified: May 24, 2019

---

# COOKIEPATH Errors

 *  Resolved [rgorrie](https://wordpress.org/support/users/rgorrie/)
 * (@rgorrie)
 * [7 years ago](https://wordpress.org/support/topic/cookiepath-errors/)
 * My nginx error logs are full of errors evry 15 seconds related to the session
   manager in awesome support, even with debug turned off.
 * E.G.
    2019/05/23 18:26:00 [error] 16069#16069: *3168 FastCGI sent in stderr: “
   PHP message: PHP Warning: Use of undefined constant COOKIEPATH – assumed ‘COOKIEPATH’(
   this will throw an Error in a future version of PHP) in /var/www/my.company.com/
   html/wp-content/plugins/awesome-support/vendor/ericmann/wp-session-manager/includes/
   class-wp-session.php on line 142” while reading response header from upstream,
   client: X.X.X.X, server: my.company.com, request: “POST /wp-admin/admin-ajax.
   php HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock:”, host: “my.
   company.com”, referrer: “[https://my.company.com/wp-admin/admin.php?page=wp_file_manager&#8221](https://my.company.com/wp-admin/admin.php?page=wp_file_manager&#8221);
 * 2019/05/23 18:26:16 [error] 16069#16069: *3244 FastCGI sent in stderr: “PHP message:
   PHP Warning: Use of undefined constant COOKIEPATH – assumed ‘COOKIEPATH’ (this
   will throw an Error in a future version of PHP) in /var/www/my.company.com/html/
   wp-content/plugins/awesome-support/vendor/ericmann/wp-session-manager/includes/
   class-wp-session.php on line 142” while reading response header from upstream,
   client: X.X.X.X, server: my.company.com request: “POST /wp-admin/admin-ajax.php
   HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock:”, host: “my.company.
   com”, referrer: “[https://template.my.company.com/wp-admin/post.php?post=29&action=edit&#8221](https://template.my.company.com/wp-admin/post.php?post=29&action=edit&#8221);
 * 2019/05/23 18:26:16 [error] 16069#16069: *3244 FastCGI sent in stderr: “PHP message:
   PHP Warning: Use of undefined constant COOKIEPATH – assumed ‘COOKIEPATH’ (this
   will throw an Error in a future version of PHP) in /var/www/my.company.com/html/
   wp-content/plugins/awesome-support/vendor/ericmann/wp-session-manager/includes/
   class-wp-session.php on line 142” while reading response header from upstream,
   client: X.X.X.X, server: my.company.com request: “POST /wp-admin/admin-ajax.php
   HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock:”, host: “my.company.
   com”, referrer: “[https://my.company.com/wp-admin/post.php?post=29&action=edit&#8221](https://my.company.com/wp-admin/post.php?post=29&action=edit&#8221);
 * Is there a resolution to make this stop?
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcookiepath-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Yeison Baron](https://wordpress.org/support/users/yeisonbp/)
 * (@yeisonbp)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/cookiepath-errors/#post-11588955)
 * Hi [@rgorrie](https://wordpress.org/support/users/rgorrie/),
 * Do you have a multisite? If so, did you activate the plugin for each site and
   did not network activate them? Also, try to deactivate your other plugins and
   activate one by one to see if there might be a conflict issue.
 * Regards.
 *  Thread Starter [rgorrie](https://wordpress.org/support/users/rgorrie/)
 * (@rgorrie)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/cookiepath-errors/#post-11602071)
 * Hi,
 * Thanks for the reply
 * Yes it is multisite and yes it is network activated because we need single point
   control / replication of the AS support settings across the network.
 * We could do the deactivations of plugins but most plugins that are installed 
   are critical…so if we need them and AS isn’t playing nice, do we uninstall or
   might there be a code mod we can do to suppress the errors?
 * Thanks
 * Rob

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘COOKIEPATH Errors’ is closed to new replies.

 * ![](https://ps.w.org/awesome-support/assets/icon-256x256.png?rev=1849681)
 * [Awesome Support - WordPress HelpDesk & Support Plugin](https://wordpress.org/plugins/awesome-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/awesome-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-support/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-support/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [rgorrie](https://wordpress.org/support/users/rgorrie/)
 * Last activity: [6 years, 12 months ago](https://wordpress.org/support/topic/cookiepath-errors/#post-11602071)
 * Status: resolved