Skip to content
This repository has been archived by the owner on Apr 5, 2018. It is now read-only.

Deprecation Error: craft()->getBuild() #168

Open
ademers opened this issue Jul 11, 2017 · 1 comment
Open

Deprecation Error: craft()->getBuild() #168

ademers opened this issue Jul 11, 2017 · 1 comment

Comments

@ademers
Copy link

ademers commented Jul 11, 2017

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

@mythdigital
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants