Posted 14 октября, 20231 yr comment_196900 Hello I have a plugin that I need to update to the new version I activated the Developer tools mode and it gives an error during installation How can I find out where the changes are and what needs to be changed in the code to be compatible with the new version? Is there a special reference for learning and updating? Thank you for your guidance
14 октября, 20231 yr comment_196901 Чисто теоретически, для определнной версии системы нужна соответствующая версия Developer Tools.
14 октября, 20231 yr Author comment_196902 @Zero108 Is it possible to guide me? I am eager to learn this method of adapting to new versions
14 октября, 20231 yr comment_196903 Что тут сложного, нужно качать правильную версию: https://invisioncommunity.com/files/file/7185-developer-tools/ Какая у тебя версия сайта?
15 октября, 20231 yr Author comment_196905 I also announced above I ran Developer Tools according to the installed version For example, one of the plugins gives this error that requires compatibility I am looking for more learning, but I could not find any guidance Whoops \ Exception \ ErrorException (E_COMPILE_ERROR) Declaration of IPS\nexus\Gateway\_aryanpal::checkValidity(IPS\nexus\Money $amount, ?IPS\GeoLocation $billingAddress = null, ?IPS\nexus\Customer $customer = null) must be compatible with IPS\nexus\_Gateway::checkValidity(IPS\nexus\Money $amount, ?IPS\GeoLocation $billingAddress = null, ?IPS\nexus\Customer $customer = null, $recurrings = [])
15 октября, 20231 yr Author comment_196906 I instead of the following code check Validity(IPS\nexus\Money $amount، ?IPS\GeoLocation $billingAddress = null، ?IPS\nexus\Customer $customer = null) I replaced this code but it gave this error check Validity(IPS\nexus\Money $amount، ?IPS\GeoLocation $billingAddress = null، ?IPS\nexus\Customer $customer = null، $recurrings = []) error : ParseError: خطای نحوی، نشانه غیرمنتظره "?"، انتظار ")" (0) #0 C:\wamp\www\ips\applications\nexus\modules\admin\payments\gateways.php(112): IPS\IPS::autoloader('IPS\\nexus\\Gatew...') شماره 1 C:\wamp\www\ips\system\Helpers\Wizard\Wizard.php(181): IPS\nexus\modules\admin\payments\_gateways->IPS\nexus\modules\admin\payments\{closure} (آرایه) شماره 2 C:\wamp\www\ips\applications\nexus\modules\admin\payments\gateways.php(154): IPS\Helpers\_Wizard->__toString() شماره 3 C:\wamp\www\ips\system\Dispatcher\Controller.php(107): IPS\nexus\modules\admin\payments\_gateways->form() شماره 4 C:\wamp\www\ips\system\Node\Controller.php(69): IPS\Dispatcher\_Controller->execute() شماره 5 C:\wamp\www\ips\applications\nexus\modules\admin\payments\gateways.php(44): IPS\Node\_Controller->execute() شماره 6 C:\wamp\www\ips\applications\nexus\modules\admin\payments\paymentsettings.php(81): IPS\nexus\modules\admin\payments\_gateways->execute() شماره 7 C:\wamp\www\ips\system\Dispatcher\Controller.php(107): IPS\nexus\modules\admin\payments\_paymentsettings->__call('form', Array) #8 C:\wamp\www\ips\system\Dispatcher\Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #9 C:\wamp\www\ips\admin\index.php(13): IPS\_Dispatcher->run() شماره 10 {اصلی}
15 октября, 20231 yr comment_196907 15 минут назад, avangcom сказал: I instead of the following code check Validity(IPS\nexus\Money $amount، ?IPS\GeoLocation $billingAddress = null، ?IPS\nexus\Customer $customer = null) I replaced this code but it gave this error check Validity(IPS\nexus\Money $amount، ?IPS\GeoLocation $billingAddress = null، ?IPS\nexus\Customer $customer = null، $recurrings = []) error : ParseError: خطای نحوی، نشانه غیرمنتظره "?"، انتظار ")" (0) #0 C:\wamp\www\ips\applications\nexus\modules\admin\payments\gateways.php(112): IPS\IPS::autoloader('IPS\\nexus\\Gatew...') شماره 1 C:\wamp\www\ips\system\Helpers\Wizard\Wizard.php(181): IPS\nexus\modules\admin\payments\_gateways->IPS\nexus\modules\admin\payments\{closure} (آرایه) شماره 2 C:\wamp\www\ips\applications\nexus\modules\admin\payments\gateways.php(154): IPS\Helpers\_Wizard->__toString() شماره 3 C:\wamp\www\ips\system\Dispatcher\Controller.php(107): IPS\nexus\modules\admin\payments\_gateways->form() شماره 4 C:\wamp\www\ips\system\Node\Controller.php(69): IPS\Dispatcher\_Controller->execute() شماره 5 C:\wamp\www\ips\applications\nexus\modules\admin\payments\gateways.php(44): IPS\Node\_Controller->execute() شماره 6 C:\wamp\www\ips\applications\nexus\modules\admin\payments\paymentsettings.php(81): IPS\nexus\modules\admin\payments\_gateways->execute() شماره 7 C:\wamp\www\ips\system\Dispatcher\Controller.php(107): IPS\nexus\modules\admin\payments\_paymentsettings->__call('form', Array) #8 C:\wamp\www\ips\system\Dispatcher\Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #9 C:\wamp\www\ips\admin\index.php(13): IPS\_Dispatcher->run() شماره 10 {اصلی} нормально скопируй сюда код, сейчас по представлению это ересь из переводчика
15 октября, 20231 yr comment_196908 Функция в 4.7.13 checkValidity( \IPS\nexus\Money $amount, \IPS\GeoLocation $billingAddress = NULL, \IPS\nexus\Customer $customer = NULL, $recurrings = array() ) У тебя выше в логах написано must be compatible with, ищи функции в системный файлах движка и смотри отличия
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.