• 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

Miguel Sequeira 01 Aug 2017, 09:00

Priority is actually “critical”, as the website is down. Thanks.

Marek 01 Aug 2017, 09:25

I see the issue. I need to know what version you have upload to your server?

Miguel Sequeira 01 Aug 2017, 09:55

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()

Miguel Sequeira 01 Aug 2017, 09:56

And the website is now showing the attached screenshot.

Marek 01 Aug 2017, 09:57

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?

Miguel Sequeira 01 Aug 2017, 09:57

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

Marek 01 Aug 2017, 09:58

What version you had before update?

Miguel Sequeira 01 Aug 2017, 09:59

My prestashop version is 1.6.1.15

Miguel Sequeira 01 Aug 2017, 10:00

I had Alysum 5.0.4 before.

Marek 01 Aug 2017, 10:01

But Alysum 5.x is compatible with prestahop 1.7.x what you can read in the readme file.

Miguel Sequeira 01 Aug 2017, 10:11

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?

Marek 01 Aug 2017, 10:17

4.6

Miguel Sequeira 01 Aug 2017, 10:23

Which files should I upload to update it? I don’t want to loose my configuration…

Marek 01 Aug 2017, 10:25

do you have a backup?

Miguel Sequeira 01 Aug 2017, 10:41

Yes I did backup all files

Marek 01 Aug 2017, 10:44

It will be the best way to make all work

Miguel Sequeira 01 Aug 2017, 11:05

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?

Marek 01 Aug 2017, 11:15

You can restore your backup and then I’ll provide you an update for flex menu which has security problem.

Miguel Sequeira 02 Aug 2017, 09:12

Hi Marek, I’ve restored all the files, and the site is back online. Can you please help me upgrade the theme? Thanks.

Marek 02 Aug 2017, 09:17

What theme version do you have now?

Marek 02 Aug 2017, 09:17

Sorry, now I remember I need to update menu

Miguel Sequeira 02 Aug 2017, 09:53

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?

Marek 02 Aug 2017, 10:26

Now it should work

Miguel Sequeira 02 Aug 2017, 10:56

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

Marek 02 Aug 2017, 12:08

Now I understand, that modules “pk_dailydeal” are compatible with prestahop 1.7 only, so just delete the folder of module

Miguel Sequeira 02 Aug 2017, 13:28

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()

Marek 02 Aug 2017, 13:45

delete “pk_manufacturers”

Miguel Sequeira 03 Aug 2017, 00:17

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.

Marek 03 Aug 2017, 01:04

Try to clear .htaccess file in the root of your prestashop

Miguel Sequeira 03 Aug 2017, 01:21

I renamed it to .htaccess.old, but the problem is still there. Do I need to take any other steps?

Marek 03 Aug 2017, 10:52

Another possible solution is to disable SEO Friendly links in your back office

Miguel Sequeira 08 Aug 2017, 10:19

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.

Marek 08 Aug 2017, 12:21

I need to know, do you use Vertical flexmenu?

Miguel Sequeira 10 Aug 2017, 12:10

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.

Marek 10 Aug 2017, 12:13

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

Miguel Sequeira 10 Aug 2017, 12:14

Ok, I’ll delete it. What is the name of the other menu module I’m using?

Marek 10 Aug 2017, 12:14

pk_flexmenu - is the main menu

Miguel Sequeira 10 Aug 2017, 12:16

I’ve deleted vertical menu. You can now update the pk_flexmenu.

Marek 10 Aug 2017, 12:16

Ok, give me a time

Marek 10 Aug 2017, 12:58

Menu module has been updated