-
Notifications
You must be signed in to change notification settings - Fork 22
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
Array to string conversion on PHP 5.6.x #6
Comments
Hi, Thanks for raising. Sounds like you aren't running shipperhq/module-logger. This is now a dependency for ShipperHQ, it should install automatically when using composer installation. If you can update via composer it should install the logger and error should be resolved. Please let me know if you still see the error. |
Hey @wsagen! The shipperhq/module-logger is installed. But check ShipperHQ\Shipper\Helper\LogAssist.
The way the logger is invoked does not comply with Psr/LoggerInterface. String value is expected as a first (message) argument while array is passed. |
This is now resolved in release version 20.0.6 |
SHQ16-992 implement config switch for caching rates
Logger helper is causing error that array is converted to string
example:
$this->logger->debug(array($module, $message,$data),$context);
The text was updated successfully, but these errors were encountered: