kartik-v / yii2-builder

Build forms (single or tabular) easily for Yii Framework 2.0.
http://demos.krajee.com/builder
Other
100 stars 50 forks source link

Error in method "TabularForm->getStaticInput" - version 1.6.2 #113

Closed alaimodan closed 5 years ago

alaimodan commented 8 years ago

Hi! I have some problem with the newer version of "Tabular Form". In particular I have this error: "Illegal offset type" at line 293 into TabularForm.php. Using the previous version (1.6.1) there isn't this error. The problem about the new method seems to be the absence of the parameter "$ key", because adding it the problem disappears.

Old method (version 1.6.1): "protected function getStaticInput($type, $model, $key, $index, $settings, $attribute, $formatter)";

New method (version 1.6.2): "protected function getStaticInput($type, $model, $index, $settings, $attribute, $formatter)";

stale[bot] commented 5 years ago

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.