• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 29.04.20, 18:20
  • Opened by: Camilla Agneta
  • Closed by: Fred
  • Closed on: 21.06.20, 23:22
  • Reason: Closed
  • Comment: Glad to help!

Ticket #17595 - Error 500 - Problem with Pk_menu after click!!

Hello!! I have a big problem with Pk_menu module. It’s appeared while I was working at layout settings.
I just pressed Pk_menu module and whole Prestashop crashed, and when I refreshed the page I got always error 500.
I couldn’t do nothing at first, but later I activated the debug mode.

In the backoffice I’ve got the following error:

<img_err>

and then a lot of attempts, I noticed that if I edit in the directory
“modules/pk_menu/” il “pk_menu.php” editing the line 1338 from:

$this→user_groups = ($this→context→customer→isLogged() ? $this→context→customer→getGroups() : array(Configuration::get(’PS_UNIDENTIFIED_GROUP’)));

to:

#$this→user_groups = ($this→context→customer→isLogged() ? $this→context→customer→getGroups() : array(Configuration::get(’PS_UNIDENTIFIED_GROUP’)));

and so commenting the line, I get this:
<img_2>

I can do something but I can’t working properly, and however, I don’t think what I did is correct ‘cause it’s visible part of menu in the shop backoffice.

I need to resolve as soon as possible because I’m stuck with my work and I really need to move on.

Thanks a lot!

Mila

Attachments:

error.jpg (109.7 KiB)
after fix.jpg (56.6 KiB)

Comments

Fred 29 Apr 2020, 18:21

Hi, Camilla.
Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your back office and FTP

Camilla Agneta 04 May 2020, 22:37

I’m still waiting for an answer. Are there any news?

Fred 05 May 2020, 10:26

I have been waiting for your reply. I do not get a notification about your profile update

Fred 05 May 2020, 10:28

Where I can see the error? I can’t find it

Camilla Agneta 05 May 2020, 22:23

I gave you the pictures, you can see the error as soon as you log into backoffice.

Fred 05 May 2020, 22:24

Yes, but I don’t see the error https://take.ms/pOn1v

Camilla Agneta 05 May 2020, 23:00

the error is in the picture you sent.

Attachments:

error1.JPG (94.8 KiB)
error2.JPG (111.1 KiB)
Fred 05 May 2020, 23:08

Sorry, I missed that. Now it’s ok

Camilla Agneta 09 May 2020, 10:20

Hi, the error is fixed, thanks. But I’ve new problems with the module.
In layout builder, the widgets are too slow to edit, and sometimes these disappears in the frontend, specially category tab.

Fred 09 May 2020, 10:33

The issue has been fixed. Please test to confirm the change
Updated files /www.affusoshop.com/modules/pspagebuilder/controllers/admin

Camilla Agneta 14 May 2020, 18:13

Hello.
the widget “ps_categorytree” continue to disappear in the front end after you use it. Or sometimes, it remains stucked at the last category you click

Fred 14 May 2020, 18:15

Please check out theme’s documentation http://alysum5.promokit.eu/promokit/documentation/#faq7

Camilla Agneta 14 May 2020, 18:33

thank you

Fred 14 May 2020, 18:34

you are welcome