Title: PHP Deprecated: Function wp_admin_bar_header
Last modified: February 14, 2024

---

# PHP Deprecated: Function wp_admin_bar_header

 *  Resolved [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-deprecated-function-wp_admin_bar_header/)
 * Hi,
 * Installing Directorist, no plugins, WP 6.4.x and PHP 8.2.x
 * and going with the initian wizard:
 * [14-Feb-2024 12:55:01 Europe/Athens] PHP Deprecated: Function wp_admin_bar_header
   is deprecated since version 6.4.0! Use wp_enqueue_admin_bar_header_styles instead.
   in /home/wp-includes/functions.php on line 6031
 * Thanks

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

 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-deprecated-function-wp_admin_bar_header/#post-17424811)
 * This also comes from your plugin, since i have no plugins installed just a theme(
   Kandence).
 * [14-Feb-2024 11:26:20 UTC] PHP Deprecated: strip_tags(): Passing null to parameter#
   1 ($string) of type string is deprecated in /home/wp-admin/admin-header.php on
   line 36
 *  Plugin Support [Mahfuzul Alam](https://wordpress.org/support/users/mahfuz87/)
 * (@mahfuz87)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-deprecated-function-wp_admin_bar_header/#post-17426474)
 * Hello [@dimalifragis](https://wordpress.org/support/users/dimalifragis/)
 * Thank you for reaching out. I have checked and found that, we have not used the
   following function “wp_admin_bar_header” in out plugin.
 * Could you please activate the wordpress default theme (any tweenty tweenty theme)
   and check if you still find the issue.
 * Thank you for your coopeartion.
 * Kind Regards
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-deprecated-function-wp_admin_bar_header/#post-17427074)
 * I will and update here.
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-deprecated-function-wp_admin_bar_header/#post-17427203)
 * Still happens during Installation/Wizard of Directorist, with default theme of
   WP as suggested.
 * I don’t know if this is a one time issue during initial setup and if it happens
   after that.
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-deprecated-function-wp_admin_bar_header/#post-17432690)
 * This
 * [17-Feb-2024 13:27:02 Europe/Athens] PHP Deprecated: strip_tags(): Passing null
   to parameter #1 ($string) of type string is deprecated in /home/wp-admin/admin-
   header.php on line 36
 * happening using the Importer tool.
 * Shall i continue to report issues here? I see no reaction or fix for those and
   in general.
 * Is it a waste of my time? It takes time to find those, make a video, post here
   and watch if fixed.
 *  Plugin Support [Mahfuzul Alam](https://wordpress.org/support/users/mahfuz87/)
 * (@mahfuz87)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-deprecated-function-wp_admin_bar_header/#post-17444578)
 * Hello [@dimalifragis](https://wordpress.org/support/users/dimalifragis/)
 * Thank you for the response. Could you please provide the full error log report
   here, so we can find the issue? I could not find any use of ‘strip_tags’ functions
   in the directorist plugin.
 * It will be helpful for us to check the full error log to find the issue here.
   Thank you for your understanding.
 * Kind Regards
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-deprecated-function-wp_admin_bar_header/#post-17445161)
 * Hi,
 * Full? This is full from debug.log, there is nothing else. Or you mean something
   else?
 * Happens during Importing ….
 * Thank you !!!

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

The topic ‘PHP Deprecated: Function wp_admin_bar_header’ is closed to new replies.

 * ![](https://ps.w.org/directorist/assets/icon-256x256.gif?rev=3185058)
 * [Directorist: AI-Powered Business Directory, Listings & Classified Ads](https://wordpress.org/plugins/directorist/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/directorist/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/directorist/)
 * [Active Topics](https://wordpress.org/support/plugin/directorist/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/directorist/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/directorist/reviews/)

## Tags

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

 * 7 replies
 * 2 participants
 * Last reply from: [dimal](https://wordpress.org/support/users/dimalifragis/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/php-deprecated-function-wp_admin_bar_header/#post-17445161)
 * Status: resolved