Hi,
We have a custom Enfold element where we build a custom options array for the select field using get_terms(). This has always worked without any issues. However, after updating to Enfold 7.0, get_terms now returns a WP error. I also tried executing get_terms in the construct function, but that also results in a WP error.
All the best,
Patrick
Hey Patrick,
Did you check the changelog to see if there might be any changes affecting your code?
Best regards,
Rikard
Yes, I did. I don’t see anything in the changelogs related to this.
Hi,
Thank you for the update.
Please clone the site to a staging environment, then provide the login details in the private field. We’d like to check the issue further.
Best regards,
Ismael
Hi Ismael,
I can’t grant you access, which is why I created the element in a different development environment. I didn’t encounter the error there. I found out that get_terms doesn’t work for taxonomies created via CTP UI. However, taxonomies created via ACF work without any issues. I’ll check if I can find the issue for that.
Best regards,
Patrick