PHP error

Declaration of Api\SletatRu\XMLGateBackground::_connect() should be compatible with Api\SletatRu\SOAP::_connect($apiId, $login, $password)

/home/user/web/russianasha.ru/public_html/protected/modules/hoteltours/libs/api_sletat_ru/classes/class.xmlgatebackground.php(9)

01 <?php
02     namespace Api\SletatRu;
03 
04     defined('API_SLETAT_RU') or die('Access Denied');
05 
06     use \Api\SletatRu\SOAP as SOAP;
07 
08     class XMLGateBackground extends SOAP
09     {
10         # documentation:
11         # http://wiki.sletat.ru/w/%D0%A8%D0%BB%D1%8E%D0%B7_%D0%BF%D0%BE%D0%B8%D1%81%D0%BA%D0%B0_%D1%82%D1%83%D1%80%D0%BE%D0%B2_(xml)
12         # http://wiki.sletat.ru/w/%D0%9E%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%B0%D1%8F_%D0%B1%D0%B0%D0%B7%D0%B0_(xml)
13         const API_ID = 'urn:SletatRu:DataTypes:AuthData:v1';
14 
15         protected $_requestId = null;
16         protected $_containersArray = array(
17             'GetDepartCities'        => 'City',
18             'GetCountries'            => 'Country',
19             'GetCities'                => 'City',
20             'GetHotelStars'            => 'HotelStars',
21             'GetMeals'                => 'Meal',

Stack Trace

#0
+
 /home/user/web/russianasha.ru/public_html/protected/modules/hoteltours/libs/api_sletat_ru/autoloader.php(31): require_once("/home/user/web/russianasha.ru/public_html/protected/modules/hote...")
26         {
27             $className = str_replace('\\', '_', str_replace(__NAMESPACE__ . '\\', '', $className));
28             $classFileName = realpath($this->_classesPath . '/class.' . strtolower($className) . '.php');
29             if($classFileName)
30             {
31                 require_once($classFileName);
32                 return true;
33             }
34             return false;
35         }
36     }
#2
+
 /home/user/web/russianasha.ru/public_html/protected/modules/hoteltours/libs/api_sletat_ru/classes/class.xmlgate.php(9): spl_autoload_call("Api\SletatRu\XMLGateBackground")
04     defined('API_SLETAT_RU') or die('Access Denied');
05 
06     use \Api\SletatRu\XMLGateBackground as XMLGateBackground;
07 
08     class XMLGate extends XMLGateBackground
09     {
10         protected $__soap_wsdl = 'http://module.sletat.ru/XmlGate.svc?singlewsdl';
11         protected $_hotelPhotosUrl = 'http://hotels.sletat.ru/i/p/';
12 
13         public function getDepartCities()
14         {
#3
+
 /home/user/web/russianasha.ru/public_html/protected/modules/hoteltours/libs/api_sletat_ru/autoloader.php(31): require_once("/home/user/web/russianasha.ru/public_html/protected/modules/hote...")
26         {
27             $className = str_replace('\\', '_', str_replace(__NAMESPACE__ . '\\', '', $className));
28             $classFileName = realpath($this->_classesPath . '/class.' . strtolower($className) . '.php');
29             if($classFileName)
30             {
31                 require_once($classFileName);
32                 return true;
33             }
34             return false;
35         }
36     }
2024-03-19 02:23:13 Apache/2.4.57 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 Yii Framework/1.1.13