• Resolved Sanil Shakya

    (@sonill)


    I am using WP Multisite in Cyberpanel. WordPress is working fine without the LSCache plugin but when I try to install LSCache it throws this error.

    PHP Fatal error: Uncaught Error: Undefined constant "LiteSpeed\COOKIEHASH" in /home/eadarsha.com/public_html/wp-content/plugins/litespeed-cache/src/htaccess.cls.php:554

    Any help is appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    please try create a php file with content

    <?php
    
    require( './wp-load.php' );
    
    echo COOKIEHASH;

    access by browser, what does it return ?

    Thread Starter Sanil Shakya

    (@sonill)

    @qtwrk
    it returns a random string. I believe it is a cookie hash.

    Plugin Support qtwrk

    (@qtwrk)

    okay , now please edit that file , add

    
    error_log( print_r(COOKIEHASH, TRUE), 3 , "/home/eadarsha.com/public_html/lscwp.log" );
    

    after line 554 $vary_cookies[] = ',wp-postpass_' . COOKIEHASH;

    now do it again , see what does it show in /home/eadarsha.com/public_html/lscwp.log

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I’m going to mark this topic “Resolved”, due to lack of activity.

    If you still need help, please feel free to re-open it.

    When re-open it, please also change the topic status to “not solved”

    Best regards,

    • This reply was modified 3 years, 6 months ago by qtwrk.

    I’m with the same issue. Could you help me?

    I run into the same issue, did someone found a solution ?

    Plugin Support qtwrk

    (@qtwrk)

    it’s patched already, will be included in next release

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error during plugin activation’ is closed to new replies.