Jump to content
  • Status: Pending
TypeError: IPS\Application::appIsEnabled(): Argument #1 ($key) must be of type string, null given, called in /public_html/applications/core/modules/admin/overview/files.php on line 834 (0)

User Feedback

Recommended Comments

Marc

Invision Community Team

Please could you provide more description on the issue you are having?

PanSevence

Clients
(edited)

@Marc Yes, I tried moving files to the uploads directory from static and encountered exactly this error, resulting in some files not being moved but instead being deleted, causing significant data loss (I had to restore a backup). This is quite a serious issue, and I would appreciate it if you could look into it. Below is the exact error log and URL.

TypeError: IPS\Application::appIsEnabled(): Argument #1 ($key) must be of type string, null given, called in public_html/applications/core/modules/admin/overview/files.php on line 834 (0)
#0 public_html/applications/core/modules/admin/overview/files.php(834): IPS\Application::appIsEnabled()
#1 public_html/system/Dispatcher/Controller.php(128): IPS\core\modules\admin\overview\files->configurationMove()
#2 public_html/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute()
#3 public_html/admin/index.php(15): IPS\Dispatcher->run()
#4 {main}

#0 public_html/init.php(827): IPS\Log::log()
#1 [internal function]: IPS\IPS::exceptionHandler()
#2 {main}

url admin/?app=core&module=overview&controller=files&do=configurationMove&id=2

Edited by PanSevence

Esther E.

Invision Community Team

You should never be moving files out of the static directory. That will definitely break your entire site.

What actions did you take to make that happen? Did you manually move the files, or was it done somehow through the ACP?

PanSevence

Clients

@Esther E. I did this through ACP > Files > Storage Settings > Configurations and used the Move button, which is when I encountered this error. Of course, I used it to move the static directory to uploads. From what I saw, we are moving all assets to uploads soon, so I wanted to get it done in advance. After that, I changed the Storage Settings to uploads. At that point, some files were not moved but were instead deleted.

This morning, I restored a backup and manually moved the files from static to uploads, then set all directories to uploads for all assets, and everything is working fine. However, this does not change the fact that I lost data yesterday due to this option in ACP.

Esther E.

Invision Community Team

Sorry, I'm still confused. You had your own static directory before v5? And you had custom files there?

Esther E.

Invision Community Team

So... first, it was not required to move everything specifically to uploads. The goal is to have a single storage location; it doesn't really matter to us where that location is.

Beyond that... we really need you to update your access information on your client area. You've reported multiple issues that require investigation, and I'm afraid we can't really assist without the ability to see what's really happening.

PanSevence

Clients
 

So... first, it was not required to move everything specifically to uploads. The goal is to have a single storage location; it doesn't really matter to us where that location is.

Beyond that... we really need you to update your access information on your client area. You've reported multiple issues that require investigation, and I'm afraid we can't really assist without the ability to see what's really happening.

If you need to log in to FTP, I need the IP address to add it to the firewall. I recently added Marc's address. Can you check if they are correct now? @Marc @Esther E.

Marc

Invision Community Team

Its your admin login details that are incorrect. Its the same IP in terms of the FTP access

PanSevence

Clients
 

Its your admin login details that are incorrect. Its the same IP in terms of the FTP access

Check now