Внезапно мой код, который я использовал в последние пару лет, теперь начал выдавать ошибку. Я использую codeigniter php framework.
Не могу понять, что происходит.
A PHP Error was encountered
Severity: Notice
Message: Undefined property: AuthorizeNetTD_Response::$xpath_xml
Filename: shared/AuthorizeNetXMLResponse.php
Line Number: 54
Backtrace:
File: /home/directpr/public_html/reports/new/application/lib/shared/AuthorizeNetXMLResponse.php
Line: 54
Function: _error_handler
File: /home/directpr/public_html/reports/new/application/controllers/Collectionupdate.php
Line: 258
Function: xpath
File: /home/directpr/public_html/reports/new/index.php
Line: 292
Function: require_once
Fatal error: Uncaught TypeError: Argument 1 passed to CI_Exceptions::show_exception() must be an instance of Exception, instance of Error given, called in /home/directpr/public_html/reports/new/system/core/Common.php on line 658 and defined in /home/directpr/public_html/reports/new/system/core/Exceptions.php:190 Stack trace: #0 /home/directpr/public_html/reports/new/system/core/Common.php(658): CI_Exceptions->show_exception(Object(Error)) #1 [internal function]: _exception_handler(Object(Error)) #2 {main} thrown in /home/directpr/public_html/reports/new/system/core/Exceptions.php on line 190
A PHP Error was encountered
Severity: Error
Message: Uncaught TypeError: Argument 1 passed to CI_Exceptions::show_exception() must be an instance of Exception, instance of Error given, called in /home/directpr/public_html/reports/new/system/core/Common.php on line 658 and defined in /home/directpr/public_html/reports/new/system/core/Exceptions.php:190 Stack trace: #0 /home/directpr/public_html/reports/new/system/core/Common.php(658): CI_Exceptions->show_exception(Object(Error)) #1 [internal function]: _exception_handler(Object(Error)) #2 {main} thrown
Filename: core/Exceptions.php
Line Number: 190
Backtrace: