0

When clicking on any of the Channel Fields created by CartThrob, I receive the following error.

I uninstalled pt_fieldpack but the same issue. Wondering if I need to uninstall and reinstall CartThrob.

Fatal error: Class PT_Fieldtype contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (EE_Fieldtype::display_field) in /var/www/vhosts/deathdirections.com/httpdocs/system/expressionengine/third_party/pt_field_pack/pt_fieldtype.php on line 148

1
  • I found an entry right after I posted this which answered how to resolve the issue. I GREATLY apologize for posting this question without looking deeper first. Sighhhh.
    – L.Callif
    Jun 7, 2016 at 22:43

1 Answer 1

1

The answer is to perform the following:

Open up pt_fieldtype.php and below the constructor (around line 29) add:

public function display_field($data) { // This placeholder function will prevent the PHP error }

1
  • I have same issue in this field and your solution is worked for me. Feb 10, 2021 at 13:30

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.