• Resolved Thomas

    (@thomhsb)


    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.1

    Is something wrong with my shortcode settings?

    • This topic was modified 1 year ago by Thomas.
    • This topic was modified 1 year ago by Thomas.
    • This topic was modified 1 year ago by Thomas.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Steve Burge

    (@stevejburge)

    Hi @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

    (@thomhsb)

    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

    (@thomhsb)

    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

    (@stevejburge)

    Yes, there is. You can safely ignore “Deprecated” messages.

    Thread Starter Thomas

    (@thomhsb)

    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 8 months ago by Thomas.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error message / Deprecated: mb_substr():’ is closed to new replies.