• Priority: Medium
  • Status: Waiting on customer
  • Theme: Venedor
  • Assigned To: Fred
  • Private: No
  • Open Date: 28.07.22, 23:07
  • Opened by: Mutascu Lucian

Ticket #23616 - 500 Server error

hi, after enabling the theme I`m getting 500 Server error (Prestashop 1.7.8.6)

Comments

Fred 29 Jul 2022, 00:03

Hi, Mutascu Lucian.
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 Server

Mutascu Lucian 02 Aug 2022, 19:32

Hi Fred,
information has been added.
Here is an extract from the logs:

mod_fcgid: stderr: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function PrestaShop\\Module\\FacetedSearch\\Filters\\Converter::construct(), 3 passed in /var/www/westenergy/data/www/westenergy.ro/modules/pkamp/controllers/front/category.php on line 154 and exactly 4 expected in /var/www/westenergy/data/www/westenergy.ro/modules/ps_facetedsearch/src/Filters/Converter.php:81, referer: https://westenergy.ro/mobile
mod_fcgid: stderr: Stack trace:, referer: https://westenergy.ro/mobile mod_fcgid: stderr: #0 /var/www/westenergy/data/www/westenergy.ro/modules/pkamp/controllers/front/category.php(154): PrestaShop\\Module\\FacetedSearch\\Filters\\Converter→
construct(Object(Context), Object(DbPDO), Object(PrestaShop\\Module\\FacetedSearch\\URLSerializer)), referer: https://westenergy.ro/mobile mod_fcgid: stderr: #1 /var/www/westenergy/data/www/westenergy.ro/classes/controller/Controller.php(306): PkampCategoryModuleFrontController→initContent(), referer: https://westenergy.ro/mobile mod_fcgid: stderr: #2 /var/www/westenergy/data/www/westenergy.ro/classes/Dispatcher.php(518): ControllerCore→run(), referer: https://westenergy.ro/mobile mod_fcgid: stderr: #3 /var/www/westenergy/data/www/westenergy.ro/index.php(28): DispatcherCore→dispatch(), referer: https://westenergy.ro/mobile mod_fcgid: stderr: #4 {main}, referer: https://westenergy.ro/mobile mod_fcgid: stderr: thrown in /var/www/westenergy/data/www/westenergy.ro/modules/ps_facetedsearch/src/Filters/Converter.php on line 81, referer: https://westenergy.ro/mobile

thx !

Fred 03 Aug 2022, 12:39

Hi, Lucian.
The issue has been fixed. Please test to confirm the change
Updated file /www/westenergy.ro/modules/pkamp/controllers/front/category.php

Mutascu Lucian 05 Aug 2022, 08:27

Hi Fred,
everything looks ok.

Thx !

Fred 05 Aug 2022, 10:13

You are welcome!