Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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

  • Author

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

 

  • Author

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, ищи функции в системный файлах движка и смотри отличия

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.

Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.