Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix caching error on Profile loading #7978

Merged

Conversation

jdarwood007
Copy link
Member

To reproduce this

  1. Set Caching to level 3
  2. Load the board index

Warning: Trying to access array offset on value of type bool in /Sources/User.php on line 5372
Warning: Undefined array key "" in /Sources/User.php on line 5372

This is because $data is not set, which also causes a null compare.

To reproduce this
1. Set Caching to level 3
2. Load the board index

Warning: Trying to access array offset on value of type bool in /Sources/User.php on line 5372
Warning: Undefined array key "" in /Sources/User.php on line 5372

This is because $data is not set, which also causes a null compare.
@jdarwood007 jdarwood007 added this to the 3.0 Alpha 1 milestone Dec 28, 2023
@Sesquipedalian Sesquipedalian merged commit dac98da into SimpleMachines:release-3.0 Dec 29, 2023
3 checks passed
@jdarwood007 jdarwood007 deleted the profileCacheBug branch December 29, 2023 05:01
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants