You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.
I did a composer update and an error occured after that:
Fatal error: Uncaught exception 'Zend\Stdlib\Exception\BadMethodCallException' with message 'The option "accept-whitelist" does not have a callable "setAccept-whitelist" ("setaccept-whitelist") setter method which must be defined' in /var/www/engine/canarium-appmaster/forms/vendor/zendframework/zendframework/library/Zend/ServiceManager/ServiceManager.php on line 946
( ! ) Zend\Stdlib\Exception\BadMethodCallException: The option "accept-whitelist" does not have a callable "setAccept-whitelist" ("setaccept-whitelist") setter method which must be defined in /var/www/engine/canarium-appmaster/forms/vendor/zendframework/zendframework/library/Zend/Stdlib/AbstractOptions.php on line 110
I checked the source and it seems that the accept-whitelist is causing it in config/admin.config.php. The zf-content-negotiation is expecting an underscore as a separator so changing it to accept_whitelist solves the problem.
Maybe a recent update on dependent packages is also causing this since it was working fine before the update.
Thanks
The text was updated successfully, but these errors were encountered:
zf-content-negotiation versions 1.0.9 and 1.1.1 now allow the dash-separated configuration keys. One thing to note: prior to the change that introduces the above exception, dash-separated keys were silently ignored. The patch in zf-content-negotiation now recognizes them. The appropriate fix is for this module to use correct keys, however.
I did a composer update and an error occured after that:
I checked the source and it seems that the accept-whitelist is causing it in config/admin.config.php. The zf-content-negotiation is expecting an underscore as a separator so changing it to accept_whitelist solves the problem.
Maybe a recent update on dependent packages is also causing this since it was working fine before the update.
Thanks
The text was updated successfully, but these errors were encountered: