• Resolved dimal

    (@dimalifragis)


    Hi.

    Wordpress 6.x and PHP 8:

    [20-Sep-2022 19:00:43 UTC] PHP Warning: mb_substr() expects parameter 2 to be int, string given in /home/wp-content/plugins/recently/src/Helper.php on line 133

    Thanks !

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @dimalifragis,

    Could you please include reproduction steps? The PHP warning message alone isn’t enough for me to understand what’s going on.

    Thread Starter dimal

    (@dimalifragis)

    This is happening when the admin designs the page, at some point.

    I use Guterberg to show the block in a page and not in sidebar as widget, if this is any help.

    I use Columns block (2 columns) and i add your block in each.

    Other than that, i don’t know EXACTLY when it happens. But NOT when i view the page normally. So it is definitely an admin/design issue.

    I use Kadence theme if it makes any difference.

    Thanks

    Plugin Author Hector Cabrera

    (@hcabrera)

    So basically while adding/editing the Recently block in a Post/Page Edit screen, but not when viewing it on the front-end? That’s odd. I’ll look into it.

    Thread Starter dimal

    (@dimalifragis)

    Yes, this is what happens. After publishing it, i see no errors.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @dimalifragis,

    Just launched a new version of the plugin that should fix this issue. Please upgrade as soon as possible and let me know if you have any further comments.

    Thanks for reporting the problem!

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

The topic ‘PHP Warning: mb_substr()’ is closed to new replies.