WP archive with custom field filters

I’m pretty new to the wordpress plugin ACF and unfortunately wasn’t lucky when searching through the internet and this forum so I’d like to ask for help in this thread. And if there was a solution to my question I would be endlessly thankful – I don’t know what to do else :/
I’m working with ACF for a week now, especially with the ACF tutorial https://www.advancedcustomfields.com/resources/creating-wp-archive-custom-field-filter/ which was really helpful for what I want to do.
I built everything for one filter, like it is shown in the video, and it worked fine.
But there are about 5 to 6 fields I want to use. So I took the code under the video which is made for more than one field. This is not working any longer. When I open the site there is the same error for each field (i used only two fields to test if it is working): http://www.bilder-upload.eu/show.php?file=34eaf2-1495610500.jpg
(Warning: array_merge(): Argument #2 is not an array in ……api.php line 264)
I had a look into the api.php and this error is dealing with the argument $options if I’m not wrong. Is there a possible solution for a beginner? I was so happy to find a good tutorial :/
Thank you for your effort.

Read more here: WP archive with custom field filters

Leave a Reply

Your email address will not be published. Required fields are marked *