backdrop-contrib / diff

Show differences between content revisions.
GNU General Public License v2.0
0 stars 5 forks source link

Passing null to parameter - str_replace(), explode() #32

Open herbdool opened 9 months ago

herbdool commented 9 months ago

I get these errors when viewing a diff, under PHP 8.1:

Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in diff_diffs_show() (line 176 of /app/httpdocs/modules/diff/diff.pages.inc). Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in diff_get_rows() (line 501 of /app/httpdocs/modules/diff/diff.module). Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in diff_get_rows() (line 502 of /app/httpdocs/modules/diff/diff.module).