Highligh.php cannot pass null to trim() line 701

Created on 19 June 2024, 9 days ago
Updated 22 June 2024, 6 days ago

Problem/Motivation

When enabling the highlight functionality and using the search excerpt field display it was possible that null was being passed to the trim function in the aforementioned file in the title.

πŸ› Bug report
Status

Postponed: needs info

Version

1.35

Component

General code

Created by

πŸ‡ΊπŸ‡ΈUnited States brayn7 Lexington, Ky

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @brayn7
  • Pipeline finished with Success
    9 days ago
    Total: 325s
    #202934
  • Status changed to Postponed: needs info 6 days ago
  • πŸ‡¦πŸ‡ΉAustria drunken monkey Vienna, Austria

    Thanks for reporting this problem!
    However, it would be interesting to know why $text was NULL. It seems the preg_replace() failed – were there any errors logged or displayed? Could you reproduce the problem?

Production build 0.69.0 2024