Title: PHP errors
Last modified: August 14, 2024

---

# PHP errors

 *  [quadlayers](https://wordpress.org/support/users/quadlayers/)
 * (@quadlayers)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/php-errors-322/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-errors-322%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [quadlayers](https://wordpress.org/support/users/quadlayers/)
 * (@quadlayers)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/php-errors-322/#post-17966919)
 * 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
 *  [joemarie](https://wordpress.org/support/users/joemarie/)
 * (@joemarie)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/php-errors-322/#post-18034419)
 * We have this errors. 
   [https://ibb.co/8KK6jnb](https://ibb.co/8KK6jnb)I’d rather
   not modify the plugin. Please respond.
    -  This reply was modified 1 year, 8 months ago by [joemarie](https://wordpress.org/support/users/joemarie/).
 *  [njeffers](https://wordpress.org/support/users/njeffers/)
 * (@njeffers)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/php-errors-322/#post-18127896)
 * [@quadlayers](https://wordpress.org/support/users/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)

The topic ‘PHP errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shareasale-wc-tracker_c6dcf0.svg)
 * [ShareASale WooCommerce Tracker](https://wordpress.org/plugins/shareasale-wc-tracker/)
 * [Support Threads](https://wordpress.org/support/plugin/shareasale-wc-tracker/)
 * [Active Topics](https://wordpress.org/support/plugin/shareasale-wc-tracker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shareasale-wc-tracker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shareasale-wc-tracker/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [njeffers](https://wordpress.org/support/users/njeffers/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/php-errors-322/#post-18127896)
 * Status: not resolved