preg_replace(): Passing null to parameter #3 ($subject)
-
Hi, after updating to newest (7.7.0) version I can see PHP warnings.
It is my staging site, so debug is on.
preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
wp-includes/kses.php:1805
preg_replace()
wp-includes/kses.php:1805
wp_kses_no_null()
wp-includes/kses.php:752
wp_kses()
wp-includes/kses.php:2232
wp_kses_post()
wp-content/plugins/lifterlms/includes/shortcodes/class.llms.shortcodes.php:381
LLMS_Shortcodes::memberships()
wp-content/plugins/lifterlms/includes/shortcodes/class.llms.shortcodes.php:381
LLMS_Shortcodes_Blocks->render_block()
wp-includes/class-wp-block.php:519
WP_Block->render()
wp-includes/blocks.php:2061
render_block()
wp-includes/blocks.php:2113
do_blocks()
wp-includes/class-wp-hook.php:324
apply_filters('the_content')
wp-includes/post-template.php:256
the_content()
wp-content/themes/hueman/tmpl/page-tmpl.php:8
load_template('wp-content/themes/hueman/tmpl/page-tmpl.php')
wp-includes/template.php:745
locate_template()
wp-includes/general-template.php:206
get_template_part('tmpl/page-tmpl')
wp-content/themes/hueman/functions/init-front.php:1741
hu_get_template_part()
wp-content/themes/hueman/functions/init-front.php:27
hu_get_content()
wp-content/themes/hueman/page.php:3Looks, that it is connected to Memberships short-code and Memberships block.
It was not an issue on the previous version.
My site uses:
PHP: 8.1.29
WordPress: 6.6.1
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- You must be logged in to reply to this topic.