WPSolr logo
Search
Close this search box.

Search results

PHP Fatal error: Uncaught TypeError

Just upgraded to 21.6 on two sites, both are getting the same error from the “#. Send your data” page (and whenever I try to do a search using the plugin): An error or timeout occured. Error code: error Error message: Internal Server Error The site is experiencing technical difficulties. — or sometimes — The site is experiencing technical difficulties. Please check your site admin email inbox for instructions. When I look at /var/log/apache/error.php I see: [Mon Sep 23 15:58:08.678793 2019] [:error] [pid 18540] [client 141.117.7.199:56739] PHP Fatal error: Uncaught TypeError: Return value of Elasticsearch\\ClientBuilder::buildLoggers() must be an instance of Elasticsearch\\void, none returned in /var/www/html/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ClientBuilder.php:582\nStack trace:\n#0 /var/www/html/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ClientBuilder.php(474): Elasticsearch\\ClientBuilder->buildLoggers()\n#1 /var/www/html/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/engines/elasticsearch_php/class-wpsolr-elasticsearchclient.php(200): Elasticsearch\\ClientBuilder->build()\n#2 /var/www/html/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/engines/class-wpsolr-abstractindexclient.php(157): wpsolr\\core\\classes\\engines\\elasticsearch_php\\WPSOLR_IndexElasticsearchClient->create_search_engine_client(Array)\n#3 /var/www/html/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/engines/class-wpsolr-abstractindexclient.php(125): wpsolr\\core\\classes\\engines\\WPSOLR_Ab in /var/www/html/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ClientBuilder.php on line 582 I am using Elastic SaaS and

Suggestions results

I have a Product (flowers) cat and a Product title (flower name). Both appear in the suggestions But sometimes visitors are searching for a combination of both like: Rose Red Passion Is there a way to make suggestions appear. Even when the cat and the title are separated in the system?

MultilingualPress

Hi Does Wpsolr support MultilingualPress? This new plugin wil be the top plugin for translations. Promoted by Woo/Wordpress. It’s running on core multisite.

I can't configure the wpsolr boost by post type

Hello, I have 3 types of posts indexed on Solr (I use Solr 7 via OPenSolr). Are they: “post” (wordpress default), coupon (custom post type) and product (woocommerce). The “product” comes from another wordpress site (I use global search/cross search). I’m trying to do it like this (https://snipboard.io/VJs9Wy.jpg): Boost factor = 2 Boost Values = coupon^2 product^0.5 post^0.4 I want the custom post type “coupon” to be shown first in the results when a searched word also finds results in other post types. but when I activate all searches return empty 🙁 How I do? After setting the boost do I need to reindex all data?

Boost pages over media (PDFs)

Hi, PDFs are dominating my search results a little too much. Can I use type to boost pages or give media files less weighting? If so, how do I do that? Darren

error capha

after installing the plugin when you click on the button https://joxi.ru/zANe4VGtvPKQ82 And you select a solor then gives a captcha error https://joxi.ru/ZrJe4yGtwP6qlA

Add filter for additional html in settings

Hello, to allow additional html, would it be possible to add a filter : wpsolr-pro/wpsolr/core/dashboard/dashboard_settings/inc.php line @686-689 /** * Load additional setting html. */ echo apply_filters(“wpsolr_content_after_label”, ”, $selected_val);

Multi domains search and taxonomies

Hi I need to search content accross multiple domains. I also need to filter the search results by taxonomies / custom fields. But these local websites share taxonomies with differents values. And some websites use particular taxonomies while others don’t Can WPSolr consolidate all used taxonomies / custom field, and is it possible to filter search results on the global website ? Thanks, Julien

Required Elasticsearch version for Elastic.co

Hi, on this page you mention that the provider Elastic.co is tested until ES version 6.2.4 Elasticsearch Hosting While creating a deployment via the Elastic.co, there is no version like that. They offer 5.6 and 6.8. I installed now an instance with version 6.8. How to test it that it’s stable? Or should it just work? regards Olaf