import icon indicating copy to clipboard operation
import copied to clipboard

Deprecation Error: craft()->getBuild()

Open ademers opened this issue 8 years ago • 1 comments

I'm getting the following deprecation error which seems to originating from the Import plugin:

craft()->getBuild() has been deprecated. As of Craft 2.6.2951, craft()->getVersion() returns the complete version number (X.Y.Z).

Stack trace screenshot: https://cl.ly/0l1x0S3I083Y

Craft CMS 2.6.2986 Import 0.8.34

ademers avatar Jul 11 '17 15:07 ademers

I was getting the same error.

This can be fixed by simply changing the variable, $minBuild = '2615'; to $minBuild = '2.6.15' in import/ImportPlugin.php on line 115.

Still doesn't fix the app though, it doesn't seem to work for me.

mythdigital avatar Nov 23 '17 16:11 mythdigital