Перейти к содержанию

Update Plugin & Application


Рекомендуемые сообщения

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

Ссылка на комментарий
Поделиться на другие сайты

Чисто теоретически, для определнной версии системы нужна соответствующая версия Developer Tools.

Ссылка на комментарий
Поделиться на другие сайты

@Zero108

Is it possible to guide me?
I am eager to learn this method of adapting to new versions

Ссылка на комментарий
Поделиться на другие сайты

Что тут сложного, нужно качать правильную версию: https://invisioncommunity.com/files/file/7185-developer-tools/

DeveloperTools-InvisionCommunityExtras-InvisionCommunityBrave.thumb.jpg.c52a8419d890de649ed4bc454a66c4d1.jpg

Какая у тебя версия сайта?

Ссылка на комментарий
Поделиться на другие сайты

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 = [])

 

Ссылка на комментарий
Поделиться на другие сайты

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 минут назад, 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 {اصلی} 

 

нормально скопируй сюда код, сейчас по представлению это ересь из переводчика

Ссылка на комментарий
Поделиться на другие сайты

Функция в 4.7.13

checkValidity( \IPS\nexus\Money $amount, \IPS\GeoLocation $billingAddress = NULL, \IPS\nexus\Customer $customer = NULL, $recurrings = array() )

У тебя выше в логах написано must be compatible with, ищи функции в системный файлах движка и смотри отличия

Ссылка на комментарий
Поделиться на другие сайты

Присоединяйтесь к обсуждению

Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.
Примечание: Ваш пост будет проверен модератором, прежде чем станет видимым.

Гость
Ответить в этой теме...

×   Вставлено с форматированием.   Вставить как обычный текст

  Разрешено использовать не более 75 эмодзи.

×   Ваша ссылка была автоматически встроена.   Отображать как обычную ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставлять изображения напрямую. Загружайте или вставляйте изображения по ссылке.

  • Последние посетители   0 пользователей онлайн

    • Ни одного зарегистрированного пользователя не просматривает данную страницу
×
×
  • Создать...