Dear support
i found on
$results = array_merge($results, $this->get($source_fn['name']));[br] }else if($source_fn['type'] == 'static_data'){[br] $results = array_merge($results, $this->get($source_fn['name']));[br] }else if($source_fn['type'] == 'shopping_cart'){[br] $results = array_merge($results, \GApp3::session()->get($source_fn['cart']['id'].'.products', []));[br] }[/pre]
following issue:
If the database gives back a false/no results this code throws an exception on merging because it will try an merge of
Collie-IT[br]
i found on
/wp-content/plugins/chronoforms7/chronog3/admin/extensions/chronofc/libs/fdata.php:153:[pre]if($source_fn['type'] == 'read_data' ){
$results = array_merge($results, $this->get($source_fn['name']));[br] }else if($source_fn['type'] == 'static_data'){[br] $results = array_merge($results, $this->get($source_fn['name']));[br] }else if($source_fn['type'] == 'shopping_cart'){[br] $results = array_merge($results, \GApp3::session()->get($source_fn['cart']['id'].'.products', []));[br] }[/pre]
following issue:
If the database gives back a false/no results this code throws an exception on merging because it will try an merge of
array_merge(array(), false);To prefent the issue you sould put an check before
if($this->get($source_fn['name']) !== false){Best regards
Collie-IT[br]
yes, to be fixed in the next update!
This topic is locked and no more replies can be posted.