This is during setup. I initially did a manual setup and got this error on saving, and now get it if I try the automatic install.
This appears to be resolved in the latest beta
Hi @felixcohen,
Good to know that your problem have been resolved.
Can you please tell us which beta version you used?
And when you had the problem which version you are using?
Hi there, I was using latest release (2.1.7) and issue was fixed with move to 2.1.8 Beta 2.
And the problem is back today. Must be one specific logger call in the code I imagine? I’ll try and look now.
Can’t see anything on a quick inspection, though running composer update in the lib/Google directory gives a lot of new code, it doesn’t fix the issue.
@felixcohen
I am not sure why the LoggerInterface isn’t auto-loading.
We have removed some unnecessary code from the library and only kept the storage API.
We removed them when wrapped the library with our namespace to avoid the conflict with other version of the library from other plugins.
That is odd. I can’t see where in your code the logger is being invoked but it does appear to be something related to the google auth connection setup.
Weirdly, I was able to connect briefly last night but as soon as we changed the wordpress upload directory location the problem began again. Could it be related?
@felixcohen
I don’t think they are related.
Can you make sure this file exist in your install?
This is where the interface exists.
https://github.com/wpCloud/wp-stateless/blob/develop-alim/lib/Google/vendor/psr/log/Psr/Log/LoggerInterface.php
Is there any chance you could hop on a quick chat in skype with me and I can share more details of the set up etc?
Sorry, I think our messages crossed over. That file does exist in our install.
Oh, wait, it’s visible locally but not on the server. Maybe something in our deploy set up
Thanks for your quick responses; this was the solution. My front end developer had ‘logs’ in the gitignore which was matching when the code was checked into our repo. Have removed that and all working again!