Skip to content
New issue

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

Could not load notes #58

Closed
Valdnet opened this issue Mar 19, 2021 · 9 comments
Closed

Could not load notes #58

Valdnet opened this issue Mar 19, 2021 · 9 comments

Comments

@Valdnet
Copy link

Valdnet commented Mar 19, 2021

After upgrading to 0.64 and 0.6.5, the following message appears: "Could not load notes".

obraz

Logs:

[index] Error: OCP\AppFramework\QueryException: Could not resolve noteService! Class noteService does not exist at <<closure>>

 0. /home/xxx/public_html/xxx/lib/private/AppFramework/Utility/SimpleContainer.php line 126
    OC\AppFramework\Utility\SimpleContainer->resolve("noteService")
 1. /home/xxx/public_html/xxx/lib/private/ServerContainer.php line 156
    OC\AppFramework\Utility\SimpleContainer->query("noteService", true)
 2. /home/xxx/public_html/xxx/lib/private/AppFramework/DependencyInjection/DIContainer.php line 430
    OC\ServerContainer->query("noteService", true)
 3. /home/xxx/public_html/xxx/lib/private/AppFramework/Utility/SimpleContainer.php line 96
    OC\AppFramework\DependencyInjection\DIContainer->query("noteService")
 4. <<closure>>
    OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
 5. /home/xxx/public_html/xxx/lib/private/AppFramework/Utility/SimpleContainer.php line 101
    array_map(Closure {}, [ReflectionParam ... }])
 6. /home/xxx/public_html/xxx/lib/private/AppFramework/Utility/SimpleContainer.php line 109
    OC\AppFramework\Utility\SimpleContainer->buildClass(ReflectionClass  ... "})
 7. /home/xxx/public_html/xxx/lib/private/AppFramework/Utility/SimpleContainer.php line 126
    OC\AppFramework\Utility\SimpleContainer->resolve("OCA\\QuickNotes ... r")
 8. /home/xxx/public_html/xxx/lib/private/AppFramework/DependencyInjection/DIContainer.php line 455
    OC\AppFramework\Utility\SimpleContainer->query("OCA\\QuickNotes ... r")
 9. /home/xxx/public_html/xxx/lib/private/AppFramework/DependencyInjection/DIContainer.php line 427
    OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("OCA\\QuickNotes ... r")
10. /home/xxx/public_html/xxx/lib/private/AppFramework/App.php line 139
    OC\AppFramework\DependencyInjection\DIContainer->query("OCA\\QuickNotes ... r")
11. /home/xxx/public_html/xxx/lib/private/Route/Router.php line 309
    OC\AppFramework\App::main("OCA\\QuickNotes ... r", "index", OC\AppFramework\ ... {}, {_route: "quicknotes.note.index"})
12. /home/xxx/public_html/xxx/lib/base.php line 1008
    OC\Route\Router->match("/apps/quicknotes/notes")
13. /home/xxx/public_html/xxx/index.php line 37
    OC::handleRequest()

GET /index.php/apps/quicknotes/notes

App:
Nextcloud: 20.0.8
Quick notes: 0.6.4 and 0.6.5

Server:
PHP: 7.3.25
mysql: 5.7.30

@matiasdelellis
Copy link
Owner

Hi @Valdnet
Basically, it seems I made changes incompatible with NC20.. 😞

Sorry.. Please test v0.6.6.. 😞

@hveuillet
Copy link

It works now for me, thanks

@Valdnet
Copy link
Author

Valdnet commented Mar 19, 2021

@matiasdelellis Version 0.6.6 works fine on NC 20. Thanks.

@Valdnet Valdnet closed this as completed Mar 19, 2021
@Valdnet Valdnet reopened this Mar 25, 2021
@Valdnet
Copy link
Author

Valdnet commented Mar 25, 2021

@matiasdelellis On the new version 0.7.0 in NC 21 another problem with loading notes.

Logs:

[index] Error: ParseError: syntax error, unexpected 'SettingsService' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) at <<closure>>

 0. /home/xxx/public_html/xxx/lib/composer/composer/ClassLoader.php line 344
    Composer\Autoload\includeFile("/home/xxx/publi ... p")
 1. <<closure>>
    Composer\Autoload\ClassLoader->loadClass("OCA\\QuickNotes\\Service\\FileService")
 2. <<closure>>
    spl_autoload_call("OCA\\QuickNotes\\Service\\FileService")
 3. /home/xxx/public_html/xxx/lib/private/AppFramework/Utility/SimpleContainer.php line 107
    ReflectionClass->__construct("OCA\\QuickNotes\\Service\\FileService")
 4. /home/xxx/public_html/xxx/lib/private/AppFramework/Utility/SimpleContainer.php line 126
    OC\AppFramework\Utility\SimpleContainer->resolve("OCA\\QuickNotes\\Service\\FileService")
 5. /home/xxx/public_html/xxx/lib/private/AppFramework/DependencyInjection/DIContainer.php line 459
    OC\AppFramework\Utility\SimpleContainer->query("OCA\\QuickNotes\\Service\\FileService")
 6. /home/xxx/public_html/xxx/lib/private/AppFramework/DependencyInjection/DIContainer.php line 431
    OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("OCA\\QuickNotes\\Service\\FileService")
 7. /home/xxx/public_html/xxx/lib/private/AppFramework/Utility/SimpleContainer.php line 87
    OC\AppFramework\DependencyInjection\DIContainer->query("OCA\\QuickNotes\\Service\\FileService", true)
 8. <<closure>>
    OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
 9. /home/xxx/public_html/xxx/lib/private/AppFramework/Utility/SimpleContainer.php line 101
    array_map(Closure {}, [ReflectionParam ... }])
10. /home/xxx/public_html/xxx/lib/private/AppFramework/Utility/SimpleContainer.php line 109
    OC\AppFramework\Utility\SimpleContainer->buildClass(ReflectionClass  ... "})
11. /home/xxx/public_html/xxx/lib/private/AppFramework/Utility/SimpleContainer.php line 126
    OC\AppFramework\Utility\SimpleContainer->resolve("OCA\\QuickNotes\\Service\\NoteService")
12. /home/xxx/public_html/xxx/lib/private/AppFramework/DependencyInjection/DIContainer.php line 459
    OC\AppFramework\Utility\SimpleContainer->query("OCA\\QuickNotes\\Service\\NoteService")
13. /home/xxx/public_html/xxx/lib/private/AppFramework/DependencyInjection/DIContainer.php line 431
    OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("OCA\\QuickNotes\\Service\\NoteService")
14. /home/xxx/public_html/xxx/lib/private/AppFramework/Utility/SimpleContainer.php line 87
    OC\AppFramework\DependencyInjection\DIContainer->query("OCA\\QuickNotes\\Service\\NoteService", true)
15. <<closure>>
    OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
16. /home/xxx/public_html/xxx/lib/private/AppFramework/Utility/SimpleContainer.php line 101
    array_map(Closure {}, [ReflectionParam ... }])
17. /home/xxx/public_html/xxx/lib/private/AppFramework/Utility/SimpleContainer.php line 109
    OC\AppFramework\Utility\SimpleContainer->buildClass(ReflectionClass  ... "})
18. /home/xxx/public_html/xxx/lib/private/AppFramework/Utility/SimpleContainer.php line 126
    OC\AppFramework\Utility\SimpleContainer->resolve("OCA\\QuickNotes ... r")
19. /home/xxx/public_html/xxx/lib/private/AppFramework/DependencyInjection/DIContainer.php line 459
    OC\AppFramework\Utility\SimpleContainer->query("OCA\\QuickNotes ... r")
20. /home/xxx/public_html/xxx/lib/private/AppFramework/DependencyInjection/DIContainer.php line 431
    OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("OCA\\QuickNotes ... r")
21. /home/xxx/public_html/xxx/lib/private/AppFramework/App.php line 144
    OC\AppFramework\DependencyInjection\DIContainer->query("OCA\\QuickNotes ... r")
22. /home/xxx/public_html/xxx/lib/private/Route/Router.php line 302
    OC\AppFramework\App::main("OCA\\QuickNotes ... r", "index", OC\AppFramework\ ... {}, {_route: "quicknotes.note.index"})
23. /home/xxx/public_html/xxx/lib/base.php line 993
    OC\Route\Router->match("/apps/quicknotes/notes")
24. /home/xxx/public_html/xxx/index.php line 37
    OC::handleRequest()

GET /index.php/apps/quicknotes/notes

App:
Nextcloud: 21.0.0
Quick notes: 0.7.0

Server:
PHP: 7.3.25
mysql: 5.7.30

@Valdnet Valdnet changed the title [0.6.5] Could not load notes Could not load notes Mar 25, 2021
@matiasdelellis
Copy link
Owner

Wtf?This already has me frustrated. 😞

@matiasdelellis
Copy link
Owner

Hi @Valdnet
You can temporarily share me an account as an administrator to mati86dl at gmail . com? The administrator requeriments is just to see the logs, of course I promise you responsibility. 🤔

@Valdnet
Copy link
Author

Valdnet commented Mar 26, 2021

@matiasdelellis Data sent 😉.

@matiasdelellis
Copy link
Owner

Hi @Valdnet
I just released 0.7.1 with the changes we discussed in private.. Test.. 😃

@Valdnet
Copy link
Author

Valdnet commented Mar 26, 2021

@matiasdelellis Version 0.7.1 works fine. Thanks for solving the problem and for the quick release of the new version 🥇.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants