Hi @merlin1764,
Sorry for the inconvenience caused to you.
I have read your support query. As per your query it seems that there is some conflict with other plugins or theme. Please deactivate other plugins and theme one by one and check which plugin causes the issue.
Thank you
No change … Userblocker deactivated and deleted 🙁
@sanjaydabhoya I have the same issue on a site, disabled all other plugins and still the same.
PHP Warning: session_start(): Cannot start session when headers already sent in /var/www/vhosts/DOMAIN/wp-content/plugins/user-blocker/includes/user_blocker_common_functions.php on line 510
We use Hello theme on that site.
-
This reply was modified 5 years, 4 months ago by
NoemiNL.
@noeminl
Here is the quick fix. Please do it and let us know if still getting issue.
at wp-content/plugins/user-blocker/includes/user_blocker_common_functions.php on line 510,
just replace
if (session_id() == ”) {
with
if (!headers_sent() && session_id() == ”) {
regards
Hi there,
we had the same issue. This is the fix that worked for us. Please update your plugin now.
user-blocker\includes\user_blocker_common_functions.php
/**
* Start session if not started
*/
if (!function_exists(‘ublk_session_start’)) {
function ublk_session_start() {
if (session_id() == ” && !headers_sent()) {
session_start([‘read_and_close’ => true]);
}
}
}