An error occurred during the request. Unable to proceed

i have version 25.0.1 and anstall nextcloud in shared hosting … when i go to apps page give me this : “An error occurred during the request. Unable to proceed.”

i remove nextcloud in install it many time … and the same
and add other user and the same
install in other domain and the same

this is log file i hope it help

[index] Error: Exception: Argument 1 passed to OC\App\PlatformRepository::normalizeVersion() must be of the type string, null given, called in /home/credosto/crm.credostores.net/lib/private/App/PlatformRepository.php on line 53 in file ‘/home/credosto/crm.credostores.net/lib/private/App/PlatformRepository.php’ line 148 at <>

  1. /home/credosto/crm.credostores.net/lib/private/AppFramework/App.php line 172
    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings\Con … {}, “listApps”)
  2. /home/credosto/crm.credostores.net/lib/private/Route/Router.php line 298
    OC\AppFramework\App::main(“OCA\Settings\ … r”, “listApps”, OC\AppFramework\ … {}, [“settings.AppSettings.listApps”])
  3. /home/credosto/crm.credostores.net/lib/base.php line 1047
    OC\Route\Router->match(“/settings/apps/list”)
  4. /home/credosto/crm.credostores.net/index.php line 36
    OC::handleRequest()

GET /index.php/settings/apps/list
from 102.187.61.251 by moustafa at 2022-11-27T15:39:21+00:00


{“reqId”:“4gdhjhwBN7tVnoUW3tLk”,“level”:3,“time”:“2022-11-27T15:39:21+00:00”,“remoteAddr”:“102.187.61.251”,“user”:“moustafa”,“app”:“index”,“method”:“GET”,“url”:“/index.php/settings/apps/list”,“message”:“Argument 1 passed to OC\App\PlatformRepository::normalizeVersion() must be of the type string, null given, called in /home/credosto/crm.credostores.net/lib/private/App/PlatformRepository.php on line 53 in file ‘/home/credosto/crm.credostores.net/lib/private/App/PlatformRepository.php’ line 148”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36”,“version”:“25.0.1.1”,“exception”:{“Exception”:“Exception”,“Message”:“Argument 1 passed to OC\App\PlatformRepository::normalizeVersion() must be of the type string, null given, called in /home/credosto/crm.credostores.net/lib/private/App/PlatformRepository.php on line 53 in file ‘/home/credosto/crm.credostores.net/lib/private/App/PlatformRepository.php’ line 148”,“Code”:0,“Trace”:[{“file”:“/home/credosto/crm.credostores.net/lib/private/AppFramework/App.php”,“line”:172,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”,“args”:[{“class”:“OCA\Settings\Controller\AppSettingsController”},“listApps”]},{“file”:“/home/credosto/crm.credostores.net/lib/private/Route/Router.php”,“line”:298,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”,“args”:[“OCA\Settings\Controller\AppSettingsController”,“listApps”,{“class”:“OC\AppFramework\DependencyInjection\DIContainer”},[“settings.AppSettings.listApps”]]},{“file”:“/home/credosto/crm.credostores.net/lib/base.php”,“line”:1047,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”,“args”:[“/settings/apps/list”]},{“file”:“/home/credosto/crm.credostores.net/index.php”,“line”:36,“function”:“handleRequest”,“class”:“OC”,“type”:“::”,“args”:}],“File”:“/home/credosto/crm.credostores.net/lib/private/AppFramework/Http/Dispatcher.php”,“Line”:165,“Previous”:{“Exception”:“TypeError”,“Message”:“Argument 1 passed to OC\App\PlatformRepository::normalizeVersion() must be of the type string, null given, called in /home/credosto/crm.credostores.net/lib/private/App/PlatformRepository.php on line 53”,“Code”:0,“Trace”:[{“file”:“/home/credosto/crm.credostores.net/lib/private/App/PlatformRepository.php”,“line”:53,“function”:“normalizeVersion”,“class”:“OC\App\PlatformRepository”,“type”:“->”,“args”:[null]},{“file”:“/home/credosto/crm.credostores.net/lib/private/App/PlatformRepository.php”,“line”:37,“function”:“initialize”,“class”:“OC\App\PlatformRepository”,“type”:“->”,“args”:},{“file”:“/home/credosto/crm.credostores.net/lib/private/App/Platform.php”,“line”:79,“function”:“__construct”,“class”:“OC\App\PlatformRepository”,“type”:“->”,“args”:},{“file”:“/home/credosto/crm.credostores.net/lib/private/App/DependencyAnalyzer.php”,“line”:276,“function”:“getLibraryVersion”,“class”:“OC\App\Platform”,“type”:“->”,“args”:[“ldap”]},{“file”:“/home/credosto/crm.credostores.net/lib/private/App/DependencyAnalyzer.php”,“line”:70,“function”:“analyzeLibraries”,“class”:“OC\App\DependencyAnalyzer”,“type”:“->”,“args”:[[“ldap”,[[“25”,“25”]]]]},{“file”:“/home/credosto/crm.credostores.net/apps/settings/lib/Controller/AppSettingsController.php”,“line”:285,“function”:“analyze”,“class”:“OC\App\DependencyAnalyzer”,“type”:“->”,“args”:[“*** sensitive parameters replaced “,false]},{“function”:“OCA\Settings\Controller\{closure}”,“class”:“OCA\Settings\Controller\AppSettingsController”,“type”:”->“,“args”:[” sensitive parameters replaced ***”]},{“file”:“/home/credosto/crm.credostores.net/apps/settings/lib/Controller/AppSettingsController.php”,“line”:251,“function”:“array_map”,“args”:[{“class”:“Closure”},[[“contactsinteraction”,“Contacts Interaction”,“Manages interaction between users and contacts”,“Collect data about user and contacts interactions and provide an address book for the data”,“1.6.0”,“And 23 more entries, set log level to debug to see all entries”],[“files_rightclick”,“Right click”,“This app allows users and developers to have a right click menu. Simply use the RightClick object to quickly create context menus. The Files app already shows the actions menu when right clicking on files and folders.”,“Right click menu for Nextcloud”,[“agpl”],“And 41 more entries, set log level to debug to see all entries”],[“dashboard”,“Dashboard”,“Start your day informed\n\nThe Nextcloud Dashboard is your starting point of the day, giving you an\noverview of your upcoming appointments, urgent emails, chat messages,\nincoming tickets, latest tweets and much more! Users can add the widgets\nthey like and change the background to their liking.”,“Dashboard app”,[“agpl”],“And 43 more entries, set log level to debug to see all entries”],[“survey_client”,“Usage survey”,“Sends anonymized data to Nextcloud to help us to improve Nextcloud.”,“Sends anonymized data to Nextcloud to help us to improve Nextcloud. You\n\t\talways have full control over the content sent to Nextcloud and can disable\n\t\tit again at any time.”,“1.13.0”,“And 26 more entries, set log level to debug to see all entries”],[“user_ldap”,“LDAP user and group backend”,“This application enables administrators to connect Nextcloud to an LDAP-based user directory.”,“This application enables administrators to connect Nextcloud to an LDAP-based user directory for authentication and provisioning users, groups and user attributes. Admins can configure this application to connect to one or more LDAP directories or Active Directories via an LDAP interface. Attributes such as user quota, email, avatar pictures, group memberships and more can be pulled into Nextcloud from a directory with the appropriate queries and filters.\n\nA user logs into Nextcloud with their LDAP or AD credentials, and is granted access based on an authentication request handled by the LDAP or AD server. Nextcloud does not store LDAP or AD passwords, rather these credentials are used to authenticate a user and then Nextcloud uses a session for the user ID. More information is available in the LDAP User and Group Backend documentation.”,“1.15.0”,“And 26 more entries, set log level to debug to see all entries”],“And 373 more entries, set log level to debug to see all entries”]]},{“file”:“/home/credosto/crm.credostores.net/lib/private/AppFramework/Http/Dispatcher.php”,“line”:225,“function”:“listApps”,“class”:“OCA\Settings\Controller\AppSettingsController”,“type”:“->”,“args”:},{“file”:“/home/credosto/crm.credostores.net/lib/private/AppFramework/Http/Dispatcher.php”,“line”:133,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”,“args”:[{“class”:“OCA\Settings\Controller\AppSettingsController”},“listApps”]},{“file”:“/home/credosto/crm.credostores.net/lib/private/AppFramework/App.php”,“line”:172,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”,“args”:[{“class”:“OCA\Settings\Controller\AppSettingsController”},“listApps”]},{“file”:“/home/credosto/crm.credostores.net/lib/private/Route/Router.php”,“line”:298,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”,“args”:[“OCA\Settings\Controller\AppSettingsController”,“listApps”,{“class”:“OC\AppFramework\DependencyInjection\DIContainer”},[“settings.AppSettings.listApps”]]},{“file”:“/home/credosto/crm.credostores.net/lib/base.php”,“line”:1047,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”,“args”:[“/settings/apps/list”]},{“file”:“/home/credosto/crm.credostores.net/index.php”,“line”:36,“function”:“handleRequest”,“class”:“OC”,“type”:“::”,“args”:}],“File”:“/home/credosto/crm.credostores.net/lib/private/App/PlatformRepository.php”,“Line”:148},“CustomMessage”:“–”},“id”:“6383852fec289”}

any help please

Hei Credooo,

I had the same problem and found the solution here >

Solution:

Change /lib/private/App/PlatformRepository.php line 148

from

public function normalizeVersion(string $version, ?string $fullVersion = null): string {

to

public function normalizeVersion($version, $fullVersion = null) {

Cheers

thank you very much … its worked . thank you my frinde :wink: