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

Array to string conversion yii2-bootstrap/src/Alert #180

Closed
RichWeber opened this issue Nov 15, 2020 · 1 comment
Closed

Array to string conversion yii2-bootstrap/src/Alert #180

RichWeber opened this issue Nov 15, 2020 · 1 comment

Comments

@RichWeber
Copy link

Steps to reproduce the issue

  1. Use method Yii::$app->session->addFlash()
  2. Add few errors

Expected behavior and actual behavior

When I follow those steps, I see:

yii\base\ErrorException: Array to string conversion in /opt/vendor/yiisoft/yii2-bootstrap/src/Alert.php:110

#0 /opt/vendor/yiisoft/yii2-bootstrap/src/Alert.php(110): yii\web\ErrorHandler->handleError()
#1 /opt/vendor/yiisoft/yii2-bootstrap/src/Alert.php(89): yii\bootstrap\Alert->renderBodyEnd()
#2 /opt/vendor/yiisoft/yii2/base/Widget.php(141): yii\bootstrap\Alert->run()
#3 /opt/vendor/kartik-v/yii2-detail-view/src/DetailView.php(915): yii\base\Widget::widget()
#4 /opt/vendor/kartik-v/yii2-detail-view/src/DetailView.php(1221): kartik\detail\DetailView->renderAlertBlock()
#5 /opt/vendor/kartik-v/yii2-detail-view/src/DetailView.php(864): kartik\detail\DetailView->renderPanel()
#6 /opt/vendor/kartik-v/yii2-detail-view/src/DetailView.php(785): kartik\detail\DetailView->runWidget()
#7 /opt/vendor/yiisoft/yii2/base/Widget.php(141): kartik\detail\DetailView->run()

Libraries

  • yii2-detail-view version: 1.8.3
RichWeber added a commit to RichWeber/yii2-detail-view that referenced this issue Nov 15, 2020
@stale
Copy link

stale bot commented Jan 17, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 17, 2021
@stale stale bot closed this as completed Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants