Error: Class OCA\OCCWeb\Controller\OccOutput contains 1 abstract method and must therefore be declared abstract or implement the remaining methods #11
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: adphi/occweb#11
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Not sure since when but at least since last update I cannot use OCC web any more. Still on 17.0.2
Log says:
{"reqId":"7QfQXYlHsMBYyOHKxajt","level":3,"time":"2020-01-30T15:17:05+00:00","remoteAddr":"80.149.176.5","user":"xxxxxx","app":"PHP","method":"GET","url":"/index.php/apps/occweb/","message":"Class OCA\OCCWeb\Controller\OccOutput contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Symfony\Component\Console\Output\ConsoleOutputInterface::section) at /nextcloudpath/apps/occweb/lib/Controller/OccOutput.php#14","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0","version":"17.0.2.1","id":"5e32f398bc3f7"}
I am working on it. What php version are you using?
Great ...
php 7.2: not working (white screen) see error message above in log
php 7.3: not working (white screen) see error message above in log
php 7.4: "This version of Nextcloud is not compatible with > PHP 7.3."
now on Nextcloud 17.0.3
Please try v0.0.7rc1 pre-release and tell me if it fix the issue.
I did ... unless you changed something again ...
Error: Class OCA\OCCWeb\Controller\OccOutput contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Symfony\Component\Console\Output\ConsoleOutputInterface::section) at pathtonextcloud/nextcloud/apps/occweb/lib/Controller/OccOutput.php#14
Sorry ...
I'll draw another copy again ...
No it's not the same.
I tried again ... no change.
It would make things easier if 0.0.7 was always the same. Is it like that? I do not care if it gets 0.0.99 but it is not a good idea to publish different software with the same index. Maybe I had chosen a bad time to draw a copy but I had just seen that you closed the issue, downloaded the files and moved them to my nextcloud. It said 0.0.7.
Anyways - I did it again and had the same result ... sorry
I cannot reproduce it.
The message cannot be the same, as the code changed and at least the line number cannot be correct.
What the message said:
ConsoleOutputInterface::section
should be implemented, it is done.Don't know why that was different yesterday but:
I downloaded the whole package again, deleted what was on the server and moved the new package there:
now I get an internal server error (nicely formatted in Nextcloud style)
and in the log:
[index] Error: OCP\AppFramework\QueryException: Could not resolve OCA\OCCWeb\Controller\OccController! Class OCA\OCCWeb\Controller\OccController does not exist at <>
OC\AppFramework\Utility\SimpleContainer->resolve("OCA\OCCWeb\Controller\OccController")
OC\AppFramework\Utility\SimpleContainer->query("OCA\OCCWeb\Controller\OccController")
OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("OCA\OCCWeb\Controller\OccController")
OC\AppFramework\DependencyInjection\DIContainer->query("OCA\OCCWeb\Controller\OccController")
OC\AppFramework\App::main("OCA\OCCWeb\Controller\OccController", "index", OC\AppFramework\ ... {}, {_route: "occweb.occ.index"})
OC\AppFramework\Routing\RouteActionHandler->__invoke({_route: "occweb.occ.index"})
undefinedundefinedcall_user_func(OC\AppFramework\ ... {}, {_route: "occweb.occ.index"})
OC\Route\Router->match("/apps/occweb/")
OC::handleRequest()
GET /index.php/apps/occweb/
from 37.201.6.5 by username at 2020-01-31T05:46:14+00:00
to make sure it is not the php version I also checked 7.2 and 7.3. The result is the same
I tried your latest as well.
Got the same message.
Internal Server Error
The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.
More details can be found in the server log.
Technical details
Remote Address: 192.168.1.29
Request ID: tDLuocVjt0m0EXHou3l9
0.0.6 worked fine, but 0.0.7 is outputting Internal Server Error
https://imgur.com/a/XPpZ8uy
@heinral I am working on understanding this issue (#13).
I just removed the failing release.
Uninstall occweb from the nextcloud apps settings and reinstall v0.0.6.
I am on 0.0.6 and am getting this error message:
[PHP] Error: Class OCA\OCCWeb\Controller\OccOutput contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Symfony\Component\Console\Output\ConsoleOutputInterface::section) at /home/gqatawtz/public_html/apps/occweb/lib/Controller/OccOutput.php#14
GET /index.php/apps/occweb/
from 92.13.173.86 by rich at 2020-02-01T07:47:28+00:00
I can't upgrade to pre-release. I am on a hosted server and cannot access a terminal.
Thanks
Weirdly after rebooting the VPS (Time4VPS - Storage VPS, OpenVZ6 Linux kernel version – 2.6.32.x, if that matters), the version 0.0.6 stopped working and outputting
is currently unable to handle this request. HTTP ERROR 500
Log is showing
Class OCA\OCCWeb\Controller\OccOutput contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Symfony\Component\Console\Output\ConsoleOutputInterface::section) at /var/www/apps/occweb/lib/Controller/OccOutput.php#14.
PHP 7.3.14 (cli) (built: Jan 21 2020 09:59:50) ( NTS )
Server version: 10.4.12-MariaDB MariaDB Server
CentOS Linux release 7.7.1908 (Core)
kernel 2.6.32-042stab141.3
Nextcloud 17.0.3 / Default encryption module + End-to-End Encryption app
OCC 0.0.6
Also, thank you adphi for taking your time to look into it, I really appreciate your help :)
Everything should be fixed by v0.0.7
Yes ... working - both with PHP 7.2 and PHP 7.3
THANKS a lot!
SCNR: don't want to bug you, but why on earth did you not just call that new version v0.0.8 - this way you will surely find yourself sometime in discussions like old 0.0.7 and new 0.0.7 ...
Confirmed, updated and it's working!
Thank you Adphi! <3
Confirmed and working. Huge thanks Adphi. It is a brilliant app.