Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

BoNeMEAL + BanManager 7: Trying to get property 'uuid' of non-object #109

Closed
Sir-Will opened this issue Apr 16, 2020 · 4 comments
Closed

Comments

@Sir-Will
Copy link

Several /admin sites return the Trying to get property 'uuid' of non-object error.
Sites like Active Punishments, All Notes...

Trying to get property 'uuid' of non-object (View: /bans/application/resources/views/admin/activePunishments.blade.php)

php 7.2
BanManager 7.0.4

@oranges13
Copy link
Contributor

Ah yeah, Ban Manager 7 changed the database schema quite a bit and I have not had a chance to look at any of those changes. I know they modified the UUID field for one, which is why you are receiving this error.

Did you recently upgrade BanManager?

@Sir-Will
Copy link
Author

Yes, I also reinstalled bonemeal.

@oranges13
Copy link
Contributor

Reinstalling Bonemeal will not help at this juncture because it does not support the changes made in BanManager 7.

I also don't believe that we can have versions that support both banmanager < 7 and banmanager 7+ due to the schema changes.

At this time you will need to downgrade BanManager (which due to the schema changes probably won't be possible) or not use BoneMEal until it is upgraded, pending the rewrite.

@oranges13 oranges13 added wontfix and removed bug labels Apr 16, 2020
@oranges13 oranges13 changed the title Trying to get property 'uuid' of non-object BoNeMEAL + BanManager 7: Trying to get property 'uuid' of non-object Apr 16, 2020
@oranges13
Copy link
Contributor

Hey @Sir-Will

I had a chance to test this with my current installation of bonemeal as-is and our server that just upgraded to Ban Manager 7.1.

I cannot replicate the issue that you're describing. Any chance that you have more detailed debug logs to help?

oranges13 added a commit that referenced this issue Jun 22, 2020
Fixes #110

Display 'unset' for UUID on Player model if null

Fixes #109
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants