-
Notifications
You must be signed in to change notification settings - Fork 87
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
Cannot use OCP\Constants as Constants because the name is already in use #1854
Comments
Looks like a rebasing went wrong. Temporary fix is too delete the line 35 in the file. I will submit a PR tomorrow morning. |
copy that thank you! |
Bugs like these happen easily, but they should never pass the CI. We really should try to make sure that the CI is able to catch stuff like that in some way. |
#1829 would have probably caught it but it's only on master since it's an invasive change. Only 23 and 22 are affected, 21 and master aren't |
same to me .. did open a case .. but saw later, case is already open (will close other one) Actual behaviour (may be a bad idea). After automatic install of "groupfolders new version available: 10.0.1" PHP reports FATAL ERROR. PHP Fatal error: Cannot use OCP\Constants as Constants because the name is already in use in /var/www/html/nextcloud/apps/groupfolders/lib/Command/ACL.php on line 35 none of the '/var/www/html/nextcloud/occ' commands is working anymore. Steps to reproduce Expected behaviour Client configuration detailsna Server configuration details |
This is now fixed and @juliushaertl released new versions with the fix. |
is it fixed in all versions? |
Server configuration
Operating system:
Ubuntu 20.4
Web server:
Apache2
Database:
MariaDB 10.5.13
PHP version:
8.0.14
Nextcloud version: (see Nextcloud admin page)
23.0.0
Group folders version:
11.1.1
Updated from an older Nextcloud/ownCloud or fresh install:
NC 22
Where did you install Nextcloud from:
Nextcloud
Are you using external storage, if yes which one: local/s3/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/Saml/...
Client configuration
Browser:
Operating system:
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
The text was updated successfully, but these errors were encountered: