0

Getting The below error in website

Parse error: syntax error, unexpected 'protected' (T_PROTECTED) in /home/bhuwalfashion/public_html/lib/Zend/Cache/Backend/File.php on line 30

Does anyone know how to solve it?

Thanks in advance.

2
  • Tell more information like magento version and platform. – Chirag Parmar Mar 12 '20 at 10:14
  • Magento 1. and php – user86769 Mar 12 '20 at 10:16
0
Open this file and make it public instead of protected 

/lib/Zend/Cache/Backend/File.php
--------------------------------
0

Download magento source code and replace with this file

 lib/Zend/Cache/Backend/File.php

Your Answer

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

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