• Resolved pedjas

    (@pedjas)


    After I switched to PHP7 I got this error:

    Warning: session_cache_limiter(): Cannot change cache limiter when session is active in public_html/wp-content/plugins/cforms2/lib_functions.php on line 42

    Fix is to change function cforms2_start_session() to look liek this:

    function cforms2_start_session() {

    $session_id = session_id();
    if (empty($session_id)) {
    session_start();
    session_cache_limiter(‘nocache’);
    }

    }

    Hope this will be included in next official update.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘[kinda_solved] Runing under PHP7 causes session_cache_limiter error’ is closed to new replies.