I just upgraded to EE 2.7.2 and P&T Switch is throwing an error in the Developer Log. Everything still seems to work at the moment but it looks like P&T Switch needs to be updated:

Deprecated function EE_Fieldtype() called in system/expressionengine/third_party/pt_switch/ft.pt_switch.php on line 26. Deprecated since 2.6. Use EE_Fieldtype::__construct() instead.

1 Answer 1


P&T switch has moved into a new bundle of old dive bar addons called Field Pack as of August 2013. You should update to that and everything will be working fine. Updating is simple, but do read the docs.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.