• I am using Newsever theme and get constantly REST API curl error 28 in Site Health.

    What solved the issue was adding this to theme’s functions.php

    add_action('init', function(){
        session_start(); //this loads variables to $_SESSION for reading
        if( empty($your_plugin_needs_session_saving) ){
            session_write_close(); //other plugins can restart a session again via session_start()
        } // if session writing is needed, close session after writing is done
    });
Viewing 1 replies (of 1 total)
  • Hello @parmen

    We will check the issues on our end and come back with the theme update very soon.

    This might be the issues because of the WordPress updates.

    Thank you

Viewing 1 replies (of 1 total)
  • The topic ‘REST API curl error 28 Fix’ is closed to new replies.