Skip to content
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

Fatal Error if credentials missing or wrong #18

Open
freesh opened this issue Nov 11, 2022 · 0 comments
Open

Fatal Error if credentials missing or wrong #18

freesh opened this issue Nov 11, 2022 · 0 comments
Assignees

Comments

@freesh
Copy link

freesh commented Nov 11, 2022

Package version: 3.1.3
Neos Version: 8.0.4

If my credentials are wrong i get a fatal error:

PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /...../Data/Temporary/Development/SubContextDocker/Cache/Code/Flow_Object_Classes/KaufmannDigital_CleverReach_Domain_Service_CleverReachApiService.php:371

I think this Line:
$errorMessage = isset($decodedResponse['error']) ? $decodedResponse['error']['message'] : 'No error message given';

should be:
$errorMessage = isset($decodedResponse['error']) ? $decodedResponse['error'] : 'No error message given';

@Nikdro Nikdro self-assigned this Apr 11, 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

No branches or pull requests

2 participants