-
Notifications
You must be signed in to change notification settings - Fork 637
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
[5.x]: Cannot assign null to property craft\behaviors\RevisionBehavior::$revisionNum of type int #16200
Comments
Hi, thanks for reaching out! Could you please share the full stack trace for this error? |
|
Thanks! I’m not able to replicate this. Any chance you could send your |
For anyone else, this solved it: |
What happened?
Description
When I add a new site or resave/all sections in a site, I get an error in the queue: "Cannot assign null to property craft\behaviors\RevisionBehavior::$revisionNum of type int" on two specific sections:
Have tried running craft gc and resaving but always get this. I can release the job and the cms still works as expected but seems odd that I get this problem.
Craft CMS version
5.5.0.1
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: