Description:
Search (using Ajax Search Pro plugin shortcode) does not work when Ajax Search Pro WPML compatibility feature is enabled in PHP 8.2. Message that appears when searching: "The request failed. Please check your connection! Status: 500"
Error in log:
PHP Fatal error: Uncaught TypeError: Illegal offset type in isset or empty in /home/customer/www/.../public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/class-wpml-url-cached-converter.php:46
The issue does not appear in PHP 7.4
WPML Info & Config:
- Version: 4.6.7 (latest)
- Language URL format: Different languages in directories
- Language filtering for AJAX operations: Enabled
Ajax Search Pro Info & Config:
- Version: 4.26.2 (latest)
- Use the custom ajax handler: Disabled
- WPML compatibility: Enabled
Unfortunately the said plugin isn't on our compatibility list and we don't have much reported about it in our forums too.
Apparently I'll advise to check with plugin author and can return with any useful/technical information which I can then discuss with my team.
Theme and plugin authors are welcome to join WPML’s Go Global program, which helps them make their code multilingual ready. Together with WPML’s compatibility team, they can test and confirm that their theme or plugin works with WPML. See https://wpml.org/documentation/support/go-global-program/ for details and you can refer your theme/plugin provider to this as well.
Besides that, I'll also advise to check with only WPML, Ajax Search Pro and a default WP theme too (if you haven't) to ensure that issue occurs in a minimal setup too. Remember to take full backup before trying this.
Please let me know your findings and any information you receive from the plugin author. And I'll try my best to further help you on the matter.
Regards.
The topic ‘[Closed] WPML and Ajax Search Pro Issues in PHP 8.2’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.