Shaan Nicol
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Search with Algolia] Resume upload after crashI managed to get the whole 80k records synced on Sunday, it took about 15 hours so im pretty keen to not touch this again. I created a backup in Algolia as well just incase something goes wrong. I didn’t get any error messages.
Happy to test on a staging server if you still need me to look into somethingForum: Plugins
In reply to: [WP Search with Algolia] Resume upload after crashI’ve managed to get nearly 14 hours into the sync and then it crashed
Page: 1121/1610
https://www.dropbox.com/scl/fi/79rwvaho93elr6xg5bsbx/Screenshot-2025-04-06-at-1.00.42-am.png?rlkey=cgdyzz4lp2jfl1baqgydp7mxd&dl=0
So close, i’d rather not start againForum: Plugins
In reply to: [WP Search with Algolia] Resume upload after crashOnce the error shows, the response tab is empty: it failed at page 218
When i clicked OK on the “undefined” warning, this is what I got: https://www.dropbox.com/scl/fi/gwx00h1lsnmg8l3cvpagg/Screenshot-2025-04-05-at-9.38.30-am.png?rlkey=i7sicbsbgg144ni29rrrsc03g&dl=0
Forum: Plugins
In reply to: [WP Search with Algolia] Resume upload after crashThis is as far as im able to get → https://www.dropbox.com/scl/fi/hfrsii7zikhr5wsckq2k6/Screenshot-2025-04-04-at-9.19.42-pm.png?rlkey=s9anlkjx29o1cqsnsv2tcfafq&dl=0
Forum: Plugins
In reply to: [WP Search with Algolia] Resume upload after crashIt failed again, but this time i’ve checked the response and it seems to be returning:
{"totalPagesCount":4023,"finished":false}It’s at 1% now → https://www.dropbox.com/scl/fi/uc0oknkzflqmji0x6uneh/Screenshot-2025-04-04-at-9.26.12-am.png?rlkey=0gcy5ib959s83iiyh5ypks37j&dl=0
Here is the edited file → https://pastetext.org/0znmarsxnx
- This reply was modified 1 year, 1 month ago by Shaan Nicol.
- This reply was modified 1 year, 1 month ago by Shaan Nicol.
Forum: Plugins
In reply to: [WP Search with Algolia] Resume upload after crashyes, the same in my original screenshot
Forum: Plugins
In reply to: [WP Search with Algolia] Resume upload after crashWe got the same error: An error occurred: undefined
Trying again
- This reply was modified 1 year, 1 month ago by Shaan Nicol.
Forum: Plugins
In reply to: [WP Search with Algolia] Resume upload after crashWe don’t have CLI access on this install, we may have to check with the host for SSH access.
So for now, i’ve made that change, we haven’t updated the plugin yet but ive manually made the change and run the sync again. We did have up to 30k records in there so hopefully, this runs smoothly overnight and doesn’t get rid of the 30k already in there.
Will check back in the morning, thanks!
Forum: Plugins
In reply to: [WP Search with Algolia] Resume upload after crashWe havent found any significant errors in the logs, its essentually returning a browser alert with “undefined” which doesn’t tell us much.
Its a multi-language site so we’re not sure if its a bad character in one of the records or really where to go from here
Ocasioanlly we got a 503 error as well, but its usually the “undefined”
We have added this code as well
function my_algolia_timeout_increase( $args ) {
// Increase timeout to 3 minutes.
$args['CURLOPT_TIMEOUT'] = 180;
return $args;
}
add_filter( 'algolia_http_client_options', 'my_algolia_timeout_increase' );
function wds_algolia_custom_searchclient_config( $config ) {
$config['connectTimeout'] = 5; // default: 2
$config['readTimeout'] = 120; // default: 30
$config['writeTimeout'] = 120; // default: 30
return $config;
}
add_filter( 'algolia_custom_search_config', 'wds_algolia_custom_searchclient_config' );
add_filter( 'algolia_indexing_batch_size', function () { return 25; } );Forum: Plugins
In reply to: [Stream] Old records are not being removedYes, we have over 70 sites now with data for the past 2 years, manually going in and resetting them, but this is a huge pain
Forum: Plugins
In reply to: [Genesis Simple Sidebars] Header sidebar included in selectionYeah I’ve also seen this come up and it’s caused a few issues where the sidebar will load in the ‘header-right’ widget area.
Is there way we can filter this or any other sidebars out from being an option?
Forum: Plugins
In reply to: [Front End PM] Attach a fileSo sorry, i just saw that option!
Forum: Plugins
In reply to: [Front End PM] Redirect button to message page automatically fill a name ?Yes, it works for me,
You will need to check that the ID is getting pulled through, you might not want the author meta
https://developer.ww.wp.xz.cn/reference/functions/get_the_author_meta/
Forum: Plugins
In reply to: [Front End PM] Redirect button to message page automatically fill a name ?Add it wherever you want you link to appear in your HTML
if you want to add it in php then you will need
?> <a class="btn aligncenter orange" href="/messages/?fepaction=newmessage&to=<? echo get_the_author_meta('login') ;?>&message_title=Hi <? the_title(); ?>&message_content=">Message <? the_title(); ?></a> <?phpForum: Plugins
In reply to: [Front End PM] Redirect button to message page automatically fill a name ?Also interested in this.
I found a solution
<a class="btn aligncenter orange" href="/messages/?fepaction=newmessage&to=<? echo get_the_author_meta('login') ;?>&message_title=Hi <? the_title(); ?>&message_content=">Message <? the_title(); ?></a>