-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 7.1 - Fatal error - Cannot use lexical variable $value as a parameter name #16
Comments
Also need this to be fixed, I've submitted a pull request. |
Solution for PHP 7.1 and above. Change row 1021 in file gravityforms-update-post.php From: To: |
Hi, sorry I think maybe I'm not in the right place for that but I have this code for pre-populate Gravity Forms (using cookies) but it's not compatible with PHP 7.1 (only PHP 7.0). Can you help me rewrite that to work properly with PHP 7.1. Sorry, I'm not a coder. Here is de code: `/* ----- create cookies to remember items for auction gravity forms ----- */ add_filter("gform_pre_render", "add_auto_update_filters");
}` In PHP 7.1 return that I can't use lexical variable $fieldName as a parameter name in line 28. Huge thanks for your help. |
It doesn't look as if this is being actively updated? I'm thinking of setting up a fork of it with the change suggested by @bagendahl Would that be useful. Been a while since I've mucked about with WordPress, can plugins be updated via github now or is it still the crusty svn repo system? |
I'm not familiar with gravity-forms-post-updates,
Notice:
|
Just migrated a client's site onto a new server with PHP 7.1.
Upon trying to activate the plugin I am faced with the following error:
Fatal error: Cannot use lexical variable $value as a parameter name in /home/forge/site1/public/wp-content/plugins/gravity-forms-post-updates/gravityforms-update-post.php on line 1021
The text was updated successfully, but these errors were encountered: