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

PHP Fatal error: Cannot declare class OCA\Assistant\Migration\Version010003Date20231208083112, because the name is already in use in #87

Open
marcelklehr opened this issue May 14, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@marcelklehr
Copy link
Member

Which version of assistant are you using?

latest

Which version of Nextcloud are you using?

28

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Describe the Bug

When updating the app I get

PHP Fatal error:  Cannot declare class OCA\Assistant\Migration\Version010003Date20231208083112, because the name is already in use in /opt/nextcloud/28.0.0/apps/assistant/lib/Migration/Version010003Date20231208083112.php on line 16

Expected Behavior

No error

To Reproduce

Update app

@marcelklehr marcelklehr added the bug Something isn't working label May 14, 2024
@julien-nc
Copy link
Member

I don't think we are doing anything wrong here. It only happens in your setup. Could you restart php-fpm if you're using it?

@marcelklehr
Copy link
Member Author

Seemed like an autoloader thing, it happened in production on zitsh

@julien-nc
Copy link
Member

julien-nc commented May 14, 2024

"Seemed"? So has the migration step ran eventually?

@marcelklehr
Copy link
Member Author

Idk, nothing seems broken though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants