This topic has 3 replies, 3 voices, and was last updated 10 months, 2 weeks ago ago by Andrew Mitchell
On staging site I use WPML and 2 languages. In english serch is working. In other language there is error – Ajax search does not found any products and when clicked enter, there is …
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘etheme_produkty_in_search_results’ not found or invalid function name in /home/customer/www/*****/public_html/wp-includes/class-wp-hook.php on line 324
Can you help me locate which translated string is wrong? Probably the function name is translated by error?
Dear Radek,
We hope this message finds you well.
We have encountered an issue that requires your assistance. It appears that there may be an error with one of the translated strings, and we suspect that a function name might have been inadvertently translated.
Would you be so kind as to review the translations, particularly focusing on any PHP functions? These should not be translated, as they are integral to the code’s functionality.
Additionally, we request that you revert the translations for ‘products’ and ‘posts’ within the ‘/xstore/framework/features/search-page.php‘ file, specifically between lines 22 and 31. You can refer to the screenshot provided for clarity: https://prnt.sc/MmUJRZ80mBbj
Should the issue persist after these changes, we would appreciate it if you could grant us access to your admin account. This will enable us to examine the problem more closely and provide a suitable solution.
We thank you in advance for your prompt attention to this matter and look forward to your response.
Best regards,
The 8Theme Team
Dear Radek,
We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.
Click here to rate now: https://themeforest.net/downloads
Thank you sincerely for your ongoing support!
Best Regards,
The 8Theme Team
The issue related to '‘Search returns no product & Warning about ‘invalid function name’ in class-wp-hook.php’' has been successfully resolved, and the topic is now closed for further responses