I’m trying to install V1.5 on my ubuntu server running Apache2 with PHP V8.1.2. I’m getting this following errors when I first open up and run the index.php file on the server:
A PHP Error was encountered
Severity: 8192
Message: str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated
Filename: MX/Controller.php
Line Number: 47
Backtrace:
File: /var/www/html/application/third_party/MX/Controller.php
Line: 47
Function: str_replace
File: /var/www/html/application/core/Base_Controller.php
Line: 29
Function: __construct
File: /var/www/html/application/core/User_Controller.php
Line: 29
Function: __construct
File: /var/www/html/application/core/Admin_Controller.php
Line: 26
Function: __construct
File: /var/www/html/index.php
Line: 325
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated
Filename: MX/Loader.php
Line Number: 198
Backtrace:
File: /var/www/html/application/third_party/MX/Loader.php
Line: 198
Function: strtolower
File: /var/www/html/application/core/Base_Controller.php
Line: 45
Function: library
File: /var/www/html/application/core/User_Controller.php
Line: 29
Function: __construct
File: /var/www/html/application/core/Admin_Controller.php
Line: 26
Function: __construct
File: /var/www/html/index.php
Line: 325
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 132
Backtrace:
File: /var/www/html/application/third_party/MX/Loader.php
Line: 209
Function: _ci_load_library
File: /var/www/html/application/core/Base_Controller.php
Line: 45
Function: library
File: /var/www/html/application/core/User_Controller.php
Line: 29
Function: __construct
File: /var/www/html/application/core/Admin_Controller.php
Line: 26
Function: __construct
File: /var/www/html/index.php
Line: 325
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_files_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 294
Backtrace:
File: /var/www/html/application/third_party/MX/Loader.php
Line: 209
Function: _ci_load_library
File: /var/www/html/application/core/Base_Controller.php
Line: 45
Function: library
File: /var/www/html/application/core/User_Controller.php
Line: 29
Function: __construct
File: /var/www/html/application/core/Admin_Controller.php
Line: 26
Function: __construct
File: /var/www/html/index.php
Line: 325
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_files_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 168
Backtrace:
File: /var/www/html/application/third_party/MX/Loader.php
Line: 209
Function: _ci_load_library
File: /var/www/html/application/core/Base_Controller.php
Line: 45
Function: library
File: /var/www/html/application/core/User_Controller.php
Line: 29
Function: __construct
File: /var/www/html/application/core/Admin_Controller.php
Line: 26
Function: __construct
File: /var/www/html/index.php
Line: 325
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_files_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 237
Backtrace:
File: /var/www/html/application/third_party/MX/Loader.php
Line: 209
Function: _ci_load_library
File: /var/www/html/application/core/Base_Controller.php
Line: 45
Function: library
File: /var/www/html/application/core/User_Controller.php
Line: 29
Function: __construct
File: /var/www/html/application/core/Admin_Controller.php
Line: 26
Function: __construct
File: /var/www/html/index.php
Line: 325
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_files_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 317
Backtrace:
File: /var/www/html/application/third_party/MX/Loader.php
Line: 209
Function: _ci_load_library
File: /var/www/html/application/core/Base_Controller.php
Line: 45
Function: library
File: /var/www/html/application/core/User_Controller.php
Line: 29
Function: __construct
File: /var/www/html/application/core/Admin_Controller.php
Line: 26
Function: __construct
File: /var/www/html/index.php
Line: 325
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 358
Backtrace:
File: /var/www/html/application/third_party/MX/Loader.php
Line: 209
Function: _ci_load_library
File: /var/www/html/application/core/Base_Controller.php
Line: 45
Function: library
File: /var/www/html/application/core/User_Controller.php
Line: 29
Function: __construct
File: /var/www/html/application/core/Admin_Controller.php
Line: 26
Function: __construct
File: /var/www/html/index.php
Line: 325
Function: require_once
Is there something I am missing in installation? it seems that there are deprecated calls happening with the third party MX.
Any help would be greatly appreciated.