• Resolved sailors

    (@sailors)


    Hi,

    I noticed an error something like that said WP super cache is installed so search for solution and found a post about WP super cache and Hummingbird compatibility, then learned no need to have both of them so cleared cache and deactivated WP super cache.

    My site still looks working fine but got another error message in the Page Caching page,
    Hummingbird could not locate the WP_CACHE constant in wp-config.php file for WordPress. Please make sure the following line is added to the file:
    define(‘WP_CACHE’, true);

    I don’t know if it is affecting negatively on my site but what would be proper solution for that error message? I deactivated WP super cache but didn’t delete it completely yet.

    Please help.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 20 total)
  • Hi @sailors,

    You are correct – both Hummingbird and WP Super Cache should not be used together. In fact, any plugins or settings that do the same thing should not be used together.

    Regarding the message, please make sure that define(‘WP_CACHE’, true); is present in the wp-config.php file. If it’s not there, you can add it manually via any FTP editor.

    Best regards,
    Anton

    Thread Starter sailors

    (@sailors)

    Thank you for your very quick reply, Anton.

    I just added define(‘WP_CACHE’, true); in the wp-config.php file, and cleared cache but still get that same error message.

    @sailors,

    It seems that Hummingbird is not seeing it. Could you please remove it, deactivate Hummingbird page caching and activate it again. After that check if WP_CACHE is defined in wp-config.php. You should see a // Added by WP Hummingbird comment right next to it.

    Best regards,
    Anton

    Thread Starter sailors

    (@sailors)

    I still get that error.

    I followed your instruction and don’t see the Hummingbird comment in wp-config.php. Do I need to deactivate the Hummingbird plugin instead of just the page caching?

    Thread Starter sailors

    (@sailors)

    BTW, I have Autoptimize plugin installed. Does it matter? I cleared that cache, too when following your instruction.

    @sailors,

    It shouldn’t really matter, as long as the WP_CACHE constant is defined to TRUE, all should be fine. What are your file permissions for wp-config.php? And are you using any special installation of WordPress (Bedrock, for example)?

    Best regards,
    Anton

    Thread Starter sailors

    (@sailors)

    The file permission for wp-config.php is 644. I don’t use any special installation of WP. I’m not that technical.

    @sailors,

    Are you using any security plugins?

    Best regards,
    Anton

    Thread Starter sailors

    (@sailors)

    I deactivated Wordfence and tried again, and still see the error message. Do I need to delete WP Super Cache from my plugin list?

    Thread Starter sailors

    (@sailors)

    Also, the site language is set to Japanese so all sentences other than codes in the wp-config.php are Japanese.

    @sailors,

    The language and deactivated plugins should not be making a difference.

    Could you please contact me via this contact form: https://premium.wpmudev.org/contact/
    Select “I have a different question”
    In subject please add “Attn: Anton” so that the message is assigned to me.
    Also, please link to this thread for reference.

    Best regards,
    Anton

    Thread Starter sailors

    (@sailors)

    Just wondering what’s going on after that. Any updates?

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @sailors

    Have you sent an email to Anton already? Because I’ve searched our inbox for subject “Attn: Anton” and/or the URL of this topic and couldn’t locate any. Please advise!

    Warm regards,
    Dimitris

    Thread Starter sailors

    (@sailors)

    Thanks for your reply, Dimitris.

    Yes, I sent an Email right after he told me to do so. Should I send again?

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello @sailors

    It seems that we haven’t received anything so far. Could you please send an email, using our safe contact
    https://premium.wpmudev.org/contact/#i-have-a-different-question

    Please set as subject “Attn: Anton” and include the URL of this topic. https://wordpress.org/support/topic/definewp_cache-true-error-message/

    Feel free to post back here, when this is done, so we could double check quickly! 🙂

    Warm regards,
    Dimitris

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘define(‘WP_CACHE’, true); error message’ is closed to new replies.