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

Setting unknown property: kartik\widgets\DatePicker::_container #130

Closed
140toesandfingers opened this issue Apr 24, 2018 · 2 comments
Closed

Comments

@140toesandfingers
Copy link

140toesandfingers commented Apr 24, 2018

PHP 7.1.

yii\base\UnknownPropertyException: Setting unknown property: kartik\widgets\DatePicker::_container in /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/base/Component.php:209
Stack trace:
#0 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/BaseYii.php(546): yii\base\Component->__set('_container', Array)
#1 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/base/BaseObject.php(107): yii\BaseYii::configure(Object(kartik\widgets\DatePicker), Array)
#2 [internal function]: yii\base\BaseObject->__construct(Array)
#3 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/di/Container.php(383): ReflectionClass->newInstanceArgs(Array)
#4 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('kartik\widgets\...', Array, Array)
#5 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/BaseYii.php(349): yii\di\Container->get('kartik\widgets\...', Array, Array)
#6 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/base/Widget.php(137): yii\BaseYii::createObject(Array)
#7 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/widgets/ActiveField.php(781): yii\base\Widget::widget(Array)
#8 /home/breederdaron/public_html/WORKING/economizzer/vendor/kartik-v/yii2-widget-datepicker/DatePicker.php(314): yii\widgets\ActiveField->widget('kartik\widgets\...', Array)
#9 /home/breederdaron/public_html/WORKING/economizzer/vendor/kartik-v/yii2-widget-datepicker/DatePicker.php(247): kartik\date\DatePicker->renderInput()
#10 /home/breederdaron/public_html/WORKING/economizzer/vendor/kartik-v/yii2-widget-datepicker/DatePicker.php(215): kartik\date\DatePicker->renderDatePicker()
#11 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/base/Widget.php(140): kartik\date\DatePicker->run()
#12 /home/breederdaron/public_html/WORKING/economizzer/views/cashbook/_form.php(42): yii\base\Widget::widget(Array)
#13 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/base/View.php(336): require('/home/breederda...')
#14 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/base/View.php(254): yii\base\View->renderPhpFile('/home/breederda...', Array)
#15 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile('/home/breederda...', Array, NULL)
#16 /home/breederdaron/public_html/WORKING/economizzer/views/cashbook/create.php(14): yii\base\View->render('_form', Array)
#17 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/base/View.php(336): require('/home/breederda...')
#18 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/base/View.php(254): yii\base\View->renderPhpFile('/home/breederda...', Array)
#19 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile('/home/breederda...', Array, Object(app\controllers\CashbookController))
#20 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/base/Controller.php(384): yii\base\View->render('create', Array, Object(app\controllers\CashbookController))
#21 /home/breederdaron/public_html/WORKING/economizzer/controllers/CashbookController.php(88): yii\base\Controller->render('create', Array)
#22 [internal function]: app\controllers\CashbookController->actionCreate()
#23 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#24 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#25 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('create', Array)
#26 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('cashbook/create', Array)
#27 /home/breederdaron/public_html/WORKING/economizzer/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#28 /home/breederdaron/public_html/WORKING/economizzer/web/index.php(12): yii\base\Application->run()
#29 {main}

@140toesandfingers
Copy link
Author

140toesandfingers commented Apr 24, 2018

Adding this note on the install.

[breedersrus@s132-148-155-219 economizzer]$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for phpoffice/phpspreadsheet 1.2.0 -> satisfiable by phpoffice/phpspreadsheet[1.2.0].
- phpoffice/phpspreadsheet 1.2.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.
Problem 2
- phpoffice/phpspreadsheet 1.2.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.
- kartik-v/yii2-export dev-master requires phpoffice/phpspreadsheet ~1.0 -> satisfiable by phpoffice/phpspreadsheet[1.2.0].
- Installation request for kartik-v/yii2-export dev-master -> satisfiable by kartik-v/yii2-export[dev-master].

@140toesandfingers
Copy link
Author

These have been corrected onsite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant