• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 21.01.23, 13:12
  • Opened by: Ramazan Kaya
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #24193 - AMP ERROR

hello after the theme 8.1.0 update the amp gives error
[21-Jan-2023 15:04:44 Europe/Istanbul] PHP Notice: unserialize(): Error at offset 37336 of 41068 bytes in /home/toptanuc2/public_html/modules/pkamp/classes/builder/profile.php on line 343

Attachments:

amp.PNG (72.7 KiB)

Comments

Ramazan Kaya 21 Jan 2023, 13:26

new post update update errors

[21-Jan-2023 15:22:27 Europe/Istanbul] PHP Notice: Undefined offset: 0 in /home/toptanuc2/public_html/classes/ProductAssembler.php on line 111
[21-Jan-2023 15:22:27 Europe/Istanbul] PHP Warning: array_merge(): Expected parameter 1 to be an array, null given in /home/toptanuc2/public_html/classes/ProductAssembler.php on line 111
[21-Jan-2023 15:22:27 Europe/Istanbul] PHP Fatal error: Uncaught TypeError: Return value of ProductAssemblerCore::addMissingProductFields() must be of the type array, null returned in /home/toptanuc2/public_html/classes/ProductAssembler.php:111
Stack trace:
#0 /home/toptanuc2/public_html/classes/ProductAssembler.php(125): ProductAssemblerCore→addMissingProductFields(Array)
#1 /home/toptanuc2/public_html/modules/pkelements/src/WidgetProductBase.php(189): ProductAssemblerCore→assembleProduct(Array)
#2 /home/toptanuc2/public_html/modules/pkelements/src/WidgetProductBase.php(91): Promokit\Module\Pkelements\WidgetProductBase→getProduct(110)
#3 /home/toptanuc2/public_html/modules/pkelements/classes/WidgetPkproducts.php(259): Promokit\Module\Pkelements\WidgetProductBase→getProducts(’handpicked’, ‘1’, 2, Array, ‘ASC’, ‘position’)
#4 /home/toptanuc2/public_html/modules/creativeelements/includes/base/widget-base.php(522): CE\WidgetPkproducts→render()
#5 /home/toptanuc2/public_html/modules/creativeelements/includes/base/widget-base.php(662): CE\WidgetBase→renderContent in /home/toptanuc2/public_html/classes/ProductAssembler.php on line 111

Attachments:

beauty thame.PNG (266.1 KiB)
Fred 21 Jan 2023, 23:02

Hi, Ramazan Kaya.
Please update credentials in your profile https://support.promokit.eu/myprofile to access to your Back-office

Ramazan Kaya 21 Jan 2023, 23:08

hello i have updated

Fred 21 Jan 2023, 23:18

Ok, as I can see in the error log the error caused by migrationpro module.
You can try to disable it

Ramazan Kaya 21 Jan 2023, 23:32

i lifted it did not improve

Fred 21 Jan 2023, 23:43

Yes, I see another error message now.
Back to you tomorrow, today is too late

Ramazan Kaya 22 Jan 2023, 00:00

Ok

Fred 22 Jan 2023, 10:39

The issue has been fixed. Please test to confirm the change

Ramazan Kaya 22 Jan 2023, 14:00

[22-Jan-2023 15:58:45 Europe/Istanbul] PHP Notice: unserialize(): Error at offset 37336 of 41068 bytes in /home/toptanuc2/public_html/modules/pkamp/classes/builder/profile.php on line 343

amp has problem

Fred 22 Jan 2023, 14:32

The issue has been fixed. Please test to confirm the change

Ramazan Kaya 22 Jan 2023, 14:37

ok fixed

Fred 22 Jan 2023, 14:42

You are welcome!

Ramazan Kaya 22 Jan 2023, 14:56

cart icon not working can you check

Ramazan Kaya 22 Jan 2023, 15:02

these icons are not working can you check

Attachments:

cart.PNG (8.7 KiB)
Fred 22 Jan 2023, 22:12

I just checked out and all buttons works correctly - https://take.ms/wVNq2

Ramazan Kaya 23 Jan 2023, 19:39

No it didn’t work clear cookies and try again, please post previous theme, this has errors

Fred 23 Jan 2023, 20:02

I just record my screen special for you and you can see that everything work as expected. Of course if you remove cookies your session will gone with all personal informations like cart etc… See the video https://take.ms/HVuh9

Ramazan Kaya 23 Jan 2023, 20:14

okay, done
thank you

Fred 23 Jan 2023, 20:17

No problem, you are welcome

Ramazan Kaya 25 Jan 2023, 01:31

There is a problem with the amplifier basket again, it is not working. if the problems will be fixed with the prestashop 8.0.1 update, please upgrade . i tried to do the upgrade process but it gives an error

Fred 25 Jan 2023, 09:15

but what is the problem with cart? it works fine for me https://take.ms/fEPzB the same on mobile.
What are you trying to upgrade? As I can see you have the latest theme version

Ramazan Kaya 25 Jan 2023, 10:03

Amp is not added when adding products in the cart

Fred 25 Jan 2023, 10:51

Yes, I see now. Working to figure out what’s wrong

Fred 25 Jan 2023, 19:35

strange that everything works fine in browser, but not on mobile device

Ramazan Kaya 26 Jan 2023, 12:24

Will you provide a solution to the problem?

Fred 26 Jan 2023, 12:42

Please be patient, we have a lot of other tickets as well. Back to you as soon as possible with a solution

Fred 26 Jan 2023, 21:31

We have found out that’s bug specific to Prestashop 8.0
We keep working on that to find a solution as soon as possible, so don’t worry.

Fred 28 Jan 2023, 13:04

We are in contact with Prestashop developers. They have to help us with this problem.
We will keep you in touch.

Ramazan Kaya 28 Jan 2023, 13:08

Ok thank you

Ramazan Kaya 31 Jan 2023, 01:53

It would be more appropriate if I install prestashop 8.0.1 and try the theme again, maybe the problem will be solved

Fred 31 Jan 2023, 09:05

Taday we have a call at 11:00, maybe that will help us to figure out what’s wrong. Because the issue is present in 8.x version only. So please wait.

Fred 31 Jan 2023, 17:57

So we had a call today.
Unfortunately they didn’t provide direct solution only give us some suggestions what we have to check, so we keep working hard on that.
This issue has highest priority because it’s present even in our demo page, so don’t worry, the solution will be found.

Ramazan Kaya 02 Feb 2023, 21:46

Hi, tried again for prestashop 8.0.1 version, amp problem is not solved, this problem seems to take too long to solve, so amp is disabled. Solve this problem, please get back to me.

Fred 02 Feb 2023, 21:48

Please don’t worry. As I already wrote you this problem has highest priority.
We are in contact with Prestashop developers, they also trying to understand what’s wrong.
I’ll back to you with some news soon.

Fred 05 Feb 2023, 18:29

So they explained to me that cart rules was changed in PS8 – https://github.com/PrestaShop/PrestaShop/pull/27803 now we are trying to implement the same in the AMP module.
If it’s so critical for you , you can disable AMP for a while

Ramazan Kaya 05 Feb 2023, 18:58

It’s okay, but our support period will expire, I can’t work because of this problem, the fate is not known, please extend your time during the support period

Fred 05 Feb 2023, 20:39

As I wrote you, that’s important issue and we are going to fix it as soon as possible in any case.
I can extend your support if you want.

Ramazan Kaya 05 Feb 2023, 21:01

It’s okay, but our support period will expire, I can’t work because of this problem, the fate is not known, please extend your time during the support period

Fred 05 Feb 2023, 22:55

You currently have about 3 months of support. I believe we will fix it much faster

Ramazan Kaya 13 Feb 2023, 21:17

This problem is sure to be very long so please help me fix mobile and Computer pagespeed errors with amp disabled

Attachments:

mobile.png (91.6 KiB)
Fred 13 Feb 2023, 22:57

The theme is optimised according to google’s requirements as much as possible.
Our support doesn’t cover optimising a website for pagespeed, because that’s unique for every website, and there is no any universal solution.
As for the AMP, don’t worry, it’s in progress, and as I already wrote, it has highest priority

Ramazan Kaya 04 Mar 2023, 23:40

the problem cannot be solved

Fred 04 Mar 2023, 23:48

Yes, it’s can’t be solved yet, but we are in contact with Prestashop developers, they are trying to help us

Ramazan Kaya 09 Mar 2023, 21:51

does amp work in 1.7.8.8 we have to go to the old version at least we must activate the site now it takes too long now bug fixing

Fred 09 Mar 2023, 22:11

I’m really sorry, but we don’t have solution yet.
The module was sent to Prestashop developers, they promised to find out what’s happened. Unfortunately we didn’t get any response yet. We are keep waiting.
I wrote you many times that issue has highest priority for us.

Fred 09 Mar 2023, 22:12

Yes, it was working in 1.7.x

Ramazan Kaya 10 Mar 2023, 01:17

hello, we are back to version 1.7.8.8. There is a problem with the amp. Login error please help. please let me know when prestashop 8 issue is resolved

Fred 10 Mar 2023, 09:29

I just registered and logged in successfully https://take.ms/3AzFd

Ramazan Kaya 11 Mar 2023, 21:59

there are amp errors home page is empty category gives error log error

Attachments:

error_log (1.6 KiB)
anaekran.jpg (34.4 KiB)
Fred 12 Mar 2023, 10:06

Fixed

Ramazan Kaya 13 Mar 2023, 23:46

1.7.8.8 is it not working?amp

Fred 13 Mar 2023, 23:52

It’s working fine

Fred 20 Mar 2023, 23:57

Hi, Ramazan.
Here is the fixed file. Put it into the folder

/modules/pkamp/controllers/front/

Attachments:

ajaxCart.php (12.9 KiB)
Fred 21 Mar 2023, 21:46

Is the “1 star” your “thank you” for provided solution? Great! We are appreciating that!

Ramazan Kaya 22 Mar 2023, 21:39

hello we can raise stars no problem ajaxCart.php
(12.9 KiB) what does this file do. I want the AMP category ranking to look like the picture below

Attachments:

2.jpg (63 KiB)
Fred 22 Mar 2023, 21:46

That file fixes the problem you reported.
If you want such view, you need to customise AMP files

Ramazan Kaya 22 Mar 2023, 23:21

You say that you are uncomfortable with 1 star and you say that you can do it yourself even though we do not have software knowledge. If we had, we would not have written to you.

Fred 23 Mar 2023, 08:54

You asking about customisation service that is not included in our support.

Ramazan Kaya 23 Mar 2023, 18:44

8.1.0 PRESTHOP COMPATIBILITY

Fred 23 Mar 2023, 19:22

8.1 is not released yet

Ramazan Kaya 31 Mar 2023, 23:47

Amp solution solved at 8.0.0

Fred 01 Apr 2023, 19:46

Great!

Ramazan Kaya 06 May 2023, 13:27

merhaba ay sonra destek süresi doluyor amp hatası hala düzelmedi bunun için ne diyorsunuz

Fred 06 May 2023, 13:51

moduł AMP był naprawiony kilka miesięcy temu, i jest ten fix wprowadzony do Pana sklepu

Ramazan Kaya 06 May 2023, 14:10

peki prestashop 8.0.4 ile çalışıyormu tema

Ramazan Kaya 06 May 2023, 14:21

verdiğim puanı yükselteceğim

Fred 06 May 2023, 23:00

Please check it out. I wrote you that we have fixed your store long time ago

Ramazan Kaya 09 May 2023, 13:07

başka bir sitede denme yaptım amp yine sepete ekleme sorunu var

Fred 09 May 2023, 16:23

Where I can see the issue?