Skip to content

PHP Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated #473

@ipajen

Description

@ipajen

Environment

  • WordPress: 6.6-beta2
  • PHP: 8.3.7
  • Server: LiteSpeed
  • Database: mysqli (Server: 10.6.18-MariaDB / Client: mysqlnd 8.3.7)
  • Browser: Edge 125.0.0.0 (Windows 10/11)
  • Theme: Twenty Twenty-Four 1.1
  • MU-Plugins:
    • block-automation-by-installatron.php
    • Health Check Troubleshooting Mode 1.9.0
  • Plugins:
    • Core Rollback 1.3.5
    • Enable jQuery Migrate Helper 1.4.0
    • Health Check & Troubleshooting 1.7.0
    • Limit Login Attempts Reloaded 2.26.9
    • Plugin Check (PCP) 1.0.1
    • Plugin Compatibility Checker 3.0.1
    • Query Monitor 3.16.3
    • Stop User Enumeration 1.6
    • WordPress Beta Tester 3.5.5
    • WPVulnerability 3.2.0

Steps to Reproduce

  1. Enable Debug logging
  2. Install and activate the plugin Health Check & Troubleshooting
  3. Navigate to Tools - Site Health - Tools
  4. 🐞 Bug occurs. Following shows in the log files:
    PHP Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in xx/public_html/blog/wp-includes/formatting.php on line 4720

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions