Make WordPress Core

Opened 4 weeks ago

Closed 4 weeks ago

Last modified 3 weeks ago

#65212 closed defect (bug) (invalid)

Uncaught exception TypeError in formatting.php

Reported by: harishtewari's profile harishtewari Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.9.4
Component: General Keywords: has-patch
Focuses: Cc:

Description

Error message:
Uncaught exception 'TypeError' with message 'strip_tags(): Argument #1 ($string) must be of type string, array given' in /var/www/wp-includes/formatting.php

Change History (5)

This ticket was mentioned in PR #11782 on WordPress/wordpress-develop by @harishtewari.


4 weeks ago
#1

https://core.trac.wordpress.org/ticket/65212

Trac ticket:

## Use of AI Tools

#2 @knutsp
4 weeks ago

  • Severity changed from critical to normal

This is not a bug. The patch will just hide the error.

#3 @wildworks
4 weeks ago

It is natural for an error to occur when a value with a type that the function does not expect is passed as an argument. It is not a good approach to hide errors.

@harishtewari, could you provide more details about the test procedure and the circumstances under which this error occurred?

#4 @harishtewari
4 weeks ago

  • Resolution set to invalid
  • Status changed from new to closed

#5 @sabernhardt
3 weeks ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.