Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 17, 20231 yr Hello, When I want to delete an application, there is an error: TypeError: ksort(): Argument #1 ($array) must be of type array, null given (0) #0 /var/www/html/web/ips/system/Application/Application.php(4976): ksort(NULL) #1 /var/www/html/web/ips/applications/core/modules/admin/applications/applications.php(1389): IPS\_Application->delete() #2 /var/www/html/web/ips/system/Dispatcher/Controller.php(107): IPS\core\modules\admin\applications\_applications->delete() #3 /var/www/html/web/ips/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #4 /var/www/html/web/ips/applications/core/modules/admin/applications/applications.php(48): IPS\Node\_Controller->execute() #5 /var/www/html/web/ips/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\applications\_applications->execute() #6 /var/www/html/web/ips/kep8Phut/index.php(13): IPS\_Dispatcher->run() #7 {main} URL: admin/?app=core&module=applications&controller=applications&do=delete&id=deactivation&csrfKey=xxx&wasConfirmed=1 Backtrace: #0 /var/www/html/web/ips/init.php(1038): IPS\_Log::log('TypeError: ksor...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(TypeError)) #2 {main} Can you help me? I try to disable all my custom applications and plugins without success. Invision Community version 4.7.13 Thanks!
September 17, 20231 yr Community Expert 54 minutes ago, DreamOn said: When I want to delete an application, there is an error: What application is that, or is it for when you try to uninstall any third party applications? What is your php version btw?
September 17, 20231 yr 23 minutes ago, Miss_B said: What application is that Pretty obvious: 1 hour ago, DreamOn said: id=deactivation
September 17, 20231 yr Community Expert 2 hours ago, DawPi said: Pretty obvious: 4 hours ago, DreamOn said: I missed that, thanks. In that case, I think the error is happening because that application is not compatible with the php 8 version.
September 17, 20231 yr Author It's this app: https://invisioncommunity.com/files/file/8571-account-deactivation-deletion/ 1 hour ago, Miss_B said: In that case, I think the error is happening because that application is not compatible with the php 8 version. This is a paid app, I don't want to pay to upgrade for PHP 8.x compatibility. What can I do to uninstall this app? Thanks.
September 17, 20231 yr How does the applications/deactivation/setup/install.json file look like? Is it empty or does it contain {} if it is empty, just add the above code and try it again.
September 17, 20231 yr Author 1 hour ago, Daniel F said: How does the applications/deactivation/setup/install.json file look like? Is it empty or does it contain {} if it is empty, just add the above code and try it again. Hello @Daniel F, There is no install.json file inside this folder: $ ls -lah ips/applications/deactivation/setup/ total 48K drwxr-xr-x 12 www-data www-data 4.0K Aug 11 2021 . drwxr-xr-x 10 www-data www-data 4.0K Mar 29 2021 .. -rw-rw-rw- 1 www-data www-data 0 Aug 11 2021 index.html drwxr-xr-x 2 www-data www-data 4.0K Mar 29 2021 install drwxr-xr-x 2 www-data www-data 4.0K Mar 29 2021 upg_001000 drwxr-xr-x 2 www-data www-data 4.0K Mar 29 2021 upg_01010000 drwxr-xr-x 2 www-data www-data 4.0K Mar 29 2021 upg_100000 drwxr-xr-x 2 www-data www-data 4.0K Mar 29 2021 upg_1010014 drwxr-xr-x 2 www-data www-data 4.0K Mar 29 2021 upg_1010015 drwxr-xr-x 2 www-data www-data 4.0K Mar 29 2021 upg_1010016 drwxr-xr-x 2 www-data www-data 4.0K Mar 29 2021 upg_1010017 drwxr-xr-x 2 www-data www-data 4.0K Mar 29 2021 upg_1010018 drwxr-xr-x 2 www-data www-data 4.0K Aug 11 2021 upg_1010019 $ ls -lah ips/applications/deactivation/setup/install total 8.0K drwxr-xr-x 2 www-data www-data 4.0K Mar 29 2021 . drwxr-xr-x 12 www-data www-data 4.0K Aug 11 2021 .. -rw-rw-rw- 1 www-data www-data 0 Aug 11 2021 queries.json
September 17, 20231 yr Author 2 minutes ago, Miss_B said: Have a look at the queries.json file. The file is empty 😕
September 17, 20231 yr Community Expert Just now, DreamOn said: The file is empty 😕 Add the code posted by Daniel above, save the changes and try to uninstall that app again.
September 17, 20231 yr Author 1 minute ago, Miss_B said: Add the code posted by Daniel above, save the changes and try to uninstall that app again. Great, it works! Thanks!