#65212 closed defect (bug) (invalid)
Uncaught exception TypeError in formatting.php
| Reported by: |
|
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
#2
@
4 weeks ago
- Severity changed from critical to normal
This is not a bug. The patch will just hide the error.
#3
@
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?
Note: See
TracTickets for help on using
tickets.
https://core.trac.wordpress.org/ticket/65212
Trac ticket:
## Use of AI Tools