Tagged: error, relevanssi, search
Hello. I am using the Relevanssi Search plugin. When I go to build the index I am getting the following error:
Fatal error: Call to a member function get_catalog_ordering_args() on a non-object in /home/scmwa/scmwa.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/productslider.php on line 332
Website URL is: http://www.SCMWA.com
Thanks for any help you can provide.
Hi,
I performed a search test on your site and it didn’t throw any errors, also try checking these topics about Relevanssi:
https://kriesi.at/support/topic/instant-search-not-matching-search-results#post-135415
https://kriesi.at/support/topic/search-results-and-advanced-editor
Regards,
Josue
Josue.
Thanks for the feedback.
I have seen both those topics, and have added the new query to my functions.php file. The error I am seeing is given when I am working in the site admin and using the Build Index button (part of the Relevanssi settings). After the last time I saw the error I disabled the plugin because it leaves a nag error message on the dashboard which I am unable to turn off. I’ve now reactivated and attempted to Build the Index and gotten the same message. I’ll leave it activated until I hear back again.
Thanks again for the help
Josh
The error indicates that Relevanssi doesn’t like the product slider shortcode (not sure why). I’d recommend to use the “Exclude these posts/pages from search” option field to exclude the page which contains the product slider shortcode.