@ssaghijs,
Could you please the browser console for errors during activation? Just to make sure that I understood you correctly – once you click on “Activate” nothing happens? Or does it activate page caching on the plugin side, but nothing is cached on the front-end?
Best regards,
Anton
Dear Anton, you understood me well indeed. Once I click “Activate” nothing happens? No other page is activated which allows me to enable caching.
Cheers,
Stefaan
PS I will check the browser console. Are there other things which I equally can check?
@ssaghijs,
Browser console errors are the easiest. The next step would be to enable debugging and check the debug.log for errors.
I’ve seen similar errors a while back on one site, it was related to strict server caching. And purging the server cache did help.
Best regards,
Anton
It gives some warnings but no errors including the debug.log, any next steps?
Cheers,
Stefaan
Tried to purge cache on Nginx server also, no luck either.
If there are no errors – it means Hummingbird is working fine. Look for conflicts – could be there’s another plugin that’s already doing something similar, your host may be blocking Hummingbird. Also, as I said in my previous post, disabling server/hosting cache is a good way to test if that’s the cause of issues. If you have directory permission issues, it might prevent page cache from working properly. But most of those issues are covered by Hummingbird and you should see a notice if something is not working as expected.
Best regards,
Anton
Tx, could it be that these debug warnings are the issue:
session_start(): Cannot send session cookie – headers already sent in …custom.php on line 282
[04-Mar-2020 16:56:06 UTC] PHP Warning: session_start(): Cannot send session cache limiter – headers already sent in …custom.php on line 282
That ‘…custom.php’ file is interfering, which might indicate an issue. Could you please try disabling the plugin with that file and see if that helps? Or post here what’s on line 282 in that file.
Best regards,
Anton
It is in the lib file of the theme. The following code is there:
278 function enable_session()
279
280 {
281 if (!isset ($_SESSION)) {
282 session_start();
283 }
284 }
What is the theme? I will try to test it on my end
It is a theme which is developed on our own. Can I provide you with other info?
Cheers,
Stefaan
@ssaghijs,
The only other thing I can offer is try to replicate this on my local setup and see if it’s possible to fix. I would need your theme for that. Please use the contact form https://premium.wpmudev.org/contact/. Select “I have a different question”, use “Attn: Anton” as your subject.
Best regards,
Anton