Jump to content

Recommended Posts

Posted

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!

Posted
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?

Posted
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. 

Posted

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.

Posted
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

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...