• Resolved progressivem

    (@progressivem)


    Hi,
    We are getting the following error:

    Warning: Use of undefined constant COOKIEPATH – assumed ‘COOKIEPATH’ (this will throw an Error in a future version of PHP) in /wp-content/plugins/formlift/modules/personalization/user.php on line 34

    Warning: Use of undefined constant COOKIE_DOMAIN – assumed ‘COOKIE_DOMAIN’ (this will throw an Error in a future version of PHP) in /wp-content/plugins/formlift/modules/personalization/user.php on line 34

    We’re using the latest WP version running on php 7. Any suggestions how to fix this error?

    • This topic was modified 5 years, 8 months ago by progressivem.
    • This topic was modified 5 years, 8 months ago by progressivem.
Viewing 1 replies (of 1 total)
  • Plugin Author Adrian Tobey

    (@trainingbusinesspros)

    Hi, we tried to reproduce this on a local site but could not. It is possible that your WordPress was corrupted by a recently installed plugin, please deactivate and reactivate plugins 1 by 1 until the error goes away, once the error goes away you have your answer.

    While not elegant, you could also add the following to your wp-config.php file where it says “Stop Editing”

    <?php
    define( ‘COOKIEPATH’, ‘/’ );
    define( ‘COOKIE_DOMAIN’, false );

Viewing 1 replies (of 1 total)
  • The topic ‘undefined COOKIEPATH and COOKIE_DOMAIN constants’ is closed to new replies.