ACTIVE PHP SESSION, REST API ERROR Site Health
-
Another php session error
FIX BELOW:
File:free-vehicle-data-uk/classes/FreeVehicleData.php
LOOK FOR:
public static function Instance() {
if ( is_null( self::$Instance ) ) {
self::$Instance = new self();
}
if( !session_id() ){
session_start();
}
return self::$Instance;
}
REPLACE WITH:
public static function Instance() {
if ( is_null( self::$Instance ) ) {
self::$Instance = new self();
}
return self::$Instance;
}
You must be logged in to reply to this topic.