People who code: we want your input. Take the Survey

New answers tagged

2

Are you passing the projectCategory parameter as a string or ID? In any case, the relatedTo parameter will receive a string in your code, which might trip up the query. If the parameter is passed as an ID, passing it as an integer instead of a string might be enough: 'relatedTo' => (int) $projectCategory, However, it might be cleaner to get the actual ...


Top 50 recent answers are included