PHP fatal error after upgrade to php 8.0
-
Dear all, i’m using from a long time a profile module where i have a checkbox field. After i updated php from 7.4 to 8.0 i tried to use profile module but when a user change checkbox field value (from website page) and try to confirm is getting an error.
PHP Fatal error: Uncaught TypeError: strip_tags(): Argument #1 ($string) must be of type string, array given in /web/htdocs/.../home/wp-includes/formatting.php:2258 Stack trace: 0 /web/htdocs/…/home/wp-includes/formatting.php(2258): strip_tags() 1 /web/htdocs/…/home/wp-includes/class-wp-hook.php(308): sanitize_title_with_dashes() 2 /web/htdocs/…/home/wp-includes/plugin.php(205): WP_Hook->apply_filters() 3 /web/htdocs/…/home/wp-includes/formatting.php(2219): apply_filters() 4 /web/htdocs/…/home/wp-includes/formatting.php(2239): sanitize_title() 5 /web/htdocs/…/home/wp-includes/class-wp-query.php(2090): sanitize_title_for_query() 6 /web/htdocs/…/home/wp-includes/class-wp-query.php(3749): WP_Query->get_posts() 7 /web/htdocs/…/home/wp-includes/class-wp.php(663): WP_Query->query() 8 /web/htdocs/…/home/wp-includes/class-wp.php(783): WP->query_posts() 9 /web/htdocs/…/home/wp-includes/functions.php(1332): WP->main() 10 /web/htdocs/…/home/wp-blog-header.php(16): wp() 11 /web/htdocs/…/home/index.php(17): require('…') 12 {main}
I’m using wordpress 6.1.1, UM 2.5.3
Can you help me?
Bests
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘PHP fatal error after upgrade to php 8.0’ is closed to new replies.