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 8.1 error #428

Closed
phonon112358 opened this issue Aug 12, 2022 · 6 comments
Closed

php 8.1 error #428

phonon112358 opened this issue Aug 12, 2022 · 6 comments

Comments

@phonon112358
Copy link

Hi,

I am using NC 24.0.1 and php 8.1.
I would like to update to 24.0.4. However, the web-based updater gives me an php error message: <br /> <b>Deprecated</b>: Return type of RecursiveDirectoryIteratorWithoutData::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/nextcloud/updater/index.php</b> on line <b>40</b><br /> {"proceed":true}
2022-08-12 at 22-00-52

A very similar issue is nextcloud/server#33295

Is this issue solved already in future versions of the updater? Do I need to edit the updater/index.php file just once?

@VVD
Copy link

VVD commented Aug 14, 2022

In 24.0.4 it isn't fixed.

@phonon112358
Copy link
Author

@VVD How have you updated to NC 24.0.4 ? I haven't achieve this yet...

@solracsf
Copy link
Member

Fixed by #429

@phonon112358
Copy link
Author

I can confirm that #429 solves this issue

@VVD
Copy link

VVD commented Jan 7, 2023

@VVD How have you updated to NC 24.0.4 ? I haven't achieve this yet...

I fixed nextcloud/updater/index.php manually and run updater again.

@phonon112358
Copy link
Author

@VVD How have you updated to NC 24.0.4 ? I haven't achieve this yet...

I fixed nextcloud/updater/index.php manually and run updater again.

yes, in the meantime, I have done that too... ;)

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

No branches or pull requests

3 participants