Title: Deprecated Code
Last modified: November 18, 2023

---

# Deprecated Code

 *  Resolved [mrlinuxnerd](https://wordpress.org/support/users/mrlinuxnerd/)
 * (@mrlinuxnerd)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/deprecated-code-31/)
 * There’s a lot of deprecated code upon acctivation of the pluign. See below:
   **
   Deprecated**: Using ${var} in strings is deprecated, use {$var} instead in **/
   wp-content/plugins/wp-user-frontend/wpuf-functions.php** on line **4157****Deprecated**:
   Using ${var} in strings is deprecated, use {$var} instead in **/wp-content/plugins/
   wp-user-frontend/admin/form.php** on line **36****Deprecated**: Creation of dynamic
   property WPUF_WeDevs_Insights::$insights is deprecated in **/wp-content/plugins/
   wp-user-frontend/lib/class-wedevs-insights.php** on line **29****Deprecated**:
   strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated
   in **/wp-includes/functions.php** on line **7241****Deprecated**: str_replace():
   Passing null to parameter #3 ($subject) of type array|string is deprecated in**/
   wp-includes/functions.php** on line **2187****Deprecated**: Funktionen print_emoji_styles
   är föråldrad sedan version 6.4.0! Använd wp_enqueue_emoji_styles i stället. in**/
   wp-includes/functions.php** on line **6031****Deprecated**: Funktionen wp_admin_bar_header
   är föråldrad sedan version 6.4.0! Använd wp_enqueue_admin_bar_header_styles i
   stället. in **/wp-includes/functions.php** on line **6031**
 * Can this be fixed and updated?

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

 *  [Saiful Islam](https://wordpress.org/support/users/saifislam01/)
 * (@saifislam01)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/deprecated-code-31/#post-17212979)
 * Hi [@mrlinuxnerd](https://wordpress.org/support/users/mrlinuxnerd/),
 * I appreciate your diligence in bringing these issues to our attention. I understand
   the importance of resolving deprecated code errors, and I’m here to assist you.
 * Upon reviewing the error messages you provided, it appears that the WP User Frontend
   plugin is utilizing deprecated code in various files. Rest assured, we take this
   matter seriously and are committed to addressing and resolving these issues promptly.
 * I have forwarded the details to our development team, and they are currently 
   investigating the codebase to identify and rectify the deprecated code instances.
 * If you have any further concerns, please feel free to reach out.
 * Best regards,
 *  [mikaidt](https://wordpress.org/support/users/mikaidt/)
 * (@mikaidt)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/deprecated-code-31/#post-17287685)
 * (I posted this message in another thread, but after two weeks of waiting with
   no reponse, I’ll try to repeat it here:)
   We often use the “internal embed” function,
   referring our users to other blogposts and articles we have published. However,
   since the latest WordPress update, all these embedded references now come up 
   with this code-snippet on top of them:“**Deprecated**: Function print_emoji_styles
   is deprecated since version 6.4.0! Use wp_enqueue_emoji_styles instead. in **/
   home/[directoryxx]/public_html/wp-includes/functions.php** on line **6031**“I
   noticed soon after the update that the WordPress technicians are aware of the
   problem, so I was hoping there’d be a new upgrade where the issue would then 
   be fixed. But that hasn’t happened so far.It is becoming unbearable that our 
   users have to see this error on almost all our pages.I was hoping that the upgrade
   to 6.4.2 would fix it, but no – it didn’t.Is there a way to remove this line 
   which appears on almost every page on our website? (where we have 1,000 pages)
 * If you scroll to the bottom of this page: [https://climatesafety.info/climaterevolution6/](https://climatesafety.info/climaterevolution6/)
   
   you will see what I am talking about.

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

The topic ‘Deprecated Code’ is closed to new replies.

 * ![](https://ps.w.org/wp-user-frontend/assets/icon-256x256.gif?rev=2818776)
 * [User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration](https://wordpress.org/plugins/wp-user-frontend/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-frontend/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-frontend/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-frontend/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-frontend/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-frontend/reviews/)

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)

 * 2 replies
 * 3 participants
 * Last reply from: [mikaidt](https://wordpress.org/support/users/mikaidt/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/deprecated-code-31/#post-17287685)
 * Status: resolved