<p>I was also getting the same error and tried so many times install/uninstall but couldn't succeed. In my case, it was basically php 7 version compatibility issue.</p>

<p>You should change your php version to php 7.1.16 or higher, if using lower like php 7.0</p>

<p>Fixed by Dev: <a href="https://github.com/barrelstrength/craft-sprout-forms/issues/195" rel="nofollow noreferrer">https://github.com/barrelstrength/craft-sprout-forms/issues/195</a></p>

<p>Code to be modified: <a href="https://github.com/barrelstrength/craft-sprout-base/commit/5e8ce5eb9b1815d1d2a66ed69664a890271d6620" rel="nofollow noreferrer">https://github.com/barrelstrength/craft-sprout-base/commit/5e8ce5eb9b1815d1d2a66ed69664a890271d6620</a></p>

<p>Regards</p>

<p>Ankit Chauhan </p>

CC BY-SA 4.0
2018-11-23T04:34:42.287Z
2018-11-26T05:11:37.477Z
2018-11-26T05:11:37.477Z
Ankit Chauhan
<p>I was updating an Craft install on Mediatemple server yesterday. Im now getting the following error: </p>

<p>Cannot use barrelstrength\sproutbase\app\import\base\FieldImporter as FieldImporter because the name is already in use  </p>

<p>I tried creating a new install but I get the same error - any ideas what I can do to rectify? </p>

<plugins><install>
Error on updating Craft install with Sprout vendor files
# Error on updating Craft install with Sprout vendor files

(Asked by: username_0 on 2018-11-22)

I was updating an Craft install on Mediatemple server yesterday. Im now getting the following error:

Cannot use barrelstrength\sproutbase\app\import\base\FieldImporter as FieldImporter because the name is already in use

I tried creating a new install but I get the same error - any ideas what I can do to rectify?

**Tags:** plugins, install


---

## 1 answers

### Answer by username_1 on 2018-11-23. Score: 2

I was also getting the same error and tried so many times install/uninstall but couldn't succeed. In my case, it was basically php 7 version compatibility issue.

You should change your php version to php 7.1.16 or higher, if using lower like php 7.0

Fixed by Dev: <https://github.com/barrelstrength/craft-sprout-forms/issues/195>

Code to be modified: <https://github.com/barrelstrength/craft-sprout-base/commit/5e8ce5eb9b1815d1d2a66ed69664a890271d6620>

Regards

username_1


---

