Hello team
Any updates about this issue? I’ve found more errors with PHP 8.2 server:
[21-Aug-2024 13:57:45 UTC] PHP Deprecated: Return type of FtpClient\FtpClient::count($directory = ‘.’, $type = null, $recursive = true) should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/1253731.cloudwaysapps.com/xxxxx/public_html/wp-content/plugins/shareasale-wc-tracker/includes/FtpClient/FtpClient.php on line 543
[21-Aug-2024 13:57:46 UTC] PHP Deprecated: Creation of dynamic property ShareASale_WC_Tracker_Autovoid::$options is deprecated in /home/1253731.cloudwaysapps.com/xxxxx/public_html/wp-content/plugins/shareasale-wc-tracker/includes/class-shareasale-wc-tracker-autovoid.php on line 16
[21-Aug-2024 13:57:46 UTC] PHP Deprecated: Return type of FtpClient\FtpClient::count($directory = ‘.’, $type = null, $recursive = true) should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/1253731.cloudwaysapps.com/xxxxx/public_html/wp-content/plugins/shareasale-wc-tracker/includes/FtpClient/FtpClient.php on line 543
[21-Aug-2024 13:57:48 UTC] PHP Deprecated: Creation of dynamic property ShareASale_WC_Tracker_Autovoid::$options is deprecated in /home/1253731.cloudwaysapps.com/xxxxx/public_html/wp-content/plugins/shareasale-wc-tracker/includes/class-shareasale-wc-tracker-autovoid.php on line 16
[21-Aug-2024 13:57:48 UTC] PHP Deprecated: Return type of FtpClient\FtpClient::count($directory = ‘.’, $type = null, $recursive = true) should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/1253731.cloudwaysapps.com/xxxxx/public_html/wp-content/plugins/shareasale-wc-tracker/includes/FtpClient/FtpClient.php on line 543
^[[B
We have this errors.
https://ibb.co/8KK6jnb
I’d rather not modify the plugin.
Please respond.
-
This reply was modified 1 year, 4 months ago by
joemarie.
@quadlayers I brought these up over 5 months ago without so much as a response from them. I think we may have to just patch this plugin ourselves.
Keep in mind that while PHP 9.0 is in the very early stages, but supposedly this will throw fatal errors for dynamic properties once that’s released.
I can’t speak for the FtpClient issue.