jcc
Member
Fabrik 3.10, j!3.10.12 converted to Fabrik 4.0 official release, J!4.4.2
Applied Fabrik update fabrikar-publicfabrik-74a67035f558 (2024-04-12) git kit
SEF & URL rewrite on
On a calc field, I am getting exception within the AJAX response (before the JSON document):
Warning: Array to string conversion in plugins\fabrik_element\dropdown\dropdown.php on line 449
o
o
o
15 0.2819 3584200 PlgFabrik_ElementCalc->onAjax_calc( ) ...\CMSPlugin.php:289
16 0.5191 5625368 PlgFabrik_Element->swapValuesForLabels( $d = ['tblorder___orderid' ... => [0 => '01-08 A02'], ...] ) ...\calc.php:483
17 0.6636 6426824 PlgFabrik_ElementDropdown->getLabelForValue( $v = [0 => '5'], $defaultLabel = [0 => '5'], $forceCheck = TRUE ) ...\element.php:8238
I see that getLabelForValue tries to convert $v to a string and $v seems to be passed in as an array. Any ideas?
Applied Fabrik update fabrikar-publicfabrik-74a67035f558 (2024-04-12) git kit
SEF & URL rewrite on
On a calc field, I am getting exception within the AJAX response (before the JSON document):
Warning: Array to string conversion in plugins\fabrik_element\dropdown\dropdown.php on line 449
o
o
o
15 0.2819 3584200 PlgFabrik_ElementCalc->onAjax_calc( ) ...\CMSPlugin.php:289
16 0.5191 5625368 PlgFabrik_Element->swapValuesForLabels( $d = ['tblorder___orderid' ... => [0 => '01-08 A02'], ...] ) ...\calc.php:483
17 0.6636 6426824 PlgFabrik_ElementDropdown->getLabelForValue( $v = [0 => '5'], $defaultLabel = [0 => '5'], $forceCheck = TRUE ) ...\element.php:8238
I see that getLabelForValue tries to convert $v to a string and $v seems to be passed in as an array. Any ideas?