Make WordPress Core

Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#65212 closed defect (bug) (invalid)

Uncaught exception TypeError in formatting.php

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

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.


3 months ago
#1

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

Trac ticket:

## Use of AI Tools

#2 @knutsp
3 months ago

  • Severity criticalnormal

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

#3 @wildworks
3 months 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
3 months ago

  • Resolutioninvalid
  • Status newclosed

#5 @sabernhardt
3 months ago

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