Blog - whats new?

Prestashop error Attempted to call an undefined method named "getLocale" of class "Language". Did you mean to call "getLocaleByIso"?

If you experience this error, here is why it happens and a fix.

label
remove_red_eye 848 views

Prestashop versions PHP compatibility

Here is table with compatibility of Prestashop versions with PHP versions:

label
remove_red_eye 1202 views

Vulnerability in some PrestaShop modules

Recently, there have been several attacks caused by a security flaw in few Prestashop modules. Here is the list:

label
remove_red_eye 1356 views

How to add Google Maps to order detail in Prestashop 1.7

Prestashop 1.7 doesn't have option to enter API key in administration to make Google Maps working. If you want to have Google Maps in order detail, you have to edit core file manually.

label
remove_red_eye 1392 views

Security issue with PHPUnit

PHPUnit is a testing framework for PHP, used for testing during Prestashop development. It should not be distributed with modules, but in some cases it was (ZIP archives etc.). There is known vulnerability of PHPUnit that allows allows an attacker to execute PHP code on your shop, read your database and upload or modify files - install other malware etc.

label
remove_red_eye 2804 views

How to create links in tpl files in Prestashop

PrestaShop 1.7 introduces a new Smarty helper to generate URLs. Here are some examples 

label
remove_red_eye 4162 views

Default rating in product comments module

New module for product comments in 1.7.6 version shows default number of stars as 3 stars. You can simple change it as you want. 

label
remove_red_eye 2658 views

Fix for "Unfortunately, there are no carriers available for your delivery address"

This error can occur in two cases: 1. Client wants to edit his address but click on save button several times. This creates duplicity in database and client cannot make another order due to the carriers error. 2. Client who already made order before, changes the address. Then he can't make another order.

label
remove_red_eye 3289 views

Fix Google Mobile-Friendly Test issue in Prestashop 1.7

Prestashop 1.7 has issues with blocking CSS and JS cache files from theme folder by robots.txt.

label
remove_red_eye 1970 views

An error occurred while sending the message, please try again.

If you see this error while trying to send the contact form, one reason may be that you have latest version of contactform module, but you didn't updated your theme. 

label
remove_red_eye 2727 views

This website uses cookies to enable it to perform properly. Details of the cookies and instructions on how to disable them can be found in the cookie policy. By using this website, you agree to our use of cookies.