a have a problem after installing an extension. I get this error:

Parse error: syntax error, unexpected T_RETURN, expecting T_FUNCTION in blablalbala/Autoloader.php

the code in that file is this:

class Zitec_Emkp_Model_Observer_Autoloader extends Zitec_Integrator_Vendor_Autoload
    use Zitec_Emkp_Traits_Version;

help me get over it. Thanks!

  • Your return statement needs to be inside the function – Rakesh Donga Mar 26 at 13:02
  • Are you sure the file you shown here has error? – Rinto George Apr 15 at 10:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.