Has anyone run across this issue with 2.0.7? Argument 2 passed to __() must be an array, integer given
This is an open discussion with 2 replies, filed under Troubleshooting.
Search
Around line #138 in symphony/lib/toolkit/data-sources/datasource.section.php
just replace this:
if($field_id != 'id' && !($fieldPool[$field_id] instanceof Field)){ throw new Exception( __( 'Error creating field object with id %1$d, for filtering in data source "%2$s". Check this field exists.', $field_id, $this->dsParamROOTELEMENT ) ); }
with:
if($field_id != 'id' && !($fieldPool[$field_id] instanceof Field)){ throw new Exception( __( 'Error creating field object with id %1$d, for filtering in data source "%2$s". Check this field exists.', array($field_id, $this->dsParamROOTELEMENT) ) ); }
OK. That worked. Thank you very, very much!
Create an account or sign in to comment.
Argument 2 passed to __() must be an array, integer given, called in /Sites/pcpc-control/symphony/lib/toolkit/data-sources/datasource.section.php on line 144 and defined /Sites/pcpc-control/symphony/lib/toolkit/class.lang.php line 10
FYI, this issue has been posted on the Symphony issues area. I’m just trying to get around this issue, and am having difficulty figuring it out.
Any help would be much appreciated.