• Resolved ewd910

    (@ewd910)


    Hi, upon updating my site to use PHP 8.1, I received the following notice at the top of my site –

    Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in .../wp-includes/class-wp-block-parser.php on line 417 
    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in .../wp-includes/class-wp-block-parser.php on line 489

    I was able to trace the problem to Spectra. Is this being tracked / any plans to address this in an update?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mohsinbsf

    (@mohsinbsf)

    Hi @ewd910,

    Sorry for the inconvenience caused to you.

    We are trying our best to make our plugin fully compatible with PHP 8.1. The notices that you are getting are the warnings. You can avoid these warnings by turning off the debugger from wp-config.php.

    Please refer to this link that will help you in turning off the WP_DEBUG .

    I hope that helps. Let me know how it goes.

    Have a nice day!

    Plugin Support mohsinbsf

    (@mohsinbsf)

    Hi @ewd910,

    It’s been long since we heard from you. I am going ahead to mark this as resolved.

    Please feel free to open a new thread in case of any other queries.

    Have a nice day!

    Thread Starter ewd910

    (@ewd910)

    When will this be resolved? turning off wp_debug is not a solution

    Plugin Support mohsinbsf

    (@mohsinbsf)

    Hi @ewd910,

    I have increased the priority, we will release the updated version of the plugin as soon as it is done.

    Have a nice day!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deprecated notice on PHP 8.1’ is closed to new replies.