-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Symfony\Component\EventDispatcher\GenericEvent::getArgument()
must be of the type string, int given
#1770
Comments
Symfony\Component\EventDispatcher\GenericEvent::getArgument()
must be of the type string, int given
Still happens on 22.2.5. And temporarily solved with the same workaround. |
Still happens on 22.2.6 and we know what happens next. |
This is because the bookmarks app brings If you don't need development dependencies, you can use For Bookmarks devs: |
composer install --no-dev is used by default in Makefile and the latest release does not come with either symfony/console nor symfony/event-dispatcher. |
I just applied the fix of the OP to an upgrade from 24.0.2 to 24.0.3. |
I had to use this fix to upgrade from 23.0.7 to 24.0.3 |
Please refrain from commenting here, as this turned out not to be a bookmarks app issue. |
If this is still an issue, please open a new issue on the server repository. The issue occurs when an app depends on a dependency of Symfony's event dispatcher that is too new. The responsible app can be inferred from the stack trace of the error, usually. |
How to use GitHub
Steps to reproduce
php -f updater/updater.phar
php occ upgrade
Another attempt of upgrading:
php -f updater/updater.phar
php occ upgrade
Yet another attempt of upgrading:
php -f updater/updater.phar
php occ upgrade
Expected behaviour
Upgrading and migration work without errors.
Actual behaviour
PHP type error.
Server configuration
Operating system:
postmarketOS 21.06 / Alpine 3.14
postmarketOS 21.12 / Alpine 3.15
Web server:
nginx
Database:
mariadb
PHP version:
php 7.4.25
php 7.4.27
php 7.4.28
Nextcloud version: (see Nextcloud admin page)
22.2.2.0 -> 22.2.3.0
22.2.3.0 -> 22.2.5.1
22.2.5.1 -> 22.2.6.2
Updated from an older Nextcloud/ownCloud or fresh install:
Updated from 22.2.2.0 to 22.2.3.0
Updated from 22.2.3.0 to 22.2.5.1
Updated from 22.2.5.1 to 22.2.6.2
Where did you install Nextcloud from:
Official archive /
php -f updater/updater.php
Signing status:
(Unavailable)
List of activated apps:
(Skipped)
Nextcloud configuration:
(Skipped)
Are you using external storage, if yes which one: No
Are you using encryption: No
Are you using an external user-backend, if yes which one: No
PHP outputs
Browser log
The text was updated successfully, but these errors were encountered: