Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After upgrading to Laravel 10, attempts to access attributes on a macsidigital/laravel-zoom Meeting throw undefined method exception for preventsAccessingMissingAttributes() - This is due the Macsi version of HasAttributes including the Laravel HasAttributes trait, which assumes this method exists when checking 'model' attribute access.
e.g.
[2025-11-13 11:19:25] local.ERROR: Call to undefined method MacsiDigital\Zoom\Meeting::preventsAccessingMissingAttributes() {"userId":4,"exception":"[object] (BadMethodCallException(code: 0): Call to un
defined method MacsiDigital\Zoom\Meeting::preventsAccessingMissingAttributes() at /var/www/html/vendor/macsidigital/laravel-api-client/src/Traits/ForwardsCalls.php:50)
Somewhere between Laravel 8 and 10, they have added static calls to preventsAccessingMissingAttributes whenever accessing an attribute (in my case $meeting->start_time). Laravel 10 implements this method in the abstract Eloquent/Model class but anything which implements the HasAttributes trait has an implicit dependency on this method being defined :-(
In this PR I've just copied the approach in Eloquent's Model Class and can confirm that it fixes the issue on my site.