Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #1143871

    Hi Team,

    I had the same problem (Ajax search don’t find keywords after Relevansi updat?) 2 years ago and Ismael found a solution:
    https://kriesi.at/support/topic/ajax-search-dont-find-keywords/
    After the last Relevansi update the old problem is back and I hope Ismael can help again?!
    Thank you and best regards
    Mike

    • This topic was modified 5 years, 1 month ago by Mike61.
    #1145599

    Hey Mike61,

    Thank you for the inquiry.

    Where can we see the issue again? Did you re-index the database after upgrading the plugin?

    Best regards,
    Ismael

    #1145695

    Hi Ismael,

    wow 6 days for an aswer, what is going on?
    Yes, I have re-index the database with relevansi.
    You can see the issue here: See private content
    For example search for “MS3” or “Lycra”.

    Best regards
    Mike

    #1146345

    Hi,

    Sorry for the delay.

    An internal server error occurs whenever the avia_ajax_search script requests for the admin-ajax.php file. Please post the WP and FTP details in the private field so that we can debug the issue.

    Best regards,
    Ismael

    #1146445

    Hi Ismael,
    here is all you need…

    Best Regards
    Mike

    #1146993

    Hi,

    Thank you for the update.

    We modified the handler_init_ajax_search a bit. Added the function name and set the parameter type properly.

    		/**
    		 * Returns the function to call for ajax search
    		 * 
    		 * @since 4.5.7.1
    		 * @param string $function_name
    		 * @param array $search_query
    		 * @param array $search_parameters
    		 * @param array $defaults
    		 * @return string
    		 */
    		public function handler_init_ajax_search( $function_name, $search_query, array $search_parameters, array $defaults )
    		{
    			return 'avia_ajax_relevanssi_search';
    		}
    

    It should work properly now.

    Best regards,
    Ismael

    #1147092

    Hi Ismael,

    great service and job! Works fine.
    Do I have to do something during an update? Is your modification update save?
    Thank you very much and have an nice Weekend.

    Best regards,
    Mike

    #1147187

    Hi,

    Are you using a child theme? If so, the code will be safe when the theme is updated.

    Best regards,
    Jordan Shannon

    #1147211

    Hi Jordan,

    yes, thank you.
    But Ismales modfication was not in the child, he made them in /enfold/config-relevansi/class-avia-relvansi.php

    Best regards
    Mike

    #1147533

    Hi Mike,

    You need to copy this file to the child theme and make your changes there. This will be the update safe way.

    Best regards,
    Victoria

    #1147743

    Hi Victoria,

    thank you but I made no changes, Ismael made some changes and my question
    to Ismael was “Is your modification update save?”

    Thank you and best regards
    Mike

    • This reply was modified 5 years, 1 month ago by Mike61.
    #1148008

    Hi,

    We will add this fix in the next version of the theme. Thank you for your patience.

    Best regards,
    Ismael

    #1148018

    Hi Ismael,
    thank you for your great support.
    Best Regards
    Mike

    #1148134

    Hi,

    Did you need additional help or shall we close this topic?

    Best regards,
    Jordan Shannon

    #1148149

    Hi,

    you can close this topic.
    Thank you
    Best regards
    Mike

    #1148153

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Ajax search don't find keywords after Relevansi update’ is closed to new replies.