0
Welcome Guest! Login
0 items Join Now

htmlspecialchars error in Gantry 5 / Clarity 1.5

  • htmlspecialchars error in Gantry 5 / Clarity 1.5

    Posted 5 months 1 week ago
    • Encountering this in the Clarity 1.5 Theme with PHP 8.2:

      Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/<mysite>/public_html/templates/rt_clarity/html/layouts/chromes/gantry.php on line 31

      Any thoughts on how to fix?
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 21585
    • Thanks: 3095
    • messin' with stuff

    Re: htmlspecialchars error in Gantry 5 / Clarity 1.5

    Posted 5 months 1 week ago
    • Please always search the forums before posting, there's dozens of posts about this.

      Deprecated warnings are not service impacting and can be ignored. Turn down your Joomla Error Reporting to hide the notices.

      You can copy/replace the same file from the Helium Theme to remove to the error

      gantry.org/downloads
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:

Time to create page: 0.047 seconds