Browser: Chrome 110
OS: Windows
URL: https://kiwanda.powerontechnologies.com/governance/meeting-minutes/
I’m entering query arguments that include a variable with a value from a PHP function. The same PHP function is successfully outputting the vale for a Text control. Any Suggestions?
Preformatted text
#‘{echo:get_custom_loop_object_column_value(year)}’ does not output an array.
$year = ‘{echo:get_custom_loop_object_column_value(year)}’;
return [
‘post_type’ => ‘minutes’,
#Tried with and without ‘bricks_force_run’
‘bricks_force_run’ => true,
‘date_query’ => array(
#If year is not hard coded, Bricks shows a HTTP 500 error upon save.
array(‘year’ => [$year]),
)
];