Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 14 replies, has 2 voices.

Last updated by Dražen Duvnjak 3 months ago.

Assigned support staff: Dražen Duvnjak.

Author Posts
March 17, 2020 at 8:11 pm #5705283

sylvainH

Hey wpml support,

I have the same problem as described in those issues, with no visible solution (only closed topics..):

- https://wpml.org/forums/topic/gravity-forms-multilingual-with-gravityflow/
- https://wpml.org/forums/topic/gravity-forms-multilingual-causes-error-from-notifications-sent-via-gravity-flow/

I have a similar error: when a Gravity Flow notification step is triggered, there is a warning in the logs and in the frontend (in my case because I use the frontend views of GravityFlow), and the multi-language component does not work as expected.
Here is the error:

```
Notice: Undefined index: workflow_step_14_user_1 in /app/web/app/plugins/gravityforms-multilingual/inc/gravity-forms-multilingual.class.php on line 967
```

Any advice ? How did you resolve the other issues ?

Thanks for your support,
Best,
Sylvain

gravityflow_wpml_error.png
March 19, 2020 at 7:32 pm #5722977

sylvainH

Hi Drazen,

Thank you very much for your support.
Unfortunatly I don't have time to recreate the steps on your clean instance.

But as proposed by @idealien in the second issue listed above ( https://wpml.org/forums/topic/gravity-forms-multilingual-causes-error-from-notifications-sent-via-gravity-flow/ ),
checking if the key for notification exist, work for the moment.

Would be cool to gracefully pass the error.

Be well,
S.

gform-notification-check.png
March 20, 2020 at 7:38 am #5725971

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Thanks for the info and feedback.

I understand, for us to move forward we would need to test this issue.

Is it possible for you to send me a copy of the Gravity Flow plugin so we can test the issue further? I have enabled the private reply where you can share the link safely.

Can you help us out speed the process up and if it possible share steps on how to recreate the issue? What needs to be set up in Gravity Flow and Gravity? It can be a simple dummy scenario.

I will be waiting for your update.

Regards,
Drazen

March 20, 2020 at 8:43 pm #5730557

sylvainH

Hey Drazen,

I'm only at the prototyping level actually, so I used only opensource packages (especially for this very expensive GravityForm plugin), all vailable on github.

So... I can share with you (and everybody interested) my entire `composer.json` if intersted, only acf-pro, wpml and admin-columns pro needs credits (__ENV vars declared in `.env` and loaded in wp-config with `define('ACF_PRO_KEY', getenv('ACF_PRO_KEY')); etc.`
I let you choose what you could possibly need.

I use Bedrock (and sage v9.0.9), but that is not a requirement ( if intersted hidden link ).

```json
{
"name": "roots/bedrock",
"type": "project",
"license": "MIT",
"description": "WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure",
"homepage": "hidden link",
"authors": [{
"name": "Scott Walkinshaw",
"email": "scott.walkinshaw@gmail.com",
"homepage": "hidden link"
},
{
"name": "Ben Word",
"email": "ben@benword.com",
"homepage": "hidden link"
}
],
"keywords": [
"bedrock", "composer", "roots", "wordpress", "wp", "wp-config"
],
"support": {
"issues": "hidden link",
"forum": "hidden link"
},
"repositories": [{
"type": "composer",
"url": "hidden link"
}, {
"type": "package",
"package": {
"name": "advanced-custom-fields/advanced-custom-fields-pro",
"version": "5.8.7",
"type": "wordpress-muplugin",
"dist": {
"type": "zip",
"url": "hidden link{%ACF_PRO_KEY}&t={%version}"
},
"require": {
"ffraenz/private-composer-installer": "^1.0",
"composer/installers": "^1.7"
}
}
}, {
"type": "package",
"package": {
"name": "codepress/admin-columns-pro",
"version": "5.0.3",
"type": "wordpress-muplugin",
"dist": {
"type": "zip",
"url": "hidden link{%AC_PRO_KEY}&product_key=admin-columns-pro&version={%version}"
},
"require": {
"ffraenz/private-composer-installer": "^1.0",
"composer/installers": "^1.7"
}
}
}, {
"type": "package",
"package": {
"name": "codepress/ac-addon-acf",
"version": "2.5.5",
"type": "wordpress-muplugin",
"dist": {
"type": "zip",
"url": "hidden link{%AC_PRO_KEY}&plugin_name=ac-addon-acf&version={%version}"
},
"require": {
"ffraenz/private-composer-installer": "^1.0",
"composer/installers": "^1.7"
}
}
}, {
"type": "package",
"package": {
"name": "wpml/wpml-multi-lingual-cms",
"version": "4.3.10",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://wpml.org/?download=6088&user_id={%WPML_USERID}&subscription_key={%WPML_KEY}&version={%version}"
},
"require": {
"ffraenz/private-composer-installer": "^1.0",
"composer/installers": "^1.7"
}
}
}, {
"type": "package",
"package": {
"name": "wpml/wpml-string-translation",
"version": "3.0.8",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://wpml.org/?download=6092&user_id={%WPML_USERID}&subscription_key={%WPML_KEY}&version={%version}"
},
"require": {
"ffraenz/private-composer-installer": "^1.0",
"composer/installers": "^1.7"
}
}
}, {
"type": "package",
"package": {
"name": "wpml/wpml-translation-management",
"version": "2.9.5",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://wpml.org/?download=6094&user_id={%WPML_USERID}&subscription_key={%WPML_KEY}&version={%version}"
},
"require": {
"ffraenz/private-composer-installer": "^1.0",
"composer/installers": "^1.7"
}
}
}, {
"type": "package",
"package": {
"name": "wpml/wpml-media-translation",
"version": "2.5.5",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://wpml.org/?download=7474&user_id={%WPML_USERID}&subscription_key={%WPML_KEY}&version={%version}"
},
"require": {
"ffraenz/private-composer-installer": "^1.0",
"composer/installers": "^1.7"
}
}
}, {
"type": "package",
"package": {
"name": "wpml/acfml",
"version": "1.6.1",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://wpml.org/?download=1097589&user_id={%WPML_USERID}&subscription_key={%WPML_KEY}&version={%version}"
},
"require": {
"ffraenz/private-composer-installer": "^1.0",
"composer/installers": "^1.7"
}
}
}, {
"type": "package",
"package": {
"name": "wpml/gravityforms-multilingual",
"version": "1.5.4",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://wpml.org/?download=8882&user_id={%WPML_USERID}&subscription_key={%WPML_KEY}&version={%version}"
},
"require": {
"ffraenz/private-composer-installer": "^1.0",
"composer/installers": "^1.7"
}
}
}, {
"type": "package",
"package": {
"name": "roots/soil",
"version": "3.9.0",
"type": "wordpress-muplugin",
"source": {
"url": "hidden link",
"type": "git",
"reference": "master"
},
"require": {
"composer/installers": "^1.7"
}
}
}, {
"type": "package",
"package": {
"name": "rocketgenius/gravityforms",
"version": "2.4.17",
"type": "wordpress-plugin",
"source": {
"url": "hidden link",
"type": "git",
"reference": "master"
},
"require": {
"ffraenz/private-composer-installer": "^1.0",
"composer/installers": "^1.7"
}
}
}, {
"type": "package",
"package": {
"name": "rocketgenius/gravityformssignature",
"version": "3.8",
"type": "wordpress-plugin",
"source": {
"url": "hidden link",
"type": "git",
"reference": "master"
},
"require": {
"ffraenz/private-composer-installer": "^1.0",
"composer/installers": "^1.7"
}
}
}, {
"type": "package",
"package": {
"name": "rocketgenius/gravityflow",
"version": "2.5.10-dev",
"type": "wordpress-plugin",
"source": {
"url": "hidden link",
"type": "git",
"reference": "master"
},
"require": {
"ffraenz/private-composer-installer": "^1.0",
"composer/installers": "^1.7"
}
}
}, {
"type": "package",
"package": {
"name": "rocketgenius/gravityflowflowchart",
"version": "1.2.1-dev",
"type": "wordpress-plugin",
"source": {
"url": "hidden link",
"type": "git",
"reference": "master"
},
"require": {
"ffraenz/private-composer-installer": "^1.0",
"composer/installers": "^1.7"
}
}
}, {
"type": "package",
"package": {
"name": "rocketgenius/gravityflowformconnector",
"version": "1.7.4-dev",
"type": "wordpress-plugin",
"source": {
"url": "hidden link",
"type": "git",
"reference": "master"
},
"require": {
"ffraenz/private-composer-installer": "^1.0",
"composer/installers": "^1.7"
}
}
}, {
"type": "package",
"package": {
"name": "rocketgenius/gravityflowblocks",
"version": "0.2",
"type": "wordpress-plugin",
"source": {
"url": "hidden link",
"type": "git",
"reference": "master"
},
"require": {
"ffraenz/private-composer-installer": "^1.0",
"composer/installers": "^1.7"
}
}
}],
"require": {
"php": ">=7.1",
"composer/installers": "^1.8",
"vlucas/phpdotenv": "^2.0",
"oscarotero/env": "^1.2.0",
"roots/wordpress": "5.3.2",
"roots/wp-config": "1.0.0",
"roots/wp-password-bcrypt": "1.0.0",
"roots/soil": "*",
"sourcebroker/deployer-extended-wordpress-composer": "^3.0",
"advanced-custom-fields/advanced-custom-fields-pro": "*",
"codepress/admin-columns-pro": "*",
"codepress/ac-addon-acf": "*",
"wpml/wpml-multi-lingual-cms": "*",
"wpml/wpml-media-translation": "*",
"wpml/wpml-translation-management": "*",
"wpml/acfml": "*",
"wpml/wpml-string-translation": "*",
"wpml/gravityforms-multilingual": "*",
"rocketgenius/gravityforms": "*",
"rocketgenius/gravityformssignature": "*",
"rocketgenius/gravityflow": "*",
"rocketgenius/gravityflowflowchart": "*",
"rocketgenius/gravityflowformconnector": "*",
"rocketgenius/gravityflowblocks": "*"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5.4",
"roave/security-advisories": "dev-master"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist"
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"installer-paths": {
"web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"web/app/plugins/{$name}/": ["type:wordpress-plugin"],
"web/app/themes/{$name}/": ["type:wordpress-theme"]
},
"wordpress-install-dir": "web/wp"
},
"scripts": {
"post-root-package-install": [
"php -r \"copy('.env.example', '.env');\""
],
"test": [
"phpcs"
]
}
}
```

## Workflow

The error occurs within any step with a notification to an "assignee".
This is a very simple gravity-form with a gravity-flow step that pop the error.
It is an export, so you just have to import it with gravityform import/export feature.

hidden link

March 20, 2020 at 9:12 pm #5730807

sylvainH

Btw, My local env use php 7.3.2, apache and mysql

March 23, 2020 at 7:06 am #5738265

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hey, thanks for the update.

We would need you to provide us the latest official version of the plugin zip file from the plugin you use.

Unfortunately, I can not go just go and download the plugin from some GitHub page if it is not official author plugins git. We need to test and replicate the issue on our serves, it is not safe to use the version from a free source, it could infect our other files. Also, we would probably need to be in contact with the author of the plugin.

I hope you understand and can provide the latest clean official version of Gravity Flow.

Thanks and regards,
Drazen

March 23, 2020 at 7:07 pm #5744941

sylvainH

Hey Drazen,

I send you my composer file as a base, but you only need the gravityflow source, that is OFFICIAL open source repository:

{
"type": "package",
"package": {
"name": "rocketgenius/gravityflow",
"version": "2.5.10-dev",
"type": "wordpress-plugin",
"source": {
"url": "<em><u>hidden link</u></em>",
"type": "git",
"reference": "master"
},
"require": {
"composer/installers": "^1.7"
}
}

As explained on the readme:
"This repository is a development version of Gravity Flow intended to facilitate communication with developers. It is not stable and should not be used on production sites."

and

"The only thing you need to do to get this development version working is clone this repository into your plugins directory and activate script debug mode. If you try to use this plugin without script mode on the scripts and styles will not load and it will not work properly.

To enable script debug mode just add the following line to your wp-config.php file:

define( 'SCRIPT_DEBUG', true );

"

Just perfect for our case don't you think ?
Best,
Sylvain

P.S Steve Henty is the plugin main dev: hidden link
Director of Product Development @rocketgenius @gravityforms.
Founder & Lead Developer @gravityflow.

March 24, 2020 at 8:29 am #5748523

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hey Sylvain,

I understand it now, I didn't know they have official GitHub.

Thanks for sharing the link and for explaining everything. 🙂

Give me some time to try and replicate the issue and I will get back to you.

Regards,
Drazen

March 25, 2020 at 12:44 pm #5760455

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hey,

I was able to replicate the issue. Thanks for suggestions.

I have escalated it to our developers and they will be checking the issue. We apologize for the inconvenience it may have caused.

I will update you once its resolved, also please feel free to check with me, later on, to see the status and I will be happy to let you know.

Thank you and regards,

Drazen

June 18, 2020 at 9:02 am #6401221

sylvainH

Hey there,

any update on that issue ?

Have a good day,
Sylvain

June 18, 2020 at 2:43 pm #6405121

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello Sylvain,

I can see the issue was added to our GFML addon developers queue, but unforntualy I am not able to provide any ETA at this moment.

I hope the workaround you suggested still works.

I am sorry I was not helpful here, but be sure I will update you as soon as I have some new info.

Thanks,
Drazen

June 19, 2020 at 11:11 am #6411577

sylvainH

Hi Drazen,

Thank you for your feedback, yes the workaround still works.
I will wait for your update when you can.

Best,
Sylvain

June 19, 2020 at 11:46 am #6411767

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello Sylvain,

thanks for understanding.

I have asked our developers for an update/plans on this issue and will update you once I get a reply.

Talk to you soon.

Thanks,
Drazen

June 19, 2020 at 2:17 pm #6412645

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

I received a reply from our developer's team:

The provided fix will be included in the next version of the GFML addon. We don't have an exact date for the next version but we could release one in the coming months.

We would also like to ask you to contact the plugin author as a customer, and suggest joining our Go Global programme that way working with our developers and assuring they are 100% WPML compatible.

- https://wpml.org/documentation/theme-compatibility/go-global-program/

I will notify you once the version with the included fix is available for public download.

Regards,
Drazen

June 24, 2021 at 7:55 am #9059605

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

this issue should be fixed with the latest versions of Gravity Forms Multilingual.

Changelog:

- https://wpml.org/download/gravityforms-multilingual/?section=changelog

Thanks and kind regards,
Drazen