Update post using gravity forms 2019 solution

I found a solution to fix this issue on the plugin Github page.

It’s not ideal, but a work around until Gravity Forms makes this a core feature.

https://github.com/jupitercow/gravity-forms-post-updates

To fix the error and allow the plugin to be installed, you have to change…

row 1021 in file gravityforms-update-post.php

from (version 1.2.17)…

add_filter( 'gform_field_value_' . $field['inputName'], function($value) use($value) { return $value; } );

to…

add_filter( 'gform_field_value_' . $field['inputName'], function($v) use($value) { return $v; } );

Thanks to bagendahl. So far i’ve not stumbled across any issues.

See the original Github issue thread here.

Hope this saves someone some time.