sexilyspeaking
Forum Replies Created
-
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Seeking The Fastest & Lightest Search PluginI am monitoring your plugin.
Just curious, where are you storing the data? I don’t see any new table created? Are you storing them in wp_postmeta? If so, how do I delete them? (I ask is because I use a plugin to curate content and it was storing 20+ useless records for every single post in wp_postmeta > nightmary to clean up.I tried both the “Disable Plugin” and the code below, and your plugin still works. that’s encouraging.
Now, can you tell me is the code (should be lighter than plugin) below good enough?
__________
function wpb_filter_query( $query, $error = true ) {
if ( is_search() ) {
$query->is_search = false;
$query->query_vars[s] = false;
$query->query[s] = false;
if ( $error == true )
$query->is_404 = true;
}
}
add_action( ‘parse_query’, ‘wpb_filter_query’ );
add_filter( ‘get_search_form’, create_function( ‘$a’, “return null;” ) );
function remove_search_widget() {
unregister_widget(‘WP_Widget_Search’);
}
add_action( ‘widgets_init’, ‘remove_search_widget’ );________
Still, I have no idea if the WP Default Search is still doing a full search at the server?
The problem is solved if there a way to stop your plugin from triggering full search on things like CONTENT etc, Becos if you can stop the background search at the server, your Ajax search seems light and fast enough.
- This reply was modified 4 years, 2 months ago by sexilyspeaking.
- This reply was modified 4 years, 2 months ago by sexilyspeaking.
That said,
1. Am I right to say the default WP Search is still working at the server after results are generated by your ajax queries? Otherwise, why the queries also search things like “Content” which I have disabled?
2. Can you tell me eg. which queries is yours and which are etc. — eg. calculation for pagination? (What to look for in a queries to determine which is generate by tour plugin – I am trying to see what % are yours? I thought 99% are keyword searches ie. yours?).
3. Can your plugin still function (independently) if I disabled the WP Search with “Disable Search” https://www.ads-software.com/plugins/disable-search/?
Or
Do you have a WP code I can paste on the function.php to stop the search function?Finally, don’t think I wanna use VPS or whatever cloud becos all those require you to have tons of server maintenance knowledge which I have no resources. I am not aware there is a VPS where cPanel is ready and you can one click install WordPress like shared hosting.
4. Let me know if there is one that is not too costly.
I have tried Google Cloud before, it was so complicated and unless I pay for unnecessary resources (for occasional spike in traffics), it will shut down ever other day…. Nightmare. And since my sites are just hobby legacy with no monetization prospects, my best bet is to try to make the site as skinny as possible.
Please let me know know so that I know what to do next?
Thanks again.
- This reply was modified 4 years, 2 months ago by sexilyspeaking.
- This reply was modified 4 years, 2 months ago by sexilyspeaking.
Guru Ernest,
Big problem — My Hosting complained the speed never improve and the search also seems not controlled?
The hosting guy reported to me for example,
__________use database_one;
SET timestamp=1609889710;
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND (((wp_posts.post_title LIKE ‘%Yu%’) OR (wp_posts.post_excerpt LIKE ‘%Yu%’) OR (wp_posts.post_content LIKE ‘%Yu%’)) AND ((wp_posts.post_title LIKE ‘%Nishi%’) OR (wp_posts.post_excerpt LIKE ‘%Nishi%’) OR (wp_posts.post_content LIKE ‘%Nishi%’))) AND (wp_posts.post_password = ”) AND wp_posts.post_type IN (‘post’, ‘page’, ‘attachment’) AND (wp_posts.post_status = ‘publish’) ORDER BY (CASE WHEN wp_posts.post_title LIKE ‘%Yu Nishi%’ THEN 1 WHEN wp_posts.post_title LIKE ‘%Yu%’ AND wp_posts.post_title LIKE ‘%Nishi%’ THEN 2 WHEN wp_posts.post_title LIKE ‘%Yu%’ OR wp_posts.post_title LIKE ‘%Nishi%’ THEN 3 WHEN wp_posts.post_excerpt LIKE ‘%Yu Nishi%’ THEN 4 WHEN wp_posts.post_content LIKE ‘%Yu Nishi%’ THEN 5 ELSE 6 END), wp_posts.post_date DESC LIMIT 0, 4;
# Time: 2021-01-05T23:36:59.443336Z
# User@Host: database_one[user_one] @ localhost [] Id: 32556398
# Query_time: 5.429555 Lock_time: 0.000298 Rows_sent: 3 Rows_examined: 18686
__________> Meaning it takes 5.429555 seconds and the search actually also queried post_content (I specified only title)?
However, “Query Monitor” plugin says the same search “Yu Nishi” takes,
0.33S 15,018kB 0.1773S 123Q
> Meaning 0.33 seconds?
Honestly, the ajax returns seems to be fast (probably 0.33s?). But why is the hosting gut getting a completely different picture (as if it’s still the same default WP).
Okay, the only I did not follow is in
“2. exact matching logic – “starting/ending with phrase” https://i.imgur.com/QSBxuZG.png””
> Here I use “Anywhere” becos “starting/ending with phrase” simply doesn’t work most of the times (no results). And I got the 0.33S after switching back to “starting/ending with phrase”.What do you think is wrong?
NB: All queries are above 3 seconds? You may see the complete log here (given by hosting) https://drive.google.com/file/d/1DiDzxqT5xbdJYGZgfEMFK45NuQm-Uz6O/view?usp=sharing
- This reply was modified 4 years, 2 months ago by sexilyspeaking.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Seeking The Fastest & Lightest Search PluginThank so very much for the enlightenment, Mikko Saari.
I’d use your plugin. And if the plugin managed to shave some server load, I will buy your premium plugin for my other small not much traffic sites, just to support you.
BTW, do you have a simple way to measure or see the “Query Speed”? Like how many seconds does it take for a keyword search… I didn’t know about the speed until the hosting guy complained to me. I tied a plugin called “Query Monitor” > It’s so complicated, I don’t even know what am looking at? Is there something online or a simple light monitoring tools out there? May some ping like queries?
Okay, I’d still buy your pro if the free version is helpful just to support you.
Let me ask the hosting guy to monitor. Thanks.If you have anything that can measure the search speed, let me know.
Thank you.
Got only one issue?
2. “starting/ending with phrase”
On my plugin, there is either “Starting with phrase” OR “Ending with phrase”, I could select both, how do you do select both?
I selected “Starting with phrase ” for now.
Thank you Guru Ernest.
I’d purchase your Pro to support you if the above settings can save the hosting company from harassing me. I only have one popular sites with umpteen thousands posts and lotta simple searches by lotta insane visitors.
What’s the easiest way to see how long does it take for the search queries (I only knew of the slow queries after the hosting guy gave me a log)… I tried Query Monitor plugin, looks so complicated, I didn’t even know what was I looking at?
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Seeking The Fastest & Lightest Search PluginI have installed Relevanssi Light, looks like no settings is necessary at all? Does it just take over the default search after activated (button, form, etc)?
How much database space is needed? I only need a super light/fast search for one site, I’d will buy your premium plugin if this light plugin works well — assuming all your plugin work on the same tech/algo. I have other smaller sites requiring fancy search.
Question: Will you say your light plugin is lighter/faster than
1. Ajax Search Lite
2. Ivory SearchWill you update the light plugin in future? (I see it’s not that popular but I don’t care as long as it’s fast/light).
Thanks
- This reply was modified 4 years, 2 months ago by sexilyspeaking.
Forum: Fixing WordPress
In reply to: “Edit” disappears upon clickingIf 5.6 were to be fundamentally broken and doesn’t work at all,
I didn’t say that. I just said it appears 5.6 has issue even experts have no clue yet.
Speaking of which, I also don’t think there is anything significantly wrong with my site becos it runs well on all WPs prior to 5.6.
complain?
It’s not a complain, it’s a feedback that 5.6 has a new issue no one understand yet.
And yes, I am waiting for solution patiently… My only solution now is downgrade. Works fine, just don’t know if the downgrade plugin affects performance? I am very particular about speed etc. That’s why I only use bare minimal plugin… basically defense, cache, optimize, things like that.
Perhaps you should build all these into the core, if that helps performance… Bottomline, I just wanted my site to load in less than 1 second and can handle millions of traffics with no issue. that’s all. I have no interest in blocks, or whatever GUI elements you’re introducing.
That said, I hope you will introduce a no frill WP in future that is super light, super fast, super smooth, super secured … anything else, please make plugin or as options. I seriously think it doesn’t make sense to bundle things that most people do not use at all.
Perhaps release 2 versions of WP? One for the Block users, one for us – we wanted nothing but just lightest & fastest…. If anyone creates a “No Frill” CMS that is totally compatible with WP’s theme and plugins, I’d be more than happy to jump ship… No love for clumsy CMS.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
Forum: Fixing WordPress
In reply to: “Edit” disappears upon clickingIt’s not due to theme (Genesis)/plugins becos I am using exactly the same theme/plugins on other domains with no issue. I did uninstall/changed the theme (using your new 2021), still the same.
The only solution is downgrade WP > I just downgraded WP with WP Downgrade | Specific Core Version pluigin… problem solved.
WP 5.6 is not ready. So bad until expert like you also have no clue (despite provided with the error logs).
Please read my error log and do some R&D. Your core has problem, not my existing theme or plugins. The only clue I can give you is the same 5.6 is fine with couple of my other sites with exactly the same theme/plugins (hosted on the same server). The only difference is perhaps the DB/content.
Please fix it ASAP. Thank you.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
Forum: Fixing WordPress
In reply to: “Edit” disappears upon clickingI did that and I posted the error message above.
I don’t know how to read the error log… Can you help me to see if that’s a theme or plugin?What is this? eg.
wp-pointer.min.js?ver=5.6:2 Uncaught TypeError: s.widget is not a function
menu.min.js?ver=1.12.1:11 Uncaught TypeError: o.widget is not a function
at HTMLButtonElement.<anonymous> (inline-edit-post.min.js?ver=5.6:2)?
at Object.init (https://xxx.com/wp-admin/js/postbox.min.js?ver=5.6:2:3699)?
at e (https://xxx.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2:30005)?(See above for more)
I got no clue what theme, what plugin… Can you gimme a clue?
Forum: Fixing WordPress
In reply to: “Edit” disappears upon clickingInstalled jQuery Migrate plugin, set to Legacy 1.124-wp… Same thing. Button don’t work.
What else can I do?Forum: Fixing WordPress
In reply to: “Edit” disappears upon clickingThanks George.
1) Site Health doesn’t provide any clue (I compare it to a site with no “edit” issue)
2) I get the followings after CTRL + SHIFT + J using Chrome:-JQMIGRATE: Migrate is installed, version 3.3.2
wp-pointer.min.js?ver=5.6:2 Uncaught TypeError: s.widget is not a function
at wp-pointer.min.js?ver=5.6:2
at wp-pointer.min.js?ver=5.6:2
(anonymous) @ wp-pointer.min.js?ver=5.6:2
(anonymous) @ wp-pointer.min.js?ver=5.6:2
menu.min.js?ver=1.12.1:11 Uncaught TypeError: o.widget is not a function
at menu.min.js?ver=1.12.1:11
at menu.min.js?ver=1.12.1:11
at menu.min.js?ver=1.12.1:11
(anonymous) @ menu.min.js?ver=1.12.1:11
(anonymous) @ menu.min.js?ver=1.12.1:11
(anonymous) @ menu.min.js?ver=1.12.1:11
autocomplete.min.js?ver=1.12.1:11 Uncaught TypeError: u.widget is not a function
at autocomplete.min.js?ver=1.12.1:11
at autocomplete.min.js?ver=1.12.1:11
at autocomplete.min.js?ver=1.12.1:11>>> AFTER I CLICKED EDIT on posts page (and the post disappears), I get more…
tags-suggest.min.js?ver=5.6:2 Uncaught TypeError: n.autocomplete is not a function
at s.fn.init.u.fn.wpTagsSuggest (tags-suggest.min.js?ver=5.6:2)
at HTMLDivElement.<anonymous> (inline-edit-post.min.js?ver=5.6:2)
at Function.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2)
at s.fn.init.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2)
at Object.edit (inline-edit-post.min.js?ver=5.6:2)
at Object.inlineEditPost.edit (edit.php?post_status=publish&post_type=post:1393)
at HTMLButtonElement.<anonymous> (inline-edit-post.min.js?ver=5.6:2)
at HTMLTableSectionElement.dispatch (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2)
at HTMLTableSectionElement.v.handle (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2)>>> On the post Edit page, I got the followings: –
JQMIGRATE: Migrate is installed, version 3.3.2
wp-pointer.min.js?ver=5.6:2 Uncaught TypeError: s.widget is not a function
at wp-pointer.min.js?ver=5.6:2
at wp-pointer.min.js?ver=5.6:2
(anonymous) @ wp-pointer.min.js?ver=5.6:2
(anonymous) @ wp-pointer.min.js?ver=5.6:2
mouse.min.js?ver=1.12.1:11 Uncaught TypeError: o.widget is not a function
at mouse.min.js?ver=1.12.1:11
at mouse.min.js?ver=1.12.1:11
at mouse.min.js?ver=1.12.1:11
(anonymous) @ mouse.min.js?ver=1.12.1:11
(anonymous) @ mouse.min.js?ver=1.12.1:11
(anonymous) @ mouse.min.js?ver=1.12.1:11
sortable.min.js?ver=1.12.1:11 Uncaught TypeError: u.widget is not a function
at sortable.min.js?ver=1.12.1:11
at sortable.min.js?ver=1.12.1:11
at sortable.min.js?ver=1.12.1:11
(anonymous) @ sortable.min.js?ver=1.12.1:11
(anonymous) @ sortable.min.js?ver=1.12.1:11
(anonymous) @ sortable.min.js?ver=1.12.1:11
menu.min.js?ver=1.12.1:11 Uncaught TypeError: o.widget is not a function
at menu.min.js?ver=1.12.1:11
at menu.min.js?ver=1.12.1:11
at menu.min.js?ver=1.12.1:11
(anonymous) @ menu.min.js?ver=1.12.1:11
(anonymous) @ menu.min.js?ver=1.12.1:11
(anonymous) @ menu.min.js?ver=1.12.1:11
autocomplete.min.js?ver=1.12.1:11 Uncaught TypeError: u.widget is not a function
at autocomplete.min.js?ver=1.12.1:11
at autocomplete.min.js?ver=1.12.1:11
at autocomplete.min.js?ver=1.12.1:11
(anonymous) @ autocomplete.min.js?ver=1.12.1:11
(anonymous) @ autocomplete.min.js?ver=1.12.1:11
(anonymous) @ autocomplete.min.js?ver=1.12.1:11
load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2 jQuery.Deferred exception: l(…).sortable is not a function TypeError: l(…).sortable is not a function
at Object.init (https://xxx.com/wp-admin/js/postbox.min.js?ver=5.6:2:3699)
at Object.add_postbox_toggles (https://xxx.com/wp-admin/js/postbox.min.js?ver=5.6:2:2749)
at HTMLDocument.<anonymous> (https://xxx.com/wp-admin/js/post.min.js?ver=5.6:2:4493)
at e (https://xxx.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2:30005)
at t (https://xxx.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2:30307) undefined
S.Deferred.exceptionHook @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2
t @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2
setTimeout (async)
(anonymous) @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2
c @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2
fireWith @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2
fire @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2
c @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2
fireWith @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2
ready @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2
B @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2
load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2 Uncaught TypeError: l(…).sortable is not a function
at Object.init (postbox.min.js?ver=5.6:2)
at Object.add_postbox_toggles (postbox.min.js?ver=5.6:2)
at HTMLDocument.<anonymous> (post.min.js?ver=5.6:2)
at e (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2)
at t (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:2)===============================
>>> Whereas on the site with no issue, I don’t get anything new after clicking either on the posts page or post edit page except the followings (same for both):-
Chrome might start preventing this site from opening new tabs or windows in the future. Learn more at https://www.chromestatus.com/feature/5243055179300864
edit.php?post_status=publish&post_type=post:1 Chrome might start blocking ads on this site in the future because this site tends to show ads that interrupt, distract, mislead, or prevent user control. You should fix the issues as soon as possible and submit your site for another review. Learn more more at https://www.chromestatus.com/feature/5738264052891648
load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-tooltip&ver=5.6:5 JQMIGRATE: Migrate is installed, version 3.3.2=======================
What’s wrong with the problematic site? The error is critical. Please help.
- This reply was modified 4 years, 3 months ago by sexilyspeaking.
Same for Genesis theme… Appreciate fixing soon. Thanks
> We had to Rollback to the last version
Where can I download that… I don’t mind using outdated stuffs as long as they work
- This reply was modified 4 years, 7 months ago by sexilyspeaking.