Closed rejsmont closed 11 years ago
Can you please provide your composer.json
Hi,
here's my composer.json:
{
"name": "mopa/symfony-bootstrap",
"description": "he \"Symfony Standard Edition\" distribution enriched with twitter/bootstrap2",
"autoload": {
"psr-0": { "": "src/" }
},
"provide": {
"twitter/bootstrap": "*",
"frameworks/jquery" : "*"
},
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.3.*",
"doctrine/orm": ">=2.2.3,<2.4-dev",
"doctrine/doctrine-bundle": "1.2.*",
"doctrine/doctrine-fixtures-bundle": "dev-master",
"twig/extensions": "1.0.*",
"symfony/assetic-bundle": "2.3.*",
"symfony/swiftmailer-bundle": "2.3.*",
"symfony/monolog-bundle": "2.3.*",
"sensio/distribution-bundle": "2.3.*",
"sensio/framework-extra-bundle": "2.3.*",
"sensio/generator-bundle": "2.3.*",
"incenteev/composer-parameter-handler": "~2.0",
"jms/security-extra-bundle": "1.5.*@dev",
"jms/di-extra-bundle": "1.4.*@dev",
"jms/serializer-bundle": "dev-master",
"mopa/bootstrap-bundle": "3.*@dev",
"knplabs/knp-paginator-bundle": "2.3.*@dev",
"knplabs/knp-components": "1.2.2",
"knplabs/knp-menu-bundle": "1.1.*@dev",
"craue/formflow-bundle": "dev-master",
"friendsofsymfony/user-bundle": "dev-master",
"friendsofsymfony/rest-bundle": "dev-master",
"whiteoctober/tcpdf-bundle": "dev-master",
"sabre/vobject": "2.0.*",
"rejsmont/php-ipp": "0.21",
"kuleuven/shibboleth-bundle": "dev-master",
"twbs/bootstrap": "dev-master",
"twitter/typeahead.js": "dev-master",
"fortawesome/font-awesome": "dev-master",
"eternicode/bootstrap-datepicker": "dev-bs3",
"ivaynberg/select2": "3.4-dev",
"jquery/jquery": "1.10.2",
"jquery/jquery-ui": "1.10.3",
"packagist/yuicompressor-bin": "dev-master",
"packagist/cssembed-bin": "dev-master",
"verekia/initializr": "4.2.0"
},
"scripts": {
"post-install-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Mopa\\Bundle\\BootstrapBundle\\Composer\\ScriptHandler::postInstallSymlinkTwitterBootstrap"
],
"post-update-cmd": [
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Mopa\\Bundle\\BootstrapBundle\\Composer\\ScriptHandler::postInstallSymlinkTwitterBootstrap"
]
},
"config": {
"bin-dir": "bin"
},
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
},
"branch-alias": {
"dev-master": "2.3-dev"
}
},
"minimum-stability": "dev",
"repositories": [
{
"type": "package",
"package": {
"name": "verekia/initializr",
"version": "4.2.0",
"dist":{
"url":"http://www.initializr.com/builder?modernizrrespond",
"type":"zip"
}
}
},
{
"type": "package",
"package": {
"name": "jquery/jquery",
"version": "1.10.2",
"dist":{
"url":"http://code.jquery.com/jquery-1.10.2.min.js",
"type":"file"
}
}
},
{
"type": "package",
"package": {
"name": "jquery/jquery-ui",
"version": "1.10.3",
"dist":{
"url":"http://jqueryui.com/resources/download/jquery-ui-1.10.3.zip",
"type":"zip",
"reference":"1.10.3"
}
}
},
{
"type": "package",
"package": {
"version": "3.4-dev",
"name": "ivaynberg/select2",
"type": "component",
"source": {
"url": "https://github.com/ivaynberg/select2.git",
"type": "git",
"reference": "master"
}
}
},
{
"type": "package",
"package": {
"version": "0.21",
"name": "rejsmont/php-ipp",
"source": {
"url": "https://github.com/rejsmont/php-ipp.git",
"type": "git",
"reference": "6c09140c99"
},
"autoload": {
"psr-0": { "PHP_IPP": ["lib/"] }
}
}
},
{
"type": "vcs",
"url": "https://github.com/rmoreas/ShibbolethBundle.git"
}
]
}
same after update 94c5863f28e6ab0cfa6f3f4e81d06b27ff4c30e5 to b9c086cd61a4ed37332852784f997e521995c752
Form/Extension/WidgetCollectionFormTypeExtension.php:75 add
if (!isset($options['widget_remove_btn']['wrapper_div'])) {
$options['widget_remove_btn']['wrapper_div'] = $this->options['widget_remove_btn']['wrapper_div'];
}
This error has reoccured with commit af50a4c0ae7f6df5bb3e446c355d51ff5c750979 It seems that when it gets to the widget_remove_btn, $options['allow_delete'] isn't set, so the array_replace_recursive line never gets executed for widget_remove_btn and this error occurs.
This change broke my code too. I got the same error after the mentioned commit.
I have the same issue...
Same issue here. Please reopen.
Same issue with commit 9f8328c Key "wrapper_div" for array with keys "label" does not exist in MopaBootstrapBundle:Form:fields.html.twig at line 507
I also have this issue
Key "wrapper_div" for array with keys "label, icon, attr, icon_color" does not exist in vendor/mopa/bootstrap-bundle/Mopa/Bundle/BootstrapBundle/Resources/views/Form/fields.html.twig at line 459