We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bfb210 commit c901b63Copy full SHA for c901b63
classes/class-send-products.php
@@ -224,8 +224,10 @@ public static function send_products_to_algolia($id = '')
224
*/
225
$result = $index->saveObjects($records);
226
227
- if ('Algolia\AlgoliaSearch\Response\NullResponse' === get_class($result)) {
228
- wp_die(esc_html__('No response from the server. Please check your settings and try again', 'algolia_woo_indexer_settings'));
+ if ('Algolia\AlgoliaSearch\Response\NullResponse' === get_class($result)) {
+ echo '<div class="notice notice-error is-dismissible">
229
+ <p>' . esc_html__('Potential API key issue. You may dismiss this if you are using the premium version.', 'algolia-woo-indexer') . '</p>
230
+ </div>';
231
}
232
233
/**
0 commit comments