PHP 8 compatibility issues
-
Thank you offering this amazing plugin! Our team is currently preparing to upgrade our servers from PHP 7.4 to PHP 8.3. As part of this process, we conducted a review of your plugin to check for PHP 8 compatibility.
During our investigation, we identified the two errors listed below. Would your team be able to look into these and advise whether they can be addressed in a future update?
Details are provided below:
FILE: core/admin-themes.php Line 188
Passing the $glue and $pieces parameters in reverse order to implode has been deprecated since PHP 7.4 and is removed since PHP 8.0; $glue should be the first parameter and $pieces the second
FILE: core/admin-extensions.php Line 187
Passing the $glue and $pieces parameters in reverse order to implode has been deprecated since PHP 7.4 and is removed since PHP 8.0; $glue should be the first parameter and $pieces the second
The fix should be straight forward, just need to swap the parameters so implode( wptouch_get_theme_features(), ‘, ‘ ); should be implode( ‘,’, wptouch_get_theme_features() );
You must be logged in to reply to this topic.