GravityKit/GravityView

Deprecated noticed on Entry Notes field in PHP 8.1

Closed this issue · 0 comments

I created a straightforward form (only one field), created a View and added the Entry Notes field to the Multiple Entries page and saw this:

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in C:\Users\rafae\Local Sites\gravitykit\app\public\wp-content\plugins\gravityview\includes\extensions\entry-notes\class-gravityview-field-notes.php on line 529

image

Tested on GV 2.20

Yes, I have WP_DEBUG enabled:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );