“There has been a critical error on this website” when searching on the blog

Hello, I have a local business directory using HivePress and Listing Hive on WordPress + WordPress blog.

The WordPress blog search function on the front end (live site) does not work. The page shows “There has been a critical error on this website” when searching on the blog.
Try searching anything here: Blog - Discover Dominicus Americanus – Your Guide to Paradise in DR

It looks like that critical error is coming from the HivePress plugin. This is what the team at WordPress identified:

[30-Jan-2025 18:04:43 UTC] PHP Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /srv/htdocs/wp-content/plugins/hivepress/includes/components/class-attribute.php:2209

Thank you for your help!

Hi,

Thank you for your feedback. Yes, there is a small conflict with Jetpack, we have added it to the tracker and will fix it in the next update. As a workaround, please check the Jetpack settings, there may be an option to specify the post type to search for, or to disable the Jetpack search feature for listings.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.