-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: TypeError: OCP\AppFramework\Db\QBMapper::delete(): Argument #1 ($entity) must be of type OCP\AppFramework\Db\Entity, null given #37407
Comments
Cc @artonge |
The following new code line 615 is the cause: |
Is there a workaround or fix already? |
same thing with NC 26 on FreeBSD, php 8.2 |
Deleting all versions (php occ versions:cleanup) and deactivating the versions app stopped the errors at least for now. 💁🏻♂️ |
Same issue running NC 26.0.1 on Ubuntu, PHP 8.1, MySQL 10.3.38
Error when running it via occ versions:expire
|
same error. |
Le 24/04/2023 à 17:46, vanoc a écrit :
same error.
Centos 8, PHP 8.1.18
—
Reply to this email directly, view it on GitHub
<#37407 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACM6LRZEDCMWASMSB2RNCBTXC2N4XANCNFSM6AAAAAAWIBNJSU>.
You are receiving this because you are subscribed to this
thread.Message ID: ***@***.***>
Error is still here in Nextcloud 26.0.1
|
Made upgrade to v26 (php 8.1.2 - ubuntu 22 ) yesterday. Got the same error message within 12 hours. |
@artonge Any development? Could you please post a status and an timeline? Thank you. |
Fix released at #38125 |
@solracsf $versionEntity = $versionEntities[$version->getId()]; instead of 2 every 12 hours I get 16 now. |
The undefined array key is a duplicate of nextcloud/groupfolders#2343 |
@BJKle @AndyXheli can you replace :
with
And see if helps? |
Thanks. But I’ll just wait for the official version. |
Did you know that an official version will come out only if someone (like me) reproduces the bug and helps fix it? |
@solracsf I can give it a test what file would you like me to change ? |
After aplying #38125 |
Final code is:
|
Thank you! I'll give it a try and keep you posted. |
@solracsf Looks good on my server. Before the change After apply the patches ran an occ with no issues Also i did see the
in error logs. After applying it seems to be gone. |
I applied it, after a few days : it works!
|
Thanks for your feedback. Patch at #38224 |
Bug description
In my error log I can find the following errors every 12 hours since updating to NC 26 and PHP 8.2:
Steps to reproduce
don't know
Expected behavior
no error
Installation method
Community Manual installation with Archive
Operating system
Debian/Ubuntu
PHP engine version
Other
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: