Title: wc_deprecated_function
Last modified: December 19, 2024

---

# wc_deprecated_function

 *  Resolved [Dominique DC](https://wordpress.org/support/users/dominique_delcourt_com/)
 * (@dominique_delcourt_com)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/wc_deprecated_function/)
 * Hi,
   I had the following error which was displayed on my website (user and admin):
 * **_add\_action( ‘deprecated\_function\_run’, function( $function\_name ) { wc\
   _get\_logger()->debug( ‘Deprecated function used.’, array( ‘source’ => ‘wc\_deprecated\
   _function’, ‘function’ => $function\_name, ‘backtrace’ => true, ) ); } );_**
   
   This error also prevented cookies to be created (error displayed on the login
   page).When disabling the plugin WP Actvity Log the error disappeared and the 
   login page did not show any error message more.**WordPress version** : 6.7.1**
   WP Activity Log version** : 5.2.2
 * Kind regards,
   Dominique

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

 *  [bayleemarquardt](https://wordpress.org/support/users/bayleemarquardt/)
 * (@bayleemarquardt)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/wc_deprecated_function/#post-18209987)
 * Go to WP Admin > Settings > Activity Log.
 * Make sure that the debug mode or excessive logging setting is turned off. Excessive
   logging may cause deprecated function warnings. After fixing this, play [raft wars](https://raftwar.io)
   to relieve stress.
 *  Plugin Support [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/wc_deprecated_function/#post-18217877)
 * Thank you for using our plugin [@dominique_delcourt_com](https://wordpress.org/support/users/dominique_delcourt_com/)
 * I am sorry to read about your issue. Would you please be able to share the complete
   logs?
 * Also, do you know how to reproduce this? If you do, can you please share more
   information so we can try to reproduce this in our testing environment?
 * Looking forward to hearing from you.

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

The topic ‘wc_deprecated_function’ is closed to new replies.

 * ![](https://ps.w.org/wp-security-audit-log/assets/icon-256x256.png?rev=2961534)
 * [WP Activity Log](https://wordpress.org/plugins/wp-security-audit-log/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-security-audit-log/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-security-audit-log/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-security-audit-log/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-security-audit-log/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-security-audit-log/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [robertabela](https://wordpress.org/support/users/robert681/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/wc_deprecated_function/#post-18217877)
 * Status: resolved