Prestashop 1.7 / back office error 500 after activate module

PrestaShop 1.7.6.1 Everything worked until the ps_featuredproducts module was activated. After activation of the module I saw error 500. I set the debug mode (config/defines.inc.php): define(‘_PS_MODE_DEV_’, true); I couldn’t deactivate the ps_featuredproducts module so I cleared the cach. And it helped but I still see error 500 on admin page after turning off debug mode.…

Prestashop PayTabs payment gateway module error

my website Payment page give me 500 internal server error, so i turn on debug mode [in Prestashop Control Panel give me: { Notice on line 122 in file /home/www/mywebsitename/modules/paytabs/paytabs.php [8] Undefined property: Paytabs::$paytabs_id Notice on line 123 in file /home/www/mywebsitename/modules/paytabs/paytabs.php [8] Undefined property: Paytabs::$paytabs_password }] [And in front payment page : { (1/1) FatalThrowableError…

ISSUE API PRESTASHOP 1.7

I currently have a problem with the prestashop API. I’m trying to update the amount of a combination of a product. <?php $request = new HttpRequest(); $request->setUrl(‘https://myurl.com/api/combinations/15544’); $request->setMethod(HTTP_METH_PUT); $request->setQueryData(array( ‘io_format’ => ‘JSON’ )); $request->setHeaders(array( ‘cache-control’ => ‘no-cache’, ‘Connection’ => ‘keep-alive’, ‘Accept-Encoding’ => ‘gzip, deflate’, ‘Host’ => ‘myurl.com’, ‘Cache-Control’ => ‘no-cache’, ‘Accept’ => ‘*/*’, ‘User-Agent’ =>…

Datatrics Prestahop

I need to add the Datatrics code into checkout.tpl, cart.tpl and product.tpl pages. But, I don’t know how to call the product and order variables. Here’s the code for Product Views script: <script type=”text/javascript”> // Set the view of a product _paq.push([‘setEcommerceView’, “SKU”, // (required) SKU: Product unique identifier “NAME”, // (optional) Product name “CATEGORYNAME”,…

Prestashop Link::getProductLink() returns wrong link (without category in it)

Link::getproductLink() returns incorrect url, after opening this url it’s either redirection or error message when in dev mode. Someone here (PrestaShop $link -> getProductLink($product) gives incorrect URL) had the same problem, people answered him to disable the DEV mode then the message ([Debug] This page has moved Please use the following URL instead:…) is gone…