• Resolved remidk

    (@remidk)


    Hello,

    I have an issue with taxonomies’ filters and Divi. Without any value in filters, research works. But if I put values in filters, I have some errors :

    Notice: Trying to get property ‘term_id’ of non-object in /srv/www/wp-content/themes/Divi/includes/builder/feature/dynamic-assets/class-dynamic-assets.php on line 481

    Notice: Trying to get property ‘taxonomy’ of non-object in /srv/www/wp-content/themes/Divi/includes/builder/feature/dynamic-assets/class-dynamic-assets.php on line 604

    If I change manually the request with taxonomy’s name instead of ID in URL, it works. And if I use Elementor instead of Divi, it works. Do you have any solution ? ??

    Thanks for your help.

    • This topic was modified 3 months, 3 weeks ago by remidk.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mikko Saari

    (@msaari)

    You should ask Divi support about the errors. Relevanssi or not, a theme should be able to handle a taxonomy ID parameter in search; it’s a core WP feature. Divi shouldn’t throw an error from it.

    If using taxonomy names works, I would recommend changing the search form to use taxonomy names. That sounds like a simple solution. (If the filter comes from Divi, and Divi can’t then digest the filtered search, that’s an even bigger reason to complain to them…)

    Thread Starter remidk

    (@remidk)

    Thanks for your help ! I will ask to Divi. If they give me a solution, I can post it here if you want. It could help someone.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.