- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Marek
- Private: No
- Open Date: 01.08.17, 09:00
- Opened by: Miguel Sequeira
- Closed by: Marek
- Closed on: 29.08.17, 23:43
- Reason: Closed
- Comment: Glad to help!
Ticket #10625 - Manual upgrade failed
Hi, I couldn’t upgrade the theme manually, so I did a manual update, by uploading the contents of “modules” and “themes” folder.
Now when going to the backoffice, in “modules”, I receive the following error:
[PrestaShop] Fatal error in module file :/home/sequeira/public_html/interphysix.com/modules/pk_manufacturers/pk_manufacturers.php:
Call to undefined method Pk_Manufacturers::trans()
Please assist.
Thank you,
– Miguel.
Comments
Priority is actually “critical”, as the website is down. Thanks.
I see the issue. I need to know what version you have upload to your server?
I’ve now copied all the updates, but still receive this error:
Fatal error: Call to undefined method pk_awshowcaseslider::trans() in /home/sequeira/public_html/interphysix.com/modules/pk_awshowcaseslider/pk_awshowcaseslider.php on line 21
[PrestaShop] Fatal error in module file :/home/sequeira/public_html/interphysix.com/modules/pk_awshowcaseslider/pk_awshowcaseslider.php:
Call to undefined method pk_awshowcaseslider::trans()
And the website is now showing the attached screenshot.
Most fast solution for you is restore from backup.
I need to know what wersion of theme and prestashop you had, and what version you have upload?
First I had uploaded only the files in the “update” folder of 5.0.8, but then uploaded updates in 5.0.5, 5.0.6 and 5.0.7
What version you had before update?
My prestashop version is 1.6.1.15
I had Alysum 5.0.4 before.
But Alysum 5.x is compatible with prestahop 1.7.x what you can read in the readme file.
It was probably my mistake, I didn’t notice the updates were only for version 5.x.
Which is the latest version for using in Prestashop 1.6?
4.6
Which files should I upload to update it? I don’t want to loose my configuration…
do you have a backup?
Yes I did backup all files
It will be the best way to make all work
I can restore previous version, but hosting provider was complaining of malware in some of the files in the theme. That’s why I tried updating them. Which files should I copy to make sure I have the latest version, and keep the configuration?
You can restore your backup and then I’ll provide you an update for flex menu which has security problem.
Hi Marek, I’ve restored all the files, and the site is back online. Can you please help me upgrade the theme? Thanks.
What theme version do you have now?
Sorry, now I remember I need to update menu
When I click “modules” in the backoffice, I receive this error: Fatal error: Interface ‘PrestaShop\PrestaShop\Core\Module\WidgetInterface’ not found in /home/sequeira/public_html/interphysix.com/modules/pk_contact/pk_contact.php on line 9
[PrestaShop] Fatal error in module file :/home/sequeira/public_html/interphysix.com/modules/pk_contact/pk_contact.php:
Interface ‘PrestaShop\PrestaShop\Core\Module\WidgetInterface’ not found
What should I do?
Now it should work
Now the error is different:
Fatal error: Interface ‘PrestaShop\PrestaShop\Core\Module\WidgetInterface’ not found in /home/sequeira/public_html/interphysix.com/modules/pk_dailydeal/pk_dailydeal.php on line 42
[PrestaShop] Fatal error in module file :/home/sequeira/public_html/interphysix.com/modules/pk_dailydeal/pk_dailydeal.php:
Interface ‘PrestaShop\PrestaShop\Core\Module\WidgetInterface’ not found
Now I understand, that modules “pk_dailydeal” are compatible with prestahop 1.7 only, so just delete the folder of module
And this one?
Fatal error: Call to undefined method Pk_Manufacturers::trans() in /home/sequeira/public_html/interphysix.com/modules/pk_manufacturers/pk_manufacturers.php on line 20
[PrestaShop] Fatal error in module file :/home/sequeira/public_html/interphysix.com/modules/pk_manufacturers/pk_manufacturers.php:
Call to undefined method Pk_Manufacturers::trans()
delete “pk_manufacturers”
Backoffice is back online.
But now the images are missing on the product scroller, in the main page. I’ve regenerated thumbnails, but the problem is still there.
Can you advise what to do?
Thanks.
Try to clear .htaccess file in the root of your prestashop
I renamed it to .htaccess.old, but the problem is still there. Do I need to take any other steps?
Another possible solution is to disable SEO Friendly links in your back office
Hello,
The site is now working, can you please update pk_flexmenu and pk_vertflexmenu, the hosting said those modules had security issues, and I’m getting malware uploaded to my website.
Thanks,
– Miguel.
I need to know, do you use Vertical flexmenu?
That’s a good question… I haven’t used the backoffice for some months now, and can’t remember where I built the menus. Which modules are available for building the menus, so I can look for them? I’ve filtered by “enabled” and “promokit.eu” author, but can’t find it. Please assist. Thanks.
Vertical menu used in the left column of homepage. I see you don’t use left column so you also don’t need vertical menu. So I advice you to delete it completely and then I’ll update your menu menu
Ok, I’ll delete it. What is the name of the other menu module I’m using?
pk_flexmenu - is the main menu
I’ve deleted vertical menu. You can now update the pk_flexmenu.
Ok, give me a time
Menu module has been updated