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
When this type of bootstrap is used the application will spit out 'Array to String conversion' errors.
In order to fix this you can change a single line of code found in Bootstrap.php lines 28 to 32.
if ($moduleName) {
// The module was added in the configuration, make sure to add it to the application bootstrap so it gets loaded$app->bootstrap[] = $moduleName;
$app->bootstrap = array_unique($app->bootstrap, SORT_REGULAR);
}
Hey There,
as reviewing your extension I came across some bugs. One of them being the bootstrap bug.
Yii2 allows multidimensional arrays to be put into the application's bootstrap (see http://www.yiiframework.com/doc-2.0/yii-filters-contentnegotiator.html)
When this type of bootstrap is used the application will spit out 'Array to String conversion' errors.
In order to fix this you can change a single line of code found in Bootstrap.php lines 28 to 32.
(original:
yii2-audit/src/Bootstrap.php
Line 31 in a845ba3
Hope this helps anyone 👍
The text was updated successfully, but these errors were encountered: