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

fix Call to undefined method OC\Server::getEventDispatcher() #11

Merged
merged 1 commit into from
May 15, 2024

Conversation

Fuseteam
Copy link
Contributor

@Fuseteam Fuseteam commented Apr 6, 2024

fixes #9

This was referenced Apr 6, 2024
Copy link

@reinduhr reinduhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This edit gets OCCWeb working again on Nextcloud Hub 7, 28.0.4.

Copy link

@norahqueen norahqueen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes occweb on version 28

@Ralf99
Copy link

Ralf99 commented May 13, 2024

I can confirm, this fixes also occweb on Hub 8 (Version 29.0.0)

@Fuseteam
Copy link
Contributor Author

@Adphi got quite a few confirmations here :D

@Adphi Adphi merged commit 50e2b4b into Adphi:main May 15, 2024
@Adphi
Copy link
Owner

Adphi commented May 15, 2024

closes #10

@Fuseteam
Copy link
Contributor Author

thanks ❤️

@Fuseteam Fuseteam deleted the patch-1 branch May 15, 2024 17:25
@Flashbert
Copy link

Crashes now for 27 (my version: Nextcloud 27.1.9)
see also #12

Would it be enough to set the min version of this release to 28?

TypeError: OC\Console\Application::__construct(): Argument #2 ($dispatcher) must be of type Symfony\Component\EventDispatcher\EventDispatcherInterface, OC\EventDispatcher\EventDispatcher given, called in /var/www/html/nextcloud/apps/occweb/lib/Controller/OccController.php on line 38

@Adphi
Copy link
Owner

Adphi commented May 16, 2024

I created two new versions:

  • v0.2.0 for Nextcloud >= 28 which is the same as v0.1.2
  • v0.1.3 for Nextcloud < 28 which is the same as v0.1.1

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

Successfully merging this pull request may close these issues.

internal server error
6 participants