Title: Error message / Deprecated: mb_substr():
Last modified: November 23, 2023

---

# Error message / Deprecated: mb_substr():

 *  Resolved [Thomas](https://wordpress.org/support/users/thomhsb/)
 * (@thomhsb)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/error-message-deprecated-mb_substr/)
 * Hi Team,
   For your information, when I use the following shortcode:[tag_groups_tag_list
   column_count=1 hide_empty_content=1 include=2,3,4,5,8]I get this error line (
   four times):**Deprecated**: mb_substr(): Passing null to parameter #1 ($string)
   of type string is deprecated in **/home/xxxx/xxxx.fr/modules/tag-groups/include/
   helpers/class.shortcode_common.php** on line **77**WordPress : 6.4.1 PHP 8.1Is
   something wrong with my shortcode settings?
    -  This topic was modified 2 years, 6 months ago by [Thomas](https://wordpress.org/support/users/thomhsb/).
    -  This topic was modified 2 years, 6 months ago by [Thomas](https://wordpress.org/support/users/thomhsb/).
    -  This topic was modified 2 years, 6 months ago by [Thomas](https://wordpress.org/support/users/thomhsb/).

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

 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/error-message-deprecated-mb_substr/#post-17232556)
 * Hi [@thomhsb](https://wordpress.org/support/users/thomhsb/)
 * Thanks for using Tag Groups. You can safely ignore and hide deprecated errors.
   They are only advice for developers.
 * We’ll remove this in the next version of the plugin.
 *  Thread Starter [Thomas](https://wordpress.org/support/users/thomhsb/)
 * (@thomhsb)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/error-message-deprecated-mb_substr/#post-17233433)
 * Hi Steve,
   Of course, I hide them and ignore them, but my server records these
   errors in the logs and it’s just a lot of lines all the time 😉 Thanks in advance
   for the correction.
 *  Thread Starter [Thomas](https://wordpress.org/support/users/thomhsb/)
 * (@thomhsb)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/error-message-deprecated-mb_substr/#post-17530566)
 * “_We’ll remove this in the next version of the plugin._“
   Hello,How are you?Is
   there really a next version in the pipeline?
 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/error-message-deprecated-mb_substr/#post-17532612)
 * Yes, there is. You can safely ignore “Deprecated” messages.
 *  Thread Starter [Thomas](https://wordpress.org/support/users/thomhsb/)
 * (@thomhsb)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/error-message-deprecated-mb_substr/#post-17533039)
 * From a security point of view, yes. But I’m not ignoring the 3,000 lines that
   clutter up the log file every month, it’s annoying. 
   So, I took care of it myself
   with a simple ” if(!empty($value)){} “And I should have done it from the start
   after all.Thanks anyway.
    -  This reply was modified 2 years, 2 months ago by [Thomas](https://wordpress.org/support/users/thomhsb/).

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

The topic ‘Error message / Deprecated: mb_substr():’ is closed to new replies.

 * ![](https://ps.w.org/tag-groups/assets/icon-256x256.png?rev=2853023)
 * [Tag Groups is the Advanced Way to Display Your Taxonomy Terms](https://wordpress.org/plugins/tag-groups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tag-groups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tag-groups/)
 * [Active Topics](https://wordpress.org/support/plugin/tag-groups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tag-groups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tag-groups/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Thomas](https://wordpress.org/support/users/thomhsb/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/error-message-deprecated-mb_substr/#post-17533039)
 * Status: resolved