We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starting from Nextcloud 26, OCP\AppFramework\Db\Mapper class has been removed, and application would generate following problem:
OCP\AppFramework\Db\Mapper
"exception": { "Exception": "Error", "Message": "Class \"OCP\\AppFramework\\Db\\Mapper\" not found", "Code": 0, "Trace": [ { "file": "/path/to/nextcloud/lib/composer/composer/ClassLoader.php", "line": 578, "function": "include" }, { "file": "/path/to/nextcloud/lib/composer/composer/ClassLoader.php", "line": 432, "function": "Composer\\Autoload\\{closure}", "class": "Composer\\Autoload\\ClassLoader", "type": "::", "args": [ "*** sensitive parameters replaced ***" ] }, { "file": "/path/to/nextcloud/apps/files_reader/lib/Db/BookmarkMapper.php", "line": 18, "function": "loadClass", "class": "Composer\\Autoload\\ClassLoader", "type": "->" }, { "file": "/path/to/nextcloud/lib/composer/composer/ClassLoader.php", "line": 578, "args": [ "/path/to/nextcloud/apps/files_reader/lib/Db/BookmarkMapper.php" ], "function": "include" }, { "file": "/path/to/nextcloud/lib/composer/composer/ClassLoader.php", "line": 432, "function": "Composer\\Autoload\\{closure}", "class": "Composer\\Autoload\\ClassLoader", "type": "::", "args": [ "*** sensitive parameters replaced ***" ] }, { "function": "loadClass", "class": "Composer\\Autoload\\ClassLoader", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 122, "function": "__construct", "class": "ReflectionClass", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 142, "function": "resolve", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php", "line": 493, "function": "query", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php", "line": 465, "function": "queryNoFallback", "class": "OC\\AppFramework\\DependencyInjection\\DIContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 97, "function": "query", "class": "OC\\AppFramework\\DependencyInjection\\DIContainer", "type": "->" }, { "function": "OC\\AppFramework\\Utility\\{closure}", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->", "args": [ "*** sensitive parameters replaced ***" ] }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 116, "function": "array_map" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 124, "function": "buildClass", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 142, "function": "resolve", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php", "line": 493, "function": "query", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php", "line": 465, "function": "queryNoFallback", "class": "OC\\AppFramework\\DependencyInjection\\DIContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 97, "function": "query", "class": "OC\\AppFramework\\DependencyInjection\\DIContainer", "type": "->" }, { "function": "OC\\AppFramework\\Utility\\{closure}", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->", "args": [ "*** sensitive parameters replaced ***" ] }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 116, "function": "array_map" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 124, "function": "buildClass", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 142, "function": "resolve", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php", "line": 493, "function": "query", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php", "line": 465, "function": "queryNoFallback", "class": "OC\\AppFramework\\DependencyInjection\\DIContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/App.php", "line": 162, "function": "query", "class": "OC\\AppFramework\\DependencyInjection\\DIContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/Route/Router.php", "line": 315, "function": "main", "class": "OC\\AppFramework\\App", "type": "::" }, { "file": "/path/to/nextcloud/lib/base.php", "line": 1056, "function": "match", "class": "OC\\Route\\Router", "type": "->" }, { "file": "/path/to/nextcloud/index.php", "line": 36, "function": "handleRequest", "class": "OC", "type": "::" }
The text was updated successfully, but these errors were encountered:
It looks like the replacement is OCP\AppFramework\Db\QBMapper (https://github.com/nextcloud/server/blob/master/lib/public/AppFramework/Db/QBMapper.php).
OCP\AppFramework\Db\QBMapper
Queries would have to be rebuilt to use IQueryBuilder building rather than direct sql.
Sorry, something went wrong.
No branches or pull requests
Starting from Nextcloud 26,
OCP\AppFramework\Db\Mapper
class has been removed, and application would generate following problem:"exception": { "Exception": "Error", "Message": "Class \"OCP\\AppFramework\\Db\\Mapper\" not found", "Code": 0, "Trace": [ { "file": "/path/to/nextcloud/lib/composer/composer/ClassLoader.php", "line": 578, "function": "include" }, { "file": "/path/to/nextcloud/lib/composer/composer/ClassLoader.php", "line": 432, "function": "Composer\\Autoload\\{closure}", "class": "Composer\\Autoload\\ClassLoader", "type": "::", "args": [ "*** sensitive parameters replaced ***" ] }, { "file": "/path/to/nextcloud/apps/files_reader/lib/Db/BookmarkMapper.php", "line": 18, "function": "loadClass", "class": "Composer\\Autoload\\ClassLoader", "type": "->" }, { "file": "/path/to/nextcloud/lib/composer/composer/ClassLoader.php", "line": 578, "args": [ "/path/to/nextcloud/apps/files_reader/lib/Db/BookmarkMapper.php" ], "function": "include" }, { "file": "/path/to/nextcloud/lib/composer/composer/ClassLoader.php", "line": 432, "function": "Composer\\Autoload\\{closure}", "class": "Composer\\Autoload\\ClassLoader", "type": "::", "args": [ "*** sensitive parameters replaced ***" ] }, { "function": "loadClass", "class": "Composer\\Autoload\\ClassLoader", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 122, "function": "__construct", "class": "ReflectionClass", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 142, "function": "resolve", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php", "line": 493, "function": "query", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php", "line": 465, "function": "queryNoFallback", "class": "OC\\AppFramework\\DependencyInjection\\DIContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 97, "function": "query", "class": "OC\\AppFramework\\DependencyInjection\\DIContainer", "type": "->" }, { "function": "OC\\AppFramework\\Utility\\{closure}", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->", "args": [ "*** sensitive parameters replaced ***" ] }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 116, "function": "array_map" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 124, "function": "buildClass", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 142, "function": "resolve", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php", "line": 493, "function": "query", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php", "line": 465, "function": "queryNoFallback", "class": "OC\\AppFramework\\DependencyInjection\\DIContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 97, "function": "query", "class": "OC\\AppFramework\\DependencyInjection\\DIContainer", "type": "->" }, { "function": "OC\\AppFramework\\Utility\\{closure}", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->", "args": [ "*** sensitive parameters replaced ***" ] }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 116, "function": "array_map" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 124, "function": "buildClass", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php", "line": 142, "function": "resolve", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php", "line": 493, "function": "query", "class": "OC\\AppFramework\\Utility\\SimpleContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php", "line": 465, "function": "queryNoFallback", "class": "OC\\AppFramework\\DependencyInjection\\DIContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/AppFramework/App.php", "line": 162, "function": "query", "class": "OC\\AppFramework\\DependencyInjection\\DIContainer", "type": "->" }, { "file": "/path/to/nextcloud/lib/private/Route/Router.php", "line": 315, "function": "main", "class": "OC\\AppFramework\\App", "type": "::" }, { "file": "/path/to/nextcloud/lib/base.php", "line": 1056, "function": "match", "class": "OC\\Route\\Router", "type": "->" }, { "file": "/path/to/nextcloud/index.php", "line": 36, "function": "handleRequest", "class": "OC", "type": "::" }
The text was updated successfully, but these errors were encountered: