avangcom Опубликовано 14 октября, 2023 Поделиться Опубликовано 14 октября, 2023 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 Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Zero108 Опубликовано 14 октября, 2023 Поделиться Опубликовано 14 октября, 2023 Чисто теоретически, для определнной версии системы нужна соответствующая версия Developer Tools. avangcom 1 Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
avangcom Опубликовано 14 октября, 2023 Автор Поделиться Опубликовано 14 октября, 2023 @Zero108 Is it possible to guide me? I am eager to learn this method of adapting to new versions Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Zero108 Опубликовано 14 октября, 2023 Поделиться Опубликовано 14 октября, 2023 Что тут сложного, нужно качать правильную версию: https://invisioncommunity.com/files/file/7185-developer-tools/ Какая у тебя версия сайта? avangcom 1 Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
avangcom Опубликовано 15 октября, 2023 Автор Поделиться Опубликовано 15 октября, 2023 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 = []) Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
avangcom Опубликовано 15 октября, 2023 Автор Поделиться Опубликовано 15 октября, 2023 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 {اصلی} Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Exception Опубликовано 15 октября, 2023 Поделиться Опубликовано 15 октября, 2023 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 {اصلی} нормально скопируй сюда код, сейчас по представлению это ересь из переводчика Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Exception Опубликовано 15 октября, 2023 Поделиться Опубликовано 15 октября, 2023 Функция в 4.7.13 checkValidity( \IPS\nexus\Money $amount, \IPS\GeoLocation $billingAddress = NULL, \IPS\nexus\Customer $customer = NULL, $recurrings = array() ) У тебя выше в логах написано must be compatible with, ищи функции в системный файлах движка и смотри отличия avangcom 1 Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Рекомендуемые сообщения
Присоединяйтесь к обсуждению
Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.
Примечание: Ваш пост будет проверен модератором, прежде чем станет видимым.