ezmart Posted October 1, 2016 Share Posted October 1, 2016 All of a sudden, I am getting the below error when I try to go to Modules and Service in the admin Panel: [PrestaShop] Fatal error in module file :/home/rahatii5/public_html/modules/wtblog/classes/BlogCategory.php: Cannot redeclare class BlogCategory I contacted my web hosting provider & theme developer all referred me back to Presta Shop as this is an error coming from PrestaShop itself. Can anyone help? Regards Waqas Link to comment Share on other sites More sharing options...
Apium Posted October 1, 2016 Share Posted October 1, 2016 (edited) BlogCategory is not a default PrestaShop class, so this is almost certainly a problem caused by your theme (assuming wtblog is a part of your theme). I'd again contact them and see if they can resolve your issue. Edited October 1, 2016 by Apium (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 1, 2016 Share Posted October 1, 2016 its not a theme issue, error says exactly where the problem - it is a module issue. your module wtblog has an error in modules/wtblog/classes/BlogCategory.php file and to solve it - it is necessary to inspect it because code says that there is duplicated blog category class (and in php it generates error like you've got) Link to comment Share on other sites More sharing options...
Apium Posted October 1, 2016 Share Posted October 1, 2016 Vekia, "wtblog" as a module is (as far as I can tell) part of a theme designed by WaterThemes (or rather, that's what a quick google search got me - please correct me if I am wrong?); see e.g. http://demo.waterthemes.com/ahief/index.php?fc=module&module=wtblog&controller=tag&id_wt_blog_tag=11&id_lang=1#. So depending on where OP got it, there's a good chance it was installed along with his theme - making the theme developer responsible for this problem. Link to comment Share on other sites More sharing options...
ezmart Posted October 1, 2016 Author Share Posted October 1, 2016 Thanks all for your views and details. My issue that I bought couple of themes from PrestaShop store and I don't know which theme is giving problem. I can not uninstall the module because of this error. Is there any way that I can uninstall the module without impacting my live store? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now