GravityKit / GravityView

The best and easiest way to display Gravity Forms entries on your website.
https://www.gravitykit.com/products/gravityview/
245 stars 62 forks source link

Deprecated noticed on Entry Notes field in PHP 8.1 #2001

Closed rafaehlers closed 4 months ago

rafaehlers commented 4 months ago

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 );