I haven’t found any plugin similar to this for its full functionality: please, developer, update this beautiful plugin!
]]>[22-Aug-2023 11:20:34 UTC] PHP Notice: Trying to access array offset on value of type bool in wp-content/plugins/advanced-admin-search/searchresults.php on line 204
[22-Aug-2023 11:23:05 UTC] PHP Notice: Trying to get property ‘ID’ of non-object in wp-content/plugins/advanced-admin-search/menu.php on line 21
[22-Aug-2023 11:23:05 UTC] PHP Notice: Trying to get property ‘roles’ of non-object in wp-content/plugins/advanced-admin-search/menu.php on line 22
[22-Aug-2023 11:23:05 UTC] PHP Warning: Invalid argument supplied for foreach() in wp-content/plugins/advanced-admin-search/menu.php on line 24
[22-Aug-2023 11:23:05 UTC] PHP Notice: Trying to access array offset on value of type bool in wp-content/plugins/advanced-admin-search/searchresults.php on line 204
[22-Aug-2023 11:23:33 UTC] PHP Notice: Trying to access array offset on value of type bool in wp-content/plugins/advanced-admin-search/searchresults.php on line 204
[22-Aug-2023 11:23:41 UTC] PHP Notice: Trying to access array offset on value of type bool in wp-content/plugins/advanced-admin-search/searchresults.php on line 204
[22-Aug-2023 11:23:50 UTC] PHP Notice: Trying to access array offset on value of type bool in wp-content/plugins/advanced-admin-search/searchresults.php on line 204
]]>Noticed recently that the mobile menu theme for Magazine Plus theme was not working. On disabling this plugin, it started working again. So not sure if it is a clash with the theme plugin, but the breakage also started just after I upgraded to WordPress v5.9.
I also noticed after disabling Advanced Admin Search, that my menu slider re-appeared, but I’m using MetaSlider plugin and not the theme’s own slider.
It was working just fine about 2 weeks ago when I last checked. The desktop view of the site was unaffected.
]]>Hi
your plugin is brilliant, thanks for that!
I only wonder about how to restrict the search-bar & search-feature to admin-roles only?
Any chance to help me with this?
Thank you in advance and kind regards,
Sascha
Hi, i write yo let you know that some css files in your plugin are displaying in front pages. I understand this is a plugin for backend so this should be fixed because generate problems with some styles (mostly for woocommerce).
Regards.
]]>Hi,
i have used this nice plugin for a while now and it’s working very well, so first of all: Thank you!
But now, more and more often I find myself in need of better search results.
So I wonder, is this plugin is being developed further?
Thank you and kind regards,
Sascha
This plugin is for admin search and should not load its resources at the front end for those who are not logged in, but it does, and that reduces page loading speed.
]]>There’s an extra }
on line 197 of css/style.css, which is causing CSS parsing errors, particularly when combining that file with other stylesheets.
Please remove.
It’s just above .result-count {
.
On some of my sites, I get results appearing in drafts or pending content, and I’d love to have a way to narrow the search down by content status.
]]>I’m getting the following error on multiple sites:
[22-Oct-2019 23:22:20 UTC] WordPress database error Table 'DBNAME.wp_postmeta' doesn't exist for query SELECT * FROM wp_postmeta WHERE meta_key LIKE '%classroom-375%' OR meta_value LIKE '%classroom-375%' made by do_action('wp_ajax_search_result'), WP_Hook->do_action, WP_Hook->apply_filters, Kuroit\AdvancedAdminSearch\AASKP_advancedAdminSearch->AASKP_searchAction, Kuroit\AdvancedAdminSearch\AASKP_advancedAdminSearch->AASKP_getPostMeta
DBNAME is correct on each site, but the table prefix is not “wp_”.
Line 268 of advanced-admin-search.php should change from:
$postMeta = $wpdb->get_results("SELECT * FROM wp_postmeta WHERE meta_key LIKE '%".$post_search."%' OR meta_value LIKE '%".$post_search."%'");
to
$postMeta = $wpdb->get_results("SELECT * FROM ".$wpdb->prefix."postmeta WHERE meta_key LIKE '%".$post_search."%' OR meta_value LIKE '%".$post_search."%'");
For security reasons, this statement should also be changed to using prepare
:
$search_term = '%' . $post_search . '%';
$postMeta = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}postmeta WHERE meta_key LIKE '%s' OR meta_value LIKE '%s'", $search_term, $search_term );
]]>
After running a search, there is a list of up to 8 results, followed by what seems to be a link to all of the results. However, when this link is clicked, the browser console shows Uncaught SyntaxError: Invalid or unexpected token
for the current page, e.g. plugins.php
.
Clicking the link on the page name opens up a page containing javascript:alert(\
, so something is really missing there.
Hi! Your plugin was EXACTLY what I was looking for! I installed it and it works but I am getting the following error.
Missing argument 2 for wp_register_script() called in /home4/[deletedURL]/wp-content/plugins/advanced-admin-search/advanced-admin-search.php on line 50 and defined in /home4/[deletedURL]/wp-includes/functions.wp-scripts.php on line 145
Hope you can help. Let me know if you need more info. Using WP 4.9.8 btw.
]]>