Skip to content

Conversation

@Liamb17
Copy link
Contributor

@Liamb17 Liamb17 commented Dec 28, 2024

I’ve discovered an error when using CakePHP 5 and using elastic search

This results in the below error:
Fatal Error: Uncaught Error: Call to undefined method Elastica\Client::getLogger() in /vendor/lordsimal/cakephp-sentry/src/Http/SentryClient.php:62

This pull request ensures that it checks the Driver is actually a Driver before it tries to access this which is the same way CakePHP itself is doing.

@LordSimal
Copy link
Owner

Thanks, I will fix stan after this is merged

@LordSimal LordSimal merged commit ecdbd4b into LordSimal:3.x Dec 29, 2024
7 of 8 checks passed
@LordSimal LordSimal mentioned this pull request Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants