• Hello team

    We’re receiving this PHP erros in the logs:

    [14-Aug-2024 19:33:32 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/xxx/public_html/wp-content/plugins/shareasale-wc-tracker/includes/FtpClient/FtpClient.php on line 543

    [14-Aug-2024 19:33:33 UTC] PHP Deprecated: Creation of dynamic property ShareASale_WC_Tracker_Autovoid::$options is deprecated in /home/1253731.cloudwaysapps.com/xx/public_html/wp-content/plugins/shareasale-wc-tracker/includes/class-shareasale-wc-tracker-autovoid.php on line 16

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter quadlayers

    (@quadlayers)

    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 month, 4 weeks 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.