Autoloader: deprecation notice when using PHP 8.3 #37172
Labels
[Focus] Compatibility
Ensuring our products play well with third-parties
[Package] Autoloader
[Plugin] Jetpack
Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/
[Pri] Normal
[Status] Priority Review Triggered
The guild in charge of triage has been notified of this issue in Slack
Triaged
[Type] Bug
When a feature is broken and / or not performing as intended
Impacted plugin
Jetpack
Quick summary
After installing latest Ubuntu server 24.04 with PHP 8.3.6 and loading up WordPress 6.5.2 and porting across the database and then loading WooCommerce. If debugging is enabled, the following error message is generated.
This indicates that a guard rail should be provided in this function to deal with strlen() being passed a null paramater.
Steps to reproduce
1 Install ubuntu 24.04 wwith PHP 8.3.6 and other necessary applications.
2 Install WordPress 6.5.2.
3 Port across MySQL database.
4 Enable debug in wp-config.php with define('WP_DEBUG', true); and define('WP_DEBUG_LOG', true);
5 Install WooCommerce.
6 As soon as WooCommerce is loaded, the error is displayed on admin console and in error logs.
A clear and concise description of what you expected to happen.
There should be no message about depreciated call.
After reporting to WooCommerce sithub at woocommerce/woocommerce#47001 this was closed saying to report the issue to Jetpack.
What actually happened
Impact
All
Available workarounds?
No but the platform is still usable
Platform (Simple and/or Atomic)
Self-hosted
Logs or notes
Ubuntu 24.04
Server Info: Apache/2.4.58 (Ubuntu)
PHP Version: 8.3.6
WordPress: 6.5.2
WooCommerce : 8.8.2
The text was updated successfully, but these errors were encountered: