Open saintfrater opened 2 years ago
I've Founded the root cause:
For some file have namespace wrongly set:
namespace OCA\Grauphel\Lib\Response;
should be:
namespace OCA\Grauphel\Response;
I've found source 2 file with wrong namespace :
Kindly check latest git
Kindly check latest git
What's the easiest way to deploy the git version in Nextcloud to test?
Hello,
since NC update I cannot register TomBoy (or other) client.
apache-error.log:
[Thu Jun 23 17:11:19.027925 2022] [php7:error] [pid 242422] [client xxxx:xxxx:xxxx:xxxx::xxxx:xxxxx] PHP Fatal error: Declaration of OCA\\Grauphel\\Search\\Provider::search(OCA\\Grauphel\\Search\\OCP\\IUser $user, OCA\\Grauphel\\Search\\OCP\\Search\\ISearchQuery $query) must be compatible with OCP\\Search\\IProvider::search(OCP\\IUser $user, OCP\\Search\\ISearchQuery $query): OCP\\Search\\SearchResult in /home/httpd/nox-rhea.org/clouds/apps/grauphel/lib/Search/Provider.php on line 44
(probably not releated)Getting also error 500 in apache log:
xxxx:xxxx:xxxx:xxxx::xxxx:xxxxx - - [23/Jun/2022:21:15:36 +0200] "POST /apps/grauphel/oauth/request_token HTTP/1.1" 500 5511 "-" "-"
I got this error (500) also in the Tomboy client's log.
NextCloud's Log:
{"reqId":"VHZFqeHuF3f7OZO3Ido1","level":3,"time":"2022-06-23T21:15:36+02:00","remoteAddr":"xxxx:xxxx:xxxx:xxxx::xxxx:xxxxx","user":"--","app":"index","method":"POST","url":"/apps/grauphel/oauth/request_token","message":"Class 'OCA\\Grauphel\\Response\\FormResponse' not found in file '/home/httpd/nox-rhea.org/clouds/apps/grauphel/lib/Controller/OauthController.php' line 274","userAgent":"--","version":"24.0.2.1","exception":{"Exception":"Exception","Message":"Class 'OCA\\Grauphel\\Response\\FormResponse' not found in file '/home/httpd/nox-rhea.org/clouds/apps/grauphel/lib/Controller/OauthController.php' line 274","Code":0,"Trace":[{"file":"/home/httpd/nox-rhea.org/clouds/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/httpd/nox-rhea.org/clouds/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/home/httpd/nox-rhea.org/clouds/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/httpd/nox-rhea.org/clouds/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/httpd/nox-rhea.org/clouds/lib/private/AppFramework/Http/Dispatcher.php","Line":165,"Previous":{"Exception":"Error","Message":"Class 'OCA\\Grauphel\\Response\\FormResponse' not found","Code":0,"Trace":[{"file":"/home/httpd/nox-rhea.org/clouds/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"requestToken","class":"OCA\\Grauphel\\Controller\\OauthController","type":"->"},{"file":"/home/httpd/nox-rhea.org/clouds/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/httpd/nox-rhea.org/clouds/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/httpd/nox-rhea.org/clouds/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/home/httpd/nox-rhea.org/clouds/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/httpd/nox-rhea.org/clouds/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/httpd/nox-rhea.org/clouds/apps/grauphel/lib/Controller/OauthController.php","Line":274},"CustomMessage":"--"}}
NextCloud version: 24.0.2Grauphel version : 1.0.13
PHP version: 7.4.28
From now I cannot register new TomBoy notes.