This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Exception
This topic contains 2 replies, has 2 voices.
Last updated by Lauren 1 year, 3 months ago.
Assisted by: Lauren.
Author | Posts |
---|---|
September 28, 2023 at 6:48 pm #14484219 | |
idreesD |
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/csi/html/wp-includes/functions.php on line 7127 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/csi/html/wp-includes/functions.php on line 2182 |
September 28, 2023 at 7:40 pm #14484331 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
Do you currently have a staging site set up with PHP 8.2 where I can login and test this with WPML active only and a default theme? If you do, it may be quicker for me to troubleshoot and escalate if needed. I would need to be able to disable non WPML plugins, activate a default theme, and install a file management plugin to confirm the debug rules in wp-config.php. If that is possible, please send credentials in the next reply which is marked as private and has feilds for the login information. Thanks! |
September 29, 2023 at 5:46 pm #14489421 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
Thanks for providing a staging site where I could test. I found that even with WPML deactivated, the warnings are still showing up at the top of your site. Furthermore, when I deactivate the custom theme, all errors are resolved. So the errors/warnings are coming from the custom theme. You can see here that if you switch to a default theme such as Twenty Twenty Two, the notices disappear. I have attached screenshots so you can see the comparison, as I enabled the theme and all plugins again after running these tests. The only thing showing with WPML active is a string translation message, which seems to be a permissions issue on your folders. Make sure those folders are writable, and if that message persists, feel free to open up a new chat and we will be happy to troubleshoot that error specifically. |