-
-
Notifications
You must be signed in to change notification settings - Fork 811
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] notices in frontend on first pageview after cache clear #5084
Comments
I cannot reproduce this. Can you, @jadwigo ? |
I have some additional info on this.. If I do Where it seemingly goes wrong, is that the @rossriley: Is this something you could look into? |
Digging deeper, if I do this in
I get this:
Seems like that's where the issue is coming from. |
Ok, i'm stumped! |
OK. I know what this one is. Fixed the same problem with the repeaters. PR incoming. |
Fixed by #5128 |
When you clear the cache (after a code change / update to bolt) and you have a configuration that has relations between content types you will get a list of notices at the first page refresh after you have cleared the cache. (There must obviously be some records in the database that have relations set)
The notices will be gone after the first pageview.
It happens in the front-end on any page. Notices look like:
"Notice: Undefined index: fromcontenttype in [..]/vendor/bolt/src/Storage/Field/Type/IncomingRelationType.php on line 68"
The notices repeat a few times, and after that the page is rendered normally underneath.
Details
The text was updated successfully, but these errors were encountered: