Developer
Supported
VZ Range
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Eli Van Zoeren
Call to undefined method EE_Fieldtype::EE_Fieldtype() in EE 2.8
Bug Report
mvdesign
|
Posted: 11 July 2014 12:59 PM |
|
|
|
I installed this with EE 2.8 and got an error (I’ve edited the error slightly to remove the path to the addon):
Fatal error: Call to undefined method EE_Fieldtype::EE_Fieldtype() on line 23
Poked around on devot-ee and found other add-ons with similar issues.
The fix appears to involve replacing:
function Vz_range_ft() { parent::EE_Fieldtype();
With:
function __construct() { if (version_compare(APP_VER, '2.1.4', '>')) { parent::__construct(); } else { parent::EE_Fieldtype(); }
|
|
|
Eli Van Zoeren
|
Posted: 14 July 2014 09:48 PM |
# 1
|
|
Developer
|
I’ve updated. Thanks for letting me know.
|
|
|