Issue with session_start
-
Hi there,
I’ve had an issue with this plugin and redis caching on krystal hosting’s onyx hosting. When a request is sent to wp-ajax it raises a headers already sent warning originating in the plugin on this section, this then causes redis to break for some unknown reason and ajax then returns a 500 error. I’ve disabled all other plugins and the theme and narrowed it down to this line.if (!session_id()) {
session_start();
}When I comment out the session_start the whole thing works quite nicely, this occurs on php 7.3. I suspect there’s not that much you can do as I’ve had a little look and the session id is always returning as false in my instance.
Thanks,
Oliver
- The topic ‘Issue with session_start’ is closed to new replies.