<?xml version="1.0"?>
<rss version="2.0"><channel><title>Bug reports Latest Topics</title><link>https://forum.prestashop.com/forum/23-bug-reports/</link><description>Bug reports Latest Topics</description><language>en</language><item><title>Error trying to install a new template</title><link>https://forum.prestashop.com/topic/1081199-error-trying-to-install-a-new-template/</link><description><![CDATA[<p>
	Hello Guys,
</p>

<p>
	I'm trying to install a new template just purchased from Prestashop addons for my website
</p>

<p>
	I'm still using the classic template so this is my first update,
</p>

<p>
	I always get this message <span>:</span>
</p>

<p>
	Compile Error: Only variables can be passed by reference
</p>

<p>
	[Symfony\Component\Debug\Exception\FatalErrorException 0]
</p>

<p>
	But it has installed some features of the new template and I really need help.
</p>

<p>
	Thanks in advance
</p>

<p>
	Daniel
</p>
]]></description><guid isPermaLink="false">1081199</guid><pubDate>Thu, 19 Oct 2023 13:44:28 +0000</pubDate></item><item><title>Error: Key "id_parent" for sequence/mapping with keys "name" does not exist.</title><link>https://forum.prestashop.com/topic/1106576-error-key-id_parent-for-sequencemapping-with-keys-name-does-not-exist/</link><description><![CDATA[<p>
	Runtime Error: in src/PrestaShopBundle/Resources/views/Admin/Sell/Catalog/Categories/Blocks/breadcrumb.html.twig (line 31)
</p>

<p>
	This error occurs when you have enabled Multishop, have only added and configured one shop so far, and have created a new main category.<br />
	The error appears when you click on the new main category to add new Subcategories.
</p>

<p>
	Reason: A category is set as the default in the shop's configuration, and if you now try to edit the other main category, the SQL query in the <br />
	classes/Category.php file, within the getParentsCategories function, 
</p>

<p>
	SELECT c.*, cl.*  FROM `ps_category` c<br />
	            LEFT JOIN `ps_category_lang` cl<br />
	                ON (c.`id_category` = cl.`id_category`<br />
	                    AND `id_lang` = 1 AND cl.id_shop = 1 ) WHERE c.`nleft` &lt;= 20 AND c.`nright` &gt;= 21 AND c.`nleft` &gt;= 2 AND c.`nright` &lt;= 19 ORDER BY `nleft` DESC
</p>

<p>
	 
</p>

<p>
	executed. This returns NULL, which means that the variable `currentCategoryView[‘breadcrumb_tree’]` is empty in the template, causing this error.
</p>

<p>
	Table Category: <br />
	    id_category     id_parent     id_shop_default     level_depth     nleft     nright     active     date_add     date_upd     redirect_type     id_type_redirected     position     is_root_category     <br />
	    1         0         1         0         1         22         1         2026-01-19 12:37:07         2026-01-19 12:37:07            404         0         0         0<br />
	    2         1         1         1         2         19         1         2026-01-19 12:37:07         2026-01-19 12:37:07            404         0         0         1<br />
	    3         2         1         2         3         8         1         2026-01-19 12:37:26         2026-01-19 12:37:26            301         0         1         0<br />
	    4         3         1         3         4         5         1         2026-01-19 12:37:26         2026-01-19 12:37:26            301         0         1         0<br />
	    5         3         1         3         6         7         1         2026-01-19 12:37:26         2026-01-19 12:37:26            301         0         2         0<br />
	    6         2         1         2         9         14         1         2026-01-19 12:37:26         2026-01-19 12:37:26            301         0         2         0<br />
	    7         6         1         3         10        11         1         2026-01-19 12:37:26         2026-01-19 12:37:26            301         0         1         0<br />
	    8         6         1         3         12        13         1         2026-01-19 12:37:26         2026-01-19 12:37:26            301         0         2         0<br />
	    9         2         1         2         15        16         1         2026-01-19 12:37:26         2026-01-19 12:37:26            301         0         3         0<br />
	    10         2         1         2         17        18         1         2026-03-31 11:37:38         2026-03-31 11:37:38            301         0         4         0<br />
	    11         1         1         1         20        21         1         2026-03-31 11:38:16         2026-03-31 11:38:16            410         0         0         1
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">1106576</guid><pubDate>Thu, 02 Apr 2026 10:09:15 +0000</pubDate></item><item><title>ERROR IN VOUCHER</title><link>https://forum.prestashop.com/topic/1106483-error-in-voucher/</link><description><![CDATA[<p>
	Hi everyone!
</p>

<p>
	I'm having trouble generating PrestaShop VOUCHERS/DISCOUNT COUPONS in this new version.
</p>

<p>
	I couldn't find how it used to be, but now there seems to be a tab called "discounts" within the Catalog.
</p>

<p>
	I'm trying to create them from here but I'm getting an error. I also don't understand how to create cart rules.
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2026_03/image.png.459a7d78323ec12270f9984b77474fe8.png" data-fileid="342372" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="342372" data-ratio="44.90" width="1000" alt="image.thumb.png.ed7032ab62ea3f791eb68f5a035499b8.png" data-src="//media.invisioncic.com/t336404/monthly_2026_03/image.thumb.png.ed7032ab62ea3f791eb68f5a035499b8.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2026_03/image.png.c2f9733c12bf7e1bd662f46ac5c266ed.png" data-fileid="342374" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="342374" data-ratio="49.70" width="1000" alt="image.thumb.png.3703a0d570a9f2092c1f53ffdf766d3a.png" data-src="//media.invisioncic.com/t336404/monthly_2026_03/image.thumb.png.3703a0d570a9f2092c1f53ffdf766d3a.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2026_03/image.png.24b0ee6eb5601c4d7c50b0b01c2eb31b.png" data-fileid="342373" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="342373" data-ratio="49.70" width="1000" alt="image.thumb.png.71219809a1c3dbbabcdf48f739a07e33.png" data-src="//media.invisioncic.com/t336404/monthly_2026_03/image.thumb.png.71219809a1c3dbbabcdf48f739a07e33.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	I corrected an error when creating the object. &lt;b&gt;cart_rule (unknown column 'minimum_product_quantity' in 'INSERT INTO')&lt;/b&gt;
</p>
]]></description><guid isPermaLink="false">1106483</guid><pubDate>Mon, 30 Mar 2026 22:23:58 +0000</pubDate></item><item><title>4 files corrupted in config/xml/ probably related to auto-update the module catalog config - BO login throws errors  [SOLVED]</title><link>https://forum.prestashop.com/topic/1106375-4-files-corrupted-in-configxml-probably-related-to-auto-update-the-module-catalog-config-bo-login-throws-errors-solved/</link><description><![CDATA[<p>
	Hi!<br />
	<br />
	My client added new articles today around noon and when he wanted to login again in the afternoon there were error messages, preventing a login.
</p>

<p>
	in config/xml/<br />
	- default_country_modules_list.xml<br />
	- must_have_modules_list.xml<br />
	- modules_native_addons.xml<br />
	- don't rember the 4th .xml file...<br />
	<br />
	The files were 71 bytes long and contained an error message encoded in JSON.<br />
	<br />
	I replaced the 4 files with the last backed up and it worked again.
</p>

<p>
	1.7.5.0 / PHP 5.6 (I know it's ooold, but I try to upgrade to v8 over the weekend <img alt=";)" data-emoticon="" height="20" src="https://media.invisioncic.com/t336404/emoticons/default_wink.png" srcset="https://media.invisioncic.com/t336404/emoticons/wink@2x.png 2x" title=";)" width="20" />
</p>

<p>
	ciao..
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">1106375</guid><pubDate>Thu, 26 Mar 2026 16:49:42 +0000</pubDate></item><item><title>404 not found when opening translations menu item (1.7.5.0) http://i18n.prestashop.com/translations/1.7.5.0/available_languages.json</title><link>https://forum.prestashop.com/topic/1106480-404-not-found-when-opening-translations-menu-item-1750-httpi18nprestashopcomtranslations1750available_languagesjson/</link><description><![CDATA[<p>
	can't open the translations menu item any more
</p>

<p>
	Error in src/Core/Language/Pack/Loader/RemoteLanguagePackLoader.php (line 60)
</p>

<p>
	seems like they don't care about older versions at all...
</p>

<p>
	very very lame developers!
</p>
]]></description><guid isPermaLink="false">1106480</guid><pubDate>Mon, 30 Mar 2026 16:00:34 +0000</pubDate></item><item><title>backend Cart list is too slow</title><link>https://forum.prestashop.com/topic/1105851-backend-cart-list-is-too-slow/</link><description><![CDATA[<p>
	Hi, I have checked into github issues but I do not have found any solutions about my problem.
</p>

<p>
	<br />
	I have a prestashop 9.1, and after 5 month of my online store, no I had a lot of abbandoned cart, and when I want to check the cart list in my backend, prestashop or is too slow, or got a time out error.
</p>

<p>
	Do you have a temporany solution about these problem ? at the moment I added a index on DB on carts table column date_add, I litle bit solved the problem.
</p>

<p>
	thanks
</p>
]]></description><guid isPermaLink="false">1105851</guid><pubDate>Wed, 04 Mar 2026 10:33:38 +0000</pubDate></item><item><title>Different prices (with and without VAT) depending the browser</title><link>https://forum.prestashop.com/topic/1105801-different-prices-with-and-without-vat-depending-the-browser/</link><description><![CDATA[<p>
	Hello guys,
</p>

<p>
	We have noticed in our shop <a href="https://glamspot.eu" rel="external nofollow">https://glamspot.eu</a> that the prices are being displayed with or without VAT depending the browser used.
</p>

<p>
	For example, in Chrome in macbook, Safari no iPhone is showing with VAT, in safari iPad, Safari no Macbook, Chrome in a Android device,  Edge and Chrome no Windows without VAT.
</p>

<p>
	Of course the IVA is being calculated in the checkout and the final price, as well the price we see in the admin/backoffice is the normal price with VAT.
</p>

<p>
	Any idea what this might be? Thanks for all the help.
</p>
]]></description><guid isPermaLink="false">1105801</guid><pubDate>Fri, 27 Feb 2026 17:54:11 +0000</pubDate></item><item><title>No product picture display of ID image greater than 9999999</title><link>https://forum.prestashop.com/topic/1032459-no-product-picture-display-of-id-image-greater-than-9999999/</link><description><![CDATA[
<p>
	Good morning everyone
</p>

<p>
	It's a very strange problem on a prestashop installation, made some years ago by using 1.6.1.4 version. That's what happens:
</p>

<p>
	When the 10 millionth product image is entered, the system does not display it anymore while all the other images with a lower ID keep being displayed with no problem
</p>

<p>
	If I disable the URL REWRITE, all the photos are correctly displayed
</p>

<p>
	I already made sure that in .htaccess there's the picture display with ID greater than 7 numbers, and it's present.
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln"># Images
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]</span></pre>

<p>
	As if prestashop didn't take into consideration this instruction
</p>

<p>
	Any tips?
</p>

<p>
	Thanks you all
</p>

<p>
	- sorry my english -
</p>
]]></description><guid isPermaLink="false">1032459</guid><pubDate>Fri, 25 Sep 2020 11:12:55 +0000</pubDate></item><item><title>PS 9 (9.0.2) log in form (click)issues</title><link>https://forum.prestashop.com/topic/1104747-ps-9-902-log-in-form-clickissues/</link><description><![CDATA[<p>
	Hi PS world,
</p>

<p>
	since a month I'm using PS9 (supposed to be set for production) however I had found an issue that is keeping me away to publish the webite.
</p>

<p>
	 
</p>

<p>
	Technically I don't know how to explain it exactly, however I often can't insert email and pwd from front office to log in as a customer; it looks like I can't "focus" the email and password fields.
</p>

<p>
	I encounter, often, the same issue when I try to click on products from the product list.
</p>

<p>
	PS version: 9.0.2
</p>

<p>
	PHP 8.2.29 (I tried also with the 8.1)
</p>

<p>
	Theme: hummingbird.
</p>

<p>
	 
</p>

<p>
	Thank you all in advance for your time.
</p>

<p>
	Marcello
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="JPG" data-fileid="341019" href="//media.invisioncic.com/t336404/monthly_2026_01/loginform.JPG.0c28ff7f92e96b54cf7e3bd06391f0a6.JPG" rel=""><img alt="loginform.thumb.JPG.685522262aa988a15157abddddc48335.JPG" class="ipsImage ipsImage_thumbnailed" data-fileid="341019" data-ratio="39.50" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t336404/monthly_2026_01/loginform.thumb.JPG.685522262aa988a15157abddddc48335.JPG" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">1104747</guid><pubDate>Mon, 12 Jan 2026 14:13:29 +0000</pubDate></item><item><title>Customer address not saved</title><link>https://forum.prestashop.com/topic/1104508-customer-address-not-saved/</link><description><![CDATA[<p>
	Hi everyone,
</p>

<p>
	I have been testing the upgrade of my prestashop installation going from 1.6.1.24 to 1.7.8.11 and continuing to 8.2.3.
</p>

<p>
	I must say, it went pretty smoothly. Ofcourse i had the incompatible modules that needed updating and i had reset the theme to classic.
</p>

<p>
	During testing, i came across an issue that a customer could enter their address (step 2 of checkout), but it would not save. Instead, the form would return to step 2 and in the url i could see ?id_address=0 was added.
</p>

<p>
	I then tried to add an address to the customer from the backoffice, but that also failed. That made me think this has to be a database problem.
</p>

<p>
	I compared the schemas for ps_address and there were indeed differences. After running the following sql statements to fix the discrepancies, I was able to add addresses using the backoffice:
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2026_01/image.png.c077a8623703f12cd9bd6209754d55a6.png" data-fileid="340835" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="340835" data-ratio="23.30" width="1000" alt="image.thumb.png.6adb2a19977f4e1f3107c4a034e740be.png" data-src="//media.invisioncic.com/t336404/monthly_2026_01/image.thumb.png.6adb2a19977f4e1f3107c4a034e740be.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	However, the front office wasn't working. When trying to add an address to a customer's account, i always got the "Please fix the error below." message on top of the form, but all fields were OK (not red). I debugged it and it returned nothing in the error array. So field validation was OK.
</p>

<p>
	Next up was this piece of code in the validate function of "classes/form/CustomerAddressForm.php"
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2026_01/image.png.422148bcd94e900937b1f2d54806968c.png" data-fileid="340836" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="340836" data-ratio="10.80" width="1000" alt="image.thumb.png.39be34df0a8a6f92950fdcb507fd6baa.png" data-src="//media.invisioncic.com/t336404/monthly_2026_01/image.thumb.png.39be34df0a8a6f92950fdcb507fd6baa.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	The if statement would always fire the inner code, meaning that the Hook check was never empty ('').<br />
	I did some debugging on this and $hookReturn returned null (not an empty string) and possibly an empty array (i had this result during some testing).
</p>

<p>
	So i changed the code into:
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2026_01/image.png.06cf5d45ee458877427c72c62c62e6a6.png" data-fileid="340837" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="340837" data-ratio="12.90" width="1000" alt="image.thumb.png.6725acc8227a6ccf32fd44447f21cfd4.png" data-src="//media.invisioncic.com/t336404/monthly_2026_01/image.thumb.png.6725acc8227a6ccf32fd44447f21cfd4.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	And now my address is being saved properly in the back office and the front office.
</p>

<p>
	My question, shouldn't this hit all people on 8.2.3 that have no hooks for 'actionValidateCustomerAddressForm'. Or am i missing a hook?<br /><br />
	PS: Why on earth is cloudflare blocking this forum post when i use the &lt;&gt; code. I have now pasted it as images, which is stupid.
</p>
]]></description><guid isPermaLink="false">1104508</guid><pubDate>Fri, 02 Jan 2026 13:54:52 +0000</pubDate></item><item><title>No longer able to send emails from PS 8.1.6 as error is thrown</title><link>https://forum.prestashop.com/topic/1104511-no-longer-able-to-send-emails-from-ps-816-as-error-is-thrown/</link><description><![CDATA[<p>
	No longer able to send emails from PS 8.1.6 as error is thrown.
</p>

<p>
	Any ideas please
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2026_01/Screenshot2026-01-02153414.png.dfe622dda43a56a6d7fef91d92465e15.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="340840" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2026_01/Screenshot2026-01-02153414.thumb.png.6439ff120c8b54595387a15532c25abe.png" data-ratio="18.6" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Screenshot 2026-01-02 153414.png"></a></p>
<p><a href="//media.invisioncic.com/t336404/monthly_2026_01/Screenshot2026-01-02152907.png.61f4634ae0549f5c94a3f6a8d4479cfa.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="340841" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2026_01/Screenshot2026-01-02152907.png.61f4634ae0549f5c94a3f6a8d4479cfa.png" data-ratio="72.09" width="799" class="ipsImage ipsImage_thumbnailed" alt="Screenshot 2026-01-02 152907.png"></a></p>]]></description><guid isPermaLink="false">1104511</guid><pubDate>Fri, 02 Jan 2026 16:16:27 +0000</pubDate></item><item><title>Error in meta character counting In PS9.02</title><link>https://forum.prestashop.com/topic/1104135-error-in-meta-character-counting-in-ps902/</link><description><![CDATA[<p>
	There is a problem with meta character counting in the products' SEO section. When they are in "English" (Latin script), they are counted correctly. When they are in Cyrillic, it counts all characters instead of symbols. Thus, this meta title with a length of 45 symbols is counted as 84: "Употребявано Wing крило KT Astro 2.0m2 с гик".
</p>

<p>
	The same situation in short description: "Отлично състояние, неразличим от нов. Модел 2026г. Лекота, производителност и издръжливост са ключовите конструктивни параметри на крилото" - real 139, counted 374.
</p>

<p>
	In PS8 was right.
</p>

<p>
	p.s. Maybe these are not used, but the remaining ones!
</p>
]]></description><guid isPermaLink="false">1104135</guid><pubDate>Mon, 15 Dec 2025 09:33:52 +0000</pubDate></item><item><title>PSv8.1.6 Printing Invoices no longer works BO/Orders/Invoices</title><link>https://forum.prestashop.com/topic/1104369-psv816-printing-invoices-no-longer-works-boordersinvoices/</link><description><![CDATA[<p>
	PSv8.1.6 Printing Invoices no longer works BO/Orders/Invoices
</p>

<p>
	By order status or by date get an error message (Division by Zero)
</p>

<p>
	See error message and debug screen
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2025_12/Screenshot2025-12-26114221.png.7a8716e768bfa8d2da395960d3af64f0.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="340737" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2025_12/Screenshot2025-12-26114221.thumb.png.5643c7bc04a13c8fbfb09da70710541a.png" data-ratio="82.33" width="911" class="ipsImage ipsImage_thumbnailed" alt="Screenshot 2025-12-26 114221.png"></a></p>
<p><a href="//media.invisioncic.com/t336404/monthly_2025_12/Screenshot2025-12-26114143.png.7b29810c755551f8c65a7f1651d9ae34.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="340738" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2025_12/Screenshot2025-12-26114143.png.7b29810c755551f8c65a7f1651d9ae34.png" data-ratio="56.82" width="572" class="ipsImage ipsImage_thumbnailed" alt="Screenshot 2025-12-26 114143.png"></a></p>]]></description><guid isPermaLink="false">1104369</guid><pubDate>Fri, 26 Dec 2025 12:43:16 +0000</pubDate></item><item><title>The Backoffice page just reloads and returns to the login screen</title><link>https://forum.prestashop.com/topic/1104152-the-backoffice-page-just-reloads-and-returns-to-the-login-screen/</link><description><![CDATA[<p>
	I’m running PrestaShop 1.7.8.1 and suddenly can’t access my back‑office. After entering the correct email and password, the page just reloads and returns to the login screen. I’ve checked PHP version, SSL, cleared caches, and confirmed that PS_SHOP_DOMAIN, PS_SHOP_DOMAIN_SSL and PS_COOKIE_CHECKIP values are correct. The dev.log only shows deprecation notices no errors. Could you please advise on how to resolve this login loop?
</p>
]]></description><guid isPermaLink="false">1104152</guid><pubDate>Mon, 15 Dec 2025 22:07:59 +0000</pubDate></item><item><title>Missing GDPR checkbox and text in Product comments module</title><link>https://forum.prestashop.com/topic/1008879-missing-gdpr-checkbox-and-text-in-product-comments-module/</link><description><![CDATA[
<p>
	[PrestaShop 1.7.6.1, Official GDPR compliance 1.1.3, Official Product Comments 4.0.1]
</p>

<p>
	Hello, I installed the Official GDPR compliance module and I set it to show the GDPR checkbox and text with the Official Product Comments module (see image-1 attached), but the GDPR checkbox and text are not showed in the product comments form (see image-2 attached). Can someone help me? Thank you.
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2019_11/immagine-1.jpg.a99dee3aa864fe27b48dbf050750877b.jpg" data-fileid="231137" data-fileext="jpg" rel=""><img alt="immagine-1.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="231137" data-ratio="54.3" width="1000" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2019_11/immagine-1.thumb.jpg.6100bfcc727be7bfd184d9ee77dee54c.jpg"></a>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2019_11/immagine-2.jpg.d924c3e54cd0c6637d4a978ca3ea75db.jpg" data-fileid="231138" data-fileext="jpg" rel=""><img alt="immagine-2.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="231138" data-ratio="60.8" width="1000" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2019_11/immagine-2.thumb.jpg.05be8cf3543491b5fc2b96666db2fab0.jpg"></a>
</p>
]]></description><guid isPermaLink="false">1008879</guid><pubDate>Mon, 18 Nov 2019 14:14:58 +0000</pubDate></item><item><title>The physical stock of products is automatically incremented with each order</title><link>https://forum.prestashop.com/topic/1103984-the-physical-stock-of-products-is-automatically-incremented-with-each-order/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	We have just migrated our site from PrestaShop 1.6.1.16 to Prestashop 8.2.3 using the Migration Pro module, but since the migration, we have encountered a strange problem.
</p>

<p>
	As soon as an order is placed, the physical stock of the products included in that order is increased. If three products are ordered, three products are added, and so on.
</p>

<p>
	This problem occurs with any order, regardless of whether the item is in stock, the carrier, or the payment method. It is also not related to the order status, as the problem occurs as soon as the order is placed, whether it is pending payment, paid, or otherwise. By the way, this change doesn't print any stock movement.
</p>

<p>
	We have tried disabling the modules, but nothing works. This problem is having a major impact on our stock and is starting to affect our services.
</p>

<p>
	Does anyone have any ideas? We are open to any solution.
</p>

<p>
	Please let me know if you need any further information.
</p>

<p>
	Best regards,<br />
	Theo Marchal
</p>
]]></description><guid isPermaLink="false">1103984</guid><pubDate>Mon, 08 Dec 2025 22:57:28 +0000</pubDate></item><item><title>Unnecessary extra field for availability in faceted search</title><link>https://forum.prestashop.com/topic/1064015-unnecessary-extra-field-for-availability-in-faceted-search/</link><description><![CDATA[<p>
	Hello!
</p>

<p>
	I think I ran into a bug in Faceted Search module. My product stock filter looks like this (Im only using 1 language in my shop, Polish):
</p>

<p>
	<img alt="image.png.5774210ddf92dfb21901eed46e63d57d.png" class="ipsImage ipsImage_thumbnailed" data-fileid="289396" data-ratio="56.87" style="height:auto;" width="211" data-src="https://forum.prestashop.com/uploads/monthly_2022_05/image.png.5774210ddf92dfb21901eed46e63d57d.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></p>

<p>
	(Niedostepne = Unavailable, W magazynie = In stock)
</p>

<p>
	So I'm getting proper fields in Polish, but there's also a random extra field and I've got no clue where is it coming from. Ive checked translations panel and while there are options of translating "In stock" and "Unavailable", there's no such field as "Available". Any ideas what might be wrong and how to fix it and remove the extra field?
</p>

<p>
	I'm using Presta 1.7.8.5 with ps_facetedsearch v3.8.0.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">1064015</guid><pubDate>Fri, 13 May 2022 23:39:45 +0000</pubDate></item><item><title>WAMP PS9 not opening new installation</title><link>https://forum.prestashop.com/topic/1103756-wamp-ps9-not-opening-new-installation/</link><description><![CDATA[<p>
	I am a newbe to PrestaShop. Years ago I built intranet apps using MS ASP, javascript, SQLServer, IIS, etc. But anything Linux is new to me.
</p>

<p>
	I am attempting to upgrade my son's PS 1.5 shop to a later version, eg PS8 or PS9. My plan: build a local copy of PS and then work out how to do the upgrade. I have fallen at the first hurdle!
</p>

<p>
	I have a new installation of PS9.0.1 on a new Win 11 / WAMP setup.
</p>

<p>
	PS9 Installs OK but then Apache refuses to serve up both the shop or the back end.
</p>

<p>
	<strong>Entering <a href="https://localhost/PS9" rel="external nofollow">https://localhost/PS9</a>  into MS Edge produces:</strong>
</p>

<p>
	    Hmmm… can't reach this page
</p>

<p>
	    localhost refused to connect.
</p>

<p>
	    Try:
</p>

<p>
	    Checking the connection
</p>

<p>
	    Checking the proxy and the firewall
</p>

<p>
	    ERR_CONNECTION_REFUSED
</p>

<p>
	<strong>Entering <a href="https://localhost/PS9" rel="external nofollow">https://localhost/PS9</a>/admin  into MS Edge produces:</strong>
</p>

<p>
	    Oops! An Error Occurred
</p>

<p>
	   The server returned a "500 Internal Server Error".
</p>

<p>
	I am obviously new at this. What have I missed? Please help!! Very annoying
</p>

<p>
	Barrie
</p>

<p>
	The installation is:
</p>

<p>
	WAMP Server 2.4. Server Configuration
</p>

<p>
	Apache Version: 2.4.65  - Documentation Apache - Loaded Apache modules
</p>

<p>
	Server Software: Apache/2.4.65 (Win64) PHP/8.3.28 mod_fcgid/2.3.10-dev - Port defined for Apache: 80
</p>

<p>
	PHP Version: [Apache module]  8.3.28 - Documentation PHP - Loaded PHP extensions - Use of PHP versions
</p>

<p>
	[FCGI] 8.0.30 - 8.1.33 - 8.2.29 - 8.3.28 - 8.4.15 - 8.5.0 - FCGI mode help
</p>

<p>
	MySQL Version: 8.4.7 - Port defined for MySQL: 3306 - default DBMS -  Documentation MySQL
</p>

<p>
	MariaDB Version: 11.4.9 - Port defined for MariaDB: 3307 -  Documentation MariaDB - MySQL - MariaDB
</p>

<p>
	Win64OpenSSL_Light-3_6_0 (1)
</p>
]]></description><guid isPermaLink="false">1103756</guid><pubDate>Fri, 28 Nov 2025 14:58:31 +0000</pubDate></item><item><title>"Could not perform action update for module undefined"</title><link>https://forum.prestashop.com/topic/1103645-could-not-perform-action-update-for-module-undefined/</link><description><![CDATA[<p>
	Greetings, I've noticed that when there's two or more module updates available I can update the first in the list fine. But then when I click "Upgrade" on the second in the list, a message appears at the top (toast message) with a red background, that has: "Could not perform action update for module undefined". Without reloading the page*.
</p>

<p>
	Then after I reload the page, the first one that was in the list that was updated disappears, and I can then update the new first one in the list. (which was previously second in the list) But when I try to update the next one in the list, the same error message appears at the top right. "Could not perform action update for module undefined".
</p>

<p>
	Then I have to reload the page again, and then I can update the last in the list. (of three at this time)
</p>

<p>
	 
</p>

<p>
	Thank you, Shalom
</p>

<p>
	 
</p>

<p>
	 
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2025_11/ModulenotificationsWholisticApproaches.net-Brave.png.49fd98d0db9264a98866c46ee7f44989.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="340072" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2025_11/ModulenotificationsWholisticApproaches.net-Brave.thumb.png.424abf65d0027067d5be923b6e86cbf3.png" data-ratio="50.1" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Module notifications • Wholistic Approaches.net - Brave.png"></a></p>]]></description><guid isPermaLink="false">1103645</guid><pubDate>Tue, 25 Nov 2025 04:27:15 +0000</pubDate></item><item><title>Not working shopping cart after Upgrade 1.7.8.0</title><link>https://forum.prestashop.com/topic/1055219-not-working-shopping-cart-after-upgrade-1780/</link><description><![CDATA[<p>
	After upgrade not working shopping cart.
</p>

<p>
	First when upgrade to 1.7.8 and PHP 7.3 at shopping cart not working ajax update on products quantities and delete not working.
</p>

<p>
	When change to PHP 7.4 error in shopping cart: Notice: Trying to access array offset on value of type null
</p>

<p>
	First issue I think with jquery. Second need check if is set index.
</p>

<p>
	But I don't know where fix it.
</p>

<p>
	Or it is theme problem or core?
</p>

<p>
	Any ideas?
</p>

<p>
	 
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2021_10/2117264582_Screenshot(137).png.9b14b31d5914e43155d46b392c467a8a.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="279864" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2021_10/900292468_Screenshot(137).thumb.png.9dc75757e80c13b7dc79ff40ffa9499c.png" data-ratio="56.3" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Screenshot (137).png"></a></p>
<p><a href="//media.invisioncic.com/t336404/monthly_2021_10/413663120_Screenshot(138).png.a530acd9674fc6020e8a767a6777e978.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="279865" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2021_10/164409999_Screenshot(138).thumb.png.d20a4cd6080f6b07102769e9fc520c94.png" data-ratio="56.3" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Screenshot (138).png"></a></p>
<p><a href="//media.invisioncic.com/t336404/monthly_2021_10/229583639_Screenshot(139).png.5fef3a781452e5f663d50a5e10f211f2.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="279866" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2021_10/1232674941_Screenshot(139).thumb.png.0cdaba53820e334a966eee878cc1bbbd.png" data-ratio="56.3" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Screenshot (139).png"></a></p>
<p><a href="//media.invisioncic.com/t336404/monthly_2021_10/2048671549_Screenshot(140).png.d9629ec9e69dbec986a5beef05e2a6b0.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="279867" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2021_10/1208539866_Screenshot(140).thumb.png.c9a5c8634e5802107483f833feeb5673.png" data-ratio="56.3" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Screenshot (140).png"></a></p>
<p><a href="//media.invisioncic.com/t336404/monthly_2021_10/1240818740_Screenshot(136).png.2bfb6fad9c8d59d7a343bd2625100e3d.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="279863" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2021_10/856068679_Screenshot(136).thumb.png.04230268ff49df2fbee39b0295a5c76b.png" data-ratio="56.3" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Screenshot (136).png"></a></p>
<p><a href="//media.invisioncic.com/t336404/monthly_2021_10/1181744424_Screenshot(141).png.17d59cab90257a2dc15fa6bfa4403800.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="279868" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2021_10/2125121394_Screenshot(141).thumb.png.64699c19c58c359dd145dc1e53ada280.png" data-ratio="56.3" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Screenshot (141).png"></a></p>]]></description><guid isPermaLink="false">1055219</guid><pubDate>Fri, 08 Oct 2021 22:03:30 +0000</pubDate></item><item><title>(1/1) FatalErrorException   in appDevDebugProjectContainer.php line 1689</title><link>https://forum.prestashop.com/topic/1032740-11-fatalerrorexception-in-appdevdebugprojectcontainerphp-line-1689/</link><description><![CDATA[<p>
	I was updating some prestashop modules, and also enable the URL friendly option. and suddenly I got this error.<br />
	Does anyone know how to fix it?
</p>
<p><a href="//media.invisioncic.com/t336404/monthly_2020_09/795197686_vitadealererror.jpg.5932dd32c32577c14130bc1406d7c715.jpg" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="254966" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2020_09/467445971_vitadealererror.thumb.jpg.0ecb4f8f221b8e22f5e2e0346818aef5.jpg" data-ratio="38.2" width="1000" class="ipsImage ipsImage_thumbnailed" alt="vitadealer error.jpg"></a></p>]]></description><guid isPermaLink="false">1032740</guid><pubDate>Wed, 30 Sep 2020 01:38:43 +0000</pubDate></item><item><title>HomePage native modules width problem in Presta 9 with Hummingbird</title><link>https://forum.prestashop.com/topic/1103485-homepage-native-modules-width-problem-in-presta-9-with-hummingbird/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I am now testing Hummingbird at Presta 9.0.1.
</p>

<p>
	I have a problem with native prestashop modules: Image Slider and Banner at Main Page.
</p>

<p>
	At Classic theme it works all fine but at Hummingbird it does not fit to width of responsively set body section but is displayed from edge to edge of monitor (Image Slider) or too narrowly (Banner).
</p>

<p>
	Any other modules at Main Page works fine.
</p>

<p>
	I have noticed that in Classic theme div class=container is set almost at the beginning of main section and contains all content of main section. But in Hummingbird it is not at the beginning of whole main section but is inserted inside some of module sections. Where it is module works fine, but in Image Slider and Banner it is missing. Because of some reason Hummingbird put it to some modules and does not to another.
</p>

<p>
	Is there any easy way to fix it?
</p>

<p>
	Thanks in advance.
</p>
]]></description><guid isPermaLink="false">1103485</guid><pubDate>Tue, 18 Nov 2025 09:38:26 +0000</pubDate></item><item><title>Stripe Payment Module Error Cannot get ProductLazyArray from ID: Argument 1</title><link>https://forum.prestashop.com/topic/1103281-stripe-payment-module-error-cannot-get-productlazyarray-from-id-argument-1/</link><description><![CDATA[<p>
	I am getting errors on the Prestashop error logs of the following:
</p>

<p>
	Some stripe payments are still being processed.
</p>

<p>
	I can't see any corresponding activity on the Stripe developer logs and no customer shopping carts logged around the same time.
</p>

<p>
	 
</p>

<p>
	Is anyone else getting similar errors?
</p>

<p>
	Prestashop V8.1.6
</p>

<p>
	PHP version 8.1
</p>

<p>
	Stripe Module version 3.6.8
</p>

<p>
	 
</p>

<p>
	stripe_official - mLpeIec1PCac0fNsoff - /classes/services/StripeDisplayHeaderService.php:61 - Cannot get ProductLazyArray from ID: Argument 1 passed to StripeOfficial\Classes\factories\StripeProductLazyArrayFactory::createProductLazyArrayFromProductId() must be of the type integer, null given, called in /home/automate/public_html/modules/stripe_official/classes/services/StripeDisplayHeaderService.php on line 59 - #0 /home/automate/public_html/modules/stripe_official/classes/services/StripeDisplayHeaderService.php(59): StripeOfficial\Classes\factories\StripeProductLazyArrayFactory::createProductLazyArrayFromProductId(NULL, Object(Context)) #1 /home/automate/public_html/modules/stripe_official/stripe_official.php(1235): StripeOfficial\Classes\services\StripeDisplayHeaderService-&gt;setHeaders() #2 /home/automate/public_html/classes/Hook.php(1043): Stripe_official-&gt;hookDisplayHeader(Array) #3 /home/automate/public_html/classes/Hook.php(418): HookCore::coreCallHook(Object(Stripe_official), 'hookDisplayHead...', Array) #4 /home/automate/public_html/classes/Hook.php(981): HookCore::callHookOn(Object(Stripe_official), 'displayHeader', Array) #5 /home/automate/public_html/classes/controller/FrontController.php(622): HookCore::exec('displayHeader') #6 /home/automate/public_html/controllers/front/ProductController.php(465): FrontControllerCore-&gt;initContent() #7 /home/automate/public_html/classes/controller/Controller.php(319): ProductControllerCore-&gt;initContent() #8 /home/automate/public_html/classes/Dispatcher.php(510): ControllerCore-&gt;run() #9 /home/automate/public_html/index.php(28): DispatcherCore-&gt;dispatch() #10 {main}
</p>
]]></description><guid isPermaLink="false">1103281</guid><pubDate>Sun, 09 Nov 2025 00:57:29 +0000</pubDate></item><item><title>PS 8.0.4 - Missing rounding price option</title><link>https://forum.prestashop.com/topic/1078575-ps-804-missing-rounding-price-option/</link><description><![CDATA[<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2023_07/image.png.17f08a39e2da9781b72b6e854ab9eaaa.png" data-fileid="312226" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="312226" data-ratio="54.90" width="1000" alt="image.thumb.png.d5463f76f29e4890911be6d85e746a75.png" data-src="//media.invisioncic.com/t336404/monthly_2023_07/image.thumb.png.d5463f76f29e4890911be6d85e746a75.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>Hi, 
</p>

<p>
	In the instruction of the PS8, there is description of number of decimals option. <br />
	However in my menu there is no such option? How can I round my prices to full price, without any decimals? <br /><br />
	Thank you in advance!<br /><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2023_07/image.png.96e6884d1fd7892d2301c06d88ed0818.png" data-fileid="312227" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="312227" data-ratio="65.30" width="1000" alt="image.thumb.png.7a946f8707c41242445cc7480aa64c86.png" data-src="//media.invisioncic.com/t336404/monthly_2023_07/image.thumb.png.7a946f8707c41242445cc7480aa64c86.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>
]]></description><guid isPermaLink="false">1078575</guid><pubDate>Fri, 21 Jul 2023 14:03:09 +0000</pubDate></item><item><title>Error 500: "This value should not be blank", when try to save combinations.</title><link>https://forum.prestashop.com/topic/1065099-error-500-this-value-should-not-be-blank-when-try-to-save-combinations/</link><description><![CDATA[<p>
	Hello,<br />
	after upgrade my shop from the 1.7.7.2 to 1.7.8.6, I can't save product with combinations now. Console show error 500 with the following text: 
</p>

<pre class="ipsCode prettyprint lang-javascript prettyprinted"><span class="pun">{</span><span class="pln">
    </span><span class="str">"combination_16331_attribute_ecotax"</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
        </span><span class="str">"This value should not be blank."</span><span class="pln">
    </span><span class="pun">],</span><span class="pln">
    </span><span class="str">"combination_16332_attribute_ecotax"</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
        </span><span class="str">"This value should not be blank."</span><span class="pln">
    </span><span class="pun">],</span><span class="pln">
    </span><span class="str">"combination_16333_attribute_ecotax"</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
        </span><span class="str">"This value should not be blank."</span><span class="pln">
    </span><span class="pun">]</span><span class="pln">
</span><span class="pun">}</span></pre>

<p>
	What is wrong?
</p>
]]></description><guid isPermaLink="false">1065099</guid><pubDate>Tue, 14 Jun 2022 08:44:33 +0000</pubDate></item><item><title>PS 8.1.7: catalog price rules disappear randomly</title><link>https://forum.prestashop.com/topic/1091954-ps-817-catalog-price-rules-disappear-randomly/</link><description><![CDATA[<p>
	Hi to all,<br />
	 I have a catalog price rules that add a 75% off discount to a user group called "customers B2B"  and I see discounts if I login with user assiciated at that group.<br />
	Sometimes (I think randomly) that discount disappears and I need to re-save rule to see on front office discounts<br />
	Is a PS bug?<br />
	I'm on PS 8.1.7<br />
	Regards<br />
	Marco
</p>
]]></description><guid isPermaLink="false">1091954</guid><pubDate>Thu, 31 Oct 2024 08:15:56 +0000</pubDate></item><item><title>php warning on product page. prestashop 8.2 php 8.1</title><link>https://forum.prestashop.com/topic/1093525-php-warning-on-product-page-prestashop-82-php-81/</link><description><![CDATA[<p>
	Does anyone know about this bug? and any fix?
</p>

<p>
	 
</p>

<p>
	PHP Warning: Undefined array key "cart_quantity" in /public_html/controllers/front/ProductController.php on line 1329
</p>

<p>
	 
</p>

<p>
	    /**<br />
	     * @param array $product<br />
	     *<br />
	     * @return int<br />
	     */<br />
	    protected function getRequiredQuantity($product)<br />
	    {<br />
	        $requiredQuantity = (int) Tools::getValue('quantity_wanted', $this-&gt;getProductMinimalQuantity($product));<br />
	        if ($requiredQuantity &lt; $product['minimal_quantity']) {<br />
	            $requiredQuantity = $product['minimal_quantity'];<br />
	        }
</p>

<p>
	        if ($product['cart_quantity'] &gt;= $requiredQuantity) {<br />
	            return 0;<br />
	        }
</p>

<p>
	        return $requiredQuantity;
</p>
]]></description><guid isPermaLink="false">1093525</guid><pubDate>Thu, 19 Dec 2024 20:11:02 +0000</pubDate></item><item><title>Smarty cache causing file access loop and crash</title><link>https://forum.prestashop.com/topic/912337-smarty-cache-causing-file-access-loop-and-crash/</link><description><![CDATA[
<p>
	Hi!
</p>

<p>
	 
</p>

<p>
	I'm coming to you with a strange one, and hard to diagnose as well...
</p>

<p>
	We are encountering a problem on a 1.6.1.18 shop (but the problem might have been there before this version as we are just now managing this website) : when the Prestashop Smarty Cache is enabled, after some time or after something is triggered, the PHP-FPM instances start to overload the server and finally render the site inaccessible.
</p>

<p>
	 
</p>

<p>
	<strong>A bit of context</strong>
</p>

<p>
	This shop is running on a dedicated server with:
</p>

<p>
	- 16G of RAM
</p>

<p>
	- PHP-FPM 7.0.32
</p>

<p>
	- MariaDB 10.1.26
</p>

<p>
	It used to be on an other server with a rather complex configuration, but has since been moved. The problem persisted. It also used to use PHP-FPM 5.6, but the problem persisted after we upgraded to 7.0.
</p>

<p>
	The shop has between 7k and 10k page views per day and approximately 15 to 20 orders a day. It also has ~1600 active products in its catalog.
</p>

<p>
	 
</p>

<p>
	<strong>The problem</strong>
</p>

<p>
	When the shop is using the Smarty Cache (filesystem, not database), at seemingly random moments, the PHP-FPM processes start to overload one after the other until the server gets a load average so high that the website can't be viewed any more. The only solution at this stage is to restart the php-fpm daemon and then the site works again until the next occurrence of this phenomenon. The only way we found to avoid this all together has been to disable the Smarty Cache, but that's not a good solution.
</p>

<p>
	We can't pinpoint what conditions are causing this problem to appear nor why it's happening. We tried to replicate it on an other server simulating a load on the website, adding and editing products, triggering CRON jobs, and so on, without success. From that, we gathered that the problem must be triggered by a load specific to the daily use of the shop (visitors, orders, admin actions, cron jobs, modules calling external APIs for delivery or abandoned carts, ...).
</p>

<p>
	When the problem occurs, what is apparent is that the PHP-FPM processes are trying to fetch or remove template cache files from different modules very rapidly and in a seemingly infinite loop. We found that by running a trace (using `strace`) on the processes. The queried paths vary from one occurrence to another and even during the occurrence, so there is not definite culprit that can be identified among the modules.
</p>

<p>
	The traces show that the systems is trying to remove some cache directories with the `rmdir` system call but that fails as the directory is not empty. Example:<br />
	`rmdir("/var/www/vhosts/website.com/httpdocs/cache/smarty/cache/additionalproductstabs/tab/291/1/1") = -1 ENOTEMPTY (Directory not empty)`
</p>

<p>
	 
</p>

<p>
	We don't know anymore where to search for clues. The problem is hard to diagnose as the shop is in production and we can't do everything we want on it. Moreover, as we could not replicate this problem on our staging environment, we can't easily test solutions like deactivating modules to see if it still happens.
</p>

<p>
	 
</p>

<p>
	We are asking for your help to try to find a new perspective or a new approach to diagnosing this problem and solving it. We can provide whatever configuration you need to better understand what could be causing this. Two pieces of trace are attached to this post if you want to have a look at the output (they are just extracts as it runs indefinitely until a daemon restart).
</p>

<p>
	 
</p>

<p>
	Thanks a lot to everyone who can help!
</p>

<p><a class="ipsAttachLink" href="//www.prestashop.com/forums/applications/core/interface/file/attachment.php?id=205688">trace_2</a></p>
<p><a class="ipsAttachLink" href="//www.prestashop.com/forums/applications/core/interface/file/attachment.php?id=205689">trace_1</a></p>]]></description><guid isPermaLink="false">912337</guid><pubDate>Thu, 18 Oct 2018 15:08:52 +0000</pubDate></item><item><title>Wrong product prices in order details when using multiple currencies (PrestaShop 1.7.6.x) [solution]</title><link>https://forum.prestashop.com/topic/1102354-wrong-product-prices-in-order-details-when-using-multiple-currencies-prestashop-176x-solution/</link><description><![CDATA[<p>
	Hi all,
</p>

<p>
	I know this version is quite old now, but sharing a fix I had to implement on a PrestaShop 1.7.6.7 site with multi-currency enabled. Posting here because I couldn’t find a clear solution for this specific case anywhere.
</p>

<p>
	The issue:
</p>

<ul><li>
		When an order was placed in a non-default currency (e.g. shop base in EUR, customer pays in CHF), the order itself showed the correct totals in the order currency.
	</li>
	<li>
		But in ps_order_detail, the product line prices (product_price, original_product_price, unit/totals) were stored in the shop’s base currency.
	</li>
	<li>
		This meant inconsistencies: order summary looked fine, but the order details showed the wrong currency values (in BO and order confirmation emails).
	</li>
</ul><p>
	To resolve, you need to override OrderDetail class. Drop this into /override/classes/order/OrderDetail.php and clear cache:<br /><br />
	 
</p>

<pre class="ipsCode prettyprint lang-php prettyprinted"><span class="pun">&lt;?</span><span class="pln">php
</span><span class="kwd">class</span><span class="pln"> </span><span class="typ">OrderDetail</span><span class="pln"> </span><span class="kwd">extends</span><span class="pln"> </span><span class="typ">OrderDetailCore</span><span class="pln">
</span><span class="pun">{</span><span class="pln">
    </span><span class="com">/**
     * Set detailed product price to the order detail.
     *
     * @param Order $order
     * @param Cart  $cart
     * @param array $product
     */</span><span class="pln">
    </span><span class="kwd">protected</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> setDetailProductPrice</span><span class="pun">(</span><span class="typ">Order</span><span class="pln"> $order</span><span class="pun">,</span><span class="pln"> </span><span class="typ">Cart</span><span class="pln"> $cart</span><span class="pun">,</span><span class="pln"> $product</span><span class="pun">)</span><span class="pln">
    </span><span class="pun">{</span><span class="pln">
        $currency </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">Currency</span><span class="pun">((</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $order</span><span class="pun">-&gt;</span><span class="pln">id_currency</span><span class="pun">);</span><span class="pln">
        $this</span><span class="pun">-&gt;</span><span class="pln">setContext</span><span class="pun">((</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">[</span><span class="str">'id_shop'</span><span class="pun">]);</span><span class="pln">

        $id_tax_address </span><span class="pun">=</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $order</span><span class="pun">-&gt;{</span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'PS_TAX_ADDRESS_TYPE'</span><span class="pun">)};</span><span class="pln">
        $nullVar </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">null</span><span class="pun">;</span><span class="pln">

        $price_tax_incl </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Product</span><span class="pun">::</span><span class="pln">getPriceStatic</span><span class="pun">(</span><span class="pln">
            </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">[</span><span class="str">'id_product'</span><span class="pun">],</span><span class="pln">
            </span><span class="kwd">true</span><span class="pun">,</span><span class="pln">
            </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">[</span><span class="str">'id_product_attribute'</span><span class="pun">],</span><span class="pln">
            </span><span class="lit">6</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">null</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">false</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">true</span><span class="pun">,</span><span class="pln">
            $product</span><span class="pun">[</span><span class="str">'cart_quantity'</span><span class="pun">],</span><span class="pln">
            </span><span class="kwd">false</span><span class="pun">,</span><span class="pln">
            </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $order</span><span class="pun">-&gt;</span><span class="pln">id_customer</span><span class="pun">,</span><span class="pln">
            </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $order</span><span class="pun">-&gt;</span><span class="pln">id_cart</span><span class="pun">,</span><span class="pln">
            $id_tax_address</span><span class="pun">,</span><span class="pln">
            $nullVar</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">true</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">true</span><span class="pun">,</span><span class="pln">
            $this</span><span class="pun">-&gt;</span><span class="pln">context
        </span><span class="pun">);</span><span class="pln">

        $price_tax_excl </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Product</span><span class="pun">::</span><span class="pln">getPriceStatic</span><span class="pun">(</span><span class="pln">
            </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">[</span><span class="str">'id_product'</span><span class="pun">],</span><span class="pln">
            </span><span class="kwd">false</span><span class="pun">,</span><span class="pln">
            </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">[</span><span class="str">'id_product_attribute'</span><span class="pun">],</span><span class="pln">
            </span><span class="lit">6</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">null</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">false</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">true</span><span class="pun">,</span><span class="pln">
            $product</span><span class="pun">[</span><span class="str">'cart_quantity'</span><span class="pun">],</span><span class="pln">
            </span><span class="kwd">false</span><span class="pun">,</span><span class="pln">
            </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $order</span><span class="pun">-&gt;</span><span class="pln">id_customer</span><span class="pun">,</span><span class="pln">
            </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $order</span><span class="pun">-&gt;</span><span class="pln">id_cart</span><span class="pun">,</span><span class="pln">
            $id_tax_address</span><span class="pun">,</span><span class="pln">
            $nullVar</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">true</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">true</span><span class="pun">,</span><span class="pln">
            $this</span><span class="pun">-&gt;</span><span class="pln">context
        </span><span class="pun">);</span><span class="pln">

        $price_tax_incl </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">ps_round</span><span class="pun">(</span><span class="pln">$price_tax_incl</span><span class="pun">,</span><span class="pln"> </span><span class="lit">6</span><span class="pun">);</span><span class="pln">
        $price_tax_excl </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">ps_round</span><span class="pun">(</span><span class="pln">$price_tax_excl</span><span class="pun">,</span><span class="pln"> </span><span class="lit">6</span><span class="pun">);</span><span class="pln">

        $converted_excl </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">convertPrice</span><span class="pun">(</span><span class="pln">$price_tax_excl</span><span class="pun">,</span><span class="pln"> $currency</span><span class="pun">);</span><span class="pln">
        </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$converted_excl </span><span class="pun">===</span><span class="pln"> </span><span class="kwd">false</span><span class="pln"> </span><span class="pun">||</span><span class="pln"> $converted_excl </span><span class="pun">===</span><span class="pln"> </span><span class="kwd">null</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            $converted_excl </span><span class="pun">=</span><span class="pln"> </span><span class="lit">0.0</span><span class="pun">;</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">

        $this</span><span class="pun">-&gt;</span><span class="pln">original_product_price </span><span class="pun">=</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">float</span><span class="pun">)</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">ps_round</span><span class="pun">(</span><span class="pln">$converted_excl</span><span class="pun">,</span><span class="pln"> </span><span class="lit">6</span><span class="pun">);</span><span class="pln">
        $this</span><span class="pun">-&gt;</span><span class="pln">product_price </span><span class="pun">=</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">original_product_price</span><span class="pun">;</span><span class="pln">

        $this</span><span class="pun">-&gt;</span><span class="pln">unit_price_tax_excl </span><span class="pun">=</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">float</span><span class="pun">)</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">ps_round</span><span class="pun">(</span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">convertPrice</span><span class="pun">((</span><span class="kwd">float</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">[</span><span class="str">'price'</span><span class="pun">],</span><span class="pln"> $currency</span><span class="pun">),</span><span class="pln"> </span><span class="lit">6</span><span class="pun">);</span><span class="pln">
        $this</span><span class="pun">-&gt;</span><span class="pln">unit_price_tax_incl </span><span class="pun">=</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">float</span><span class="pun">)</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">ps_round</span><span class="pun">(</span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">convertPrice</span><span class="pun">((</span><span class="kwd">float</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">[</span><span class="str">'price_wt'</span><span class="pun">],</span><span class="pln"> $currency</span><span class="pun">),</span><span class="pln"> </span><span class="lit">6</span><span class="pun">);</span><span class="pln">

        $this</span><span class="pun">-&gt;</span><span class="pln">total_price_tax_excl </span><span class="pun">=</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">float</span><span class="pun">)</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">ps_round</span><span class="pun">(</span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">convertPrice</span><span class="pun">((</span><span class="kwd">float</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">[</span><span class="str">'total'</span><span class="pun">],</span><span class="pln"> $currency</span><span class="pun">),</span><span class="pln"> </span><span class="lit">6</span><span class="pun">);</span><span class="pln">
        $this</span><span class="pun">-&gt;</span><span class="pln">total_price_tax_incl </span><span class="pun">=</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">float</span><span class="pun">)</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">ps_round</span><span class="pun">(</span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">convertPrice</span><span class="pun">((</span><span class="kwd">float</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">[</span><span class="str">'total_wt'</span><span class="pun">],</span><span class="pln"> $currency</span><span class="pun">),</span><span class="pln"> </span><span class="lit">6</span><span class="pun">);</span><span class="pln">

        $this</span><span class="pun">-&gt;</span><span class="pln">purchase_supplier_price </span><span class="pun">=</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">float</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">[</span><span class="str">'wholesale_price'</span><span class="pun">];</span><span class="pln">
        </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$product</span><span class="pun">[</span><span class="str">'id_supplier'</span><span class="pun">]</span><span class="pln"> </span><span class="pun">&gt;</span><span class="pln"> </span><span class="lit">0</span><span class="pln">
            </span><span class="pun">&amp;&amp;</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$supplier_price </span><span class="pun">=</span><span class="pln"> </span><span class="typ">ProductSupplier</span><span class="pun">::</span><span class="pln">getProductPrice</span><span class="pun">(</span><span class="pln">
                </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">[</span><span class="str">'id_supplier'</span><span class="pun">],</span><span class="pln">
                $product</span><span class="pun">[</span><span class="str">'id_product'</span><span class="pun">],</span><span class="pln">
                $product</span><span class="pun">[</span><span class="str">'id_product_attribute'</span><span class="pun">],</span><span class="pln">
                </span><span class="kwd">true</span><span class="pln">
            </span><span class="pun">))</span><span class="pln"> </span><span class="pun">&gt;</span><span class="pln"> </span><span class="lit">0</span><span class="pln">
        </span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            $this</span><span class="pun">-&gt;</span><span class="pln">purchase_supplier_price </span><span class="pun">=</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">float</span><span class="pun">)</span><span class="pln"> $supplier_price</span><span class="pun">;</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">

        $this</span><span class="pun">-&gt;</span><span class="pln">setSpecificPrice</span><span class="pun">(</span><span class="pln">$order</span><span class="pun">,</span><span class="pln"> $product</span><span class="pun">);</span><span class="pln">
        $this</span><span class="pun">-&gt;</span><span class="pln">group_reduction </span><span class="pun">=</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">float</span><span class="pun">)</span><span class="pln"> </span><span class="typ">Group</span><span class="pun">::</span><span class="pln">getReduction</span><span class="pun">((</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $order</span><span class="pun">-&gt;</span><span class="pln">id_customer</span><span class="pun">);</span><span class="pln">

        $shop_id </span><span class="pun">=</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">shop</span><span class="pun">-&gt;</span><span class="pln">id</span><span class="pun">;</span><span class="pln">
        $quantity_discount </span><span class="pun">=</span><span class="pln"> </span><span class="typ">SpecificPrice</span><span class="pun">::</span><span class="pln">getQuantityDiscount</span><span class="pun">(</span><span class="pln">
            </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">[</span><span class="str">'id_product'</span><span class="pun">],</span><span class="pln">
            $shop_id</span><span class="pun">,</span><span class="pln">
            </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $cart</span><span class="pun">-&gt;</span><span class="pln">id_currency</span><span class="pun">,</span><span class="pln">
            </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">vat_address</span><span class="pun">-&gt;</span><span class="pln">id_country</span><span class="pun">,</span><span class="pln">
            </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">customer</span><span class="pun">-&gt;</span><span class="pln">id_default_group</span><span class="pun">,</span><span class="pln">
            </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">[</span><span class="str">'cart_quantity'</span><span class="pun">],</span><span class="pln">
            </span><span class="kwd">false</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">null</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">null</span><span class="pun">,</span><span class="pln">
            $nullVar</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">true</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">true</span><span class="pun">,</span><span class="pln">
            $this</span><span class="pun">-&gt;</span><span class="pln">context
        </span><span class="pun">);</span><span class="pln">

        $unit_price </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Product</span><span class="pun">::</span><span class="pln">getPriceStatic</span><span class="pun">(</span><span class="pln">
            </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">[</span><span class="str">'id_product'</span><span class="pun">],</span><span class="pln">
            </span><span class="kwd">true</span><span class="pun">,</span><span class="pln">
            </span><span class="pun">(</span><span class="pln">$product</span><span class="pun">[</span><span class="str">'id_product_attribute'</span><span class="pun">]</span><span class="pln"> </span><span class="pun">?</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">[</span><span class="str">'id_product_attribute'</span><span class="pun">]</span><span class="pln"> </span><span class="pun">:</span><span class="pln"> </span><span class="kwd">null</span><span class="pun">),</span><span class="pln">
            </span><span class="lit">2</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">null</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">false</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">true</span><span class="pun">,</span><span class="pln">
            </span><span class="lit">1</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">false</span><span class="pun">,</span><span class="pln">
            </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $order</span><span class="pun">-&gt;</span><span class="pln">id_customer</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">null</span><span class="pun">,</span><span class="pln">
            $id_tax_address</span><span class="pun">,</span><span class="pln">
            $nullVar</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">true</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">true</span><span class="pun">,</span><span class="pln">
            $this</span><span class="pun">-&gt;</span><span class="pln">context
        </span><span class="pun">);</span><span class="pln">

        $unit_price </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">ps_round</span><span class="pun">(</span><span class="pln">$unit_price</span><span class="pun">,</span><span class="pln"> </span><span class="lit">6</span><span class="pun">);</span><span class="pln">

        $this</span><span class="pun">-&gt;</span><span class="pln">product_quantity_discount </span><span class="pun">=</span><span class="pln"> </span><span class="lit">0.00</span><span class="pun">;</span><span class="pln">
        </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$quantity_discount</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            $this</span><span class="pun">-&gt;</span><span class="pln">product_quantity_discount </span><span class="pun">=</span><span class="pln"> $unit_price</span><span class="pun">;</span><span class="pln">
            </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="typ">Product</span><span class="pun">::</span><span class="pln">getTaxCalculationMethod</span><span class="pun">((</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $order</span><span class="pun">-&gt;</span><span class="pln">id_customer</span><span class="pun">)</span><span class="pln"> </span><span class="pun">==</span><span class="pln"> PS_TAX_EXC</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                $this</span><span class="pun">-&gt;</span><span class="pln">product_quantity_discount </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">ps_round</span><span class="pun">(</span><span class="pln">$unit_price</span><span class="pun">,</span><span class="pln"> </span><span class="lit">6</span><span class="pun">);</span><span class="pln">
            </span><span class="pun">}</span><span class="pln">

            </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">isset</span><span class="pun">(</span><span class="pln">$this</span><span class="pun">-&gt;</span><span class="pln">tax_calculator</span><span class="pun">))</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                $this</span><span class="pun">-&gt;</span><span class="pln">product_quantity_discount </span><span class="pun">-=</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">tax_calculator</span><span class="pun">-&gt;</span><span class="pln">addTaxes</span><span class="pun">(</span><span class="pln">$quantity_discount</span><span class="pun">[</span><span class="str">'price'</span><span class="pun">]);</span><span class="pln">
                $this</span><span class="pun">-&gt;</span><span class="pln">product_quantity_discount </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">ps_round</span><span class="pun">(</span><span class="pln">$this</span><span class="pun">-&gt;</span><span class="pln">product_quantity_discount</span><span class="pun">,</span><span class="pln"> </span><span class="lit">6</span><span class="pun">);</span><span class="pln">
            </span><span class="pun">}</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">

        $this</span><span class="pun">-&gt;</span><span class="pln">discount_quantity_applied </span><span class="pun">=</span><span class="pln"> </span><span class="pun">(</span><span class="pln">
            </span><span class="pun">(</span><span class="pln">$this</span><span class="pun">-&gt;</span><span class="pln">specificPrice </span><span class="pun">&amp;&amp;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">specificPrice</span><span class="pun">[</span><span class="str">'from_quantity'</span><span class="pun">]</span><span class="pln"> </span><span class="pun">&gt;</span><span class="pln"> </span><span class="lit">1</span><span class="pun">)</span><span class="pln"> </span><span class="pun">?</span><span class="pln"> </span><span class="lit">1</span><span class="pln"> </span><span class="pun">:</span><span class="pln"> </span><span class="lit">0</span><span class="pln">
        </span><span class="pun">);</span><span class="pln">
    </span><span class="pun">}</span><span class="pln">
</span><span class="pun">}</span></pre>

<p>
	<br /><span class="ipsEmoji">✌️</span>
</p>
]]></description><guid isPermaLink="false">1102354</guid><pubDate>Wed, 01 Oct 2025 14:27:56 +0000</pubDate></item><item><title>PrestaShop 9.0.0 Checkout and Hummingbird theme have a Problem</title><link>https://forum.prestashop.com/topic/1102211-prestashop-900-checkout-and-hummingbird-theme-have-a-problem/</link><description><![CDATA[<p>
	Hi,<br />
	in the Checkout is a styl problem, the checkbuttons are on the wrong place
</p>

<p>
	in my shop - all payment methods from v9.4.3.3 - von PrestaShop Checkout<br />
	are wrong.   
</p>

<p>
	Anybody who know in which file i can fix this ?<br /><br />
	THX
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2025_09/checkoutbox-wrong.jpg.3d9357c9ed795b88418bd5b411a005de.jpg" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="338820" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2025_09/checkoutbox-wrong.jpg.3d9357c9ed795b88418bd5b411a005de.jpg" data-ratio="74.04" width="890" class="ipsImage ipsImage_thumbnailed" alt="checkoutbox-wrong.jpg"></a></p>]]></description><guid isPermaLink="false">1102211</guid><pubDate>Thu, 25 Sep 2025 15:08:49 +0000</pubDate></item><item><title>prestahop 9: error while installing module Marketplace Builder &#x2013; Multi Vendor &#x2013; Multi Vendedor</title><link>https://forum.prestashop.com/topic/1102217-prestahop-9-error-while-installing-module-marketplace-builder-%E2%80%93-multi-vendor-%E2%80%93-multi-vendedor/</link><description><![CDATA[<p>
	I have paid module Marketplace Builder – Multi Vendor – Multi Vendedor in the prestashop marketplace module on my admin account on my prestashop : <a href="https://eshop.missing-app.com/" rel="external nofollow">https://eshop.missing-app.com/</a>
</p>

<p>
	but when i click on the "terminate installation" button i got an error message: 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">{
    "ets_marketplace": {
        "status": false,
        "msg": "L\u0027action Install est impossible pour le module ets_marketplace. Handler not found for source https:\/\/api-addons.prestashop.com?method=module\u0026format=json\u0026channel=stable\u0026iso_code=fr\u0026iso_lang=fr\u0026version=9.0.0\u0026id_module=32443"
    }
}</span></pre>

<p>
	on url : /improve/modules/manage/action/install/ets_marketplace?id=32443&amp;source=https%3A%2F%2Fapi-addons.prestashop.com%3Fmethod%3Dmodule%26format%3Djson%26channel%3Dstable%26iso_code%3Dfr%26iso_lang%3Dfr%26version%3D9.0.0%26id_module%3D32443&amp;_token=XXXXXXXX
</p>

<p>
	can you help ? what should i do ? 
</p>
]]></description><guid isPermaLink="false">1102217</guid><pubDate>Thu, 25 Sep 2025 23:37:54 +0000</pubDate></item><item><title>prestahop 9: error while installing module Marketplace Builder &#x2013; Multi Vendor &#x2013; Multi Vendedor</title><link>https://forum.prestashop.com/topic/1102216-prestahop-9-error-while-installing-module-marketplace-builder-%E2%80%93-multi-vendor-%E2%80%93-multi-vendedor/</link><description><![CDATA[<p>
	I have paid module Marketplace Builder – Multi Vendor – Multi Vendedor in the prestashop marketplace module on my admin account on my prestashop : <a href="https://eshop.missing-app.com/" rel="external nofollow">https://eshop.missing-app.com/</a>
</p>

<p>
	but when i click on the "terminate installation" button i got an error message: 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">{
    "ets_marketplace": {
        "status": false,
        "msg": "L\u0027action Install est impossible pour le module ets_marketplace. Handler not found for source https:\/\/api-addons.prestashop.com?method=module\u0026format=json\u0026channel=stable\u0026iso_code=fr\u0026iso_lang=fr\u0026version=9.0.0\u0026id_module=32443"
    }
}</span></pre>

<p>
	on url : /improve/modules/manage/action/install/ets_marketplace?id=32443&amp;source=https%3A%2F%2Fapi-addons.prestashop.com%3Fmethod%3Dmodule%26format%3Djson%26channel%3Dstable%26iso_code%3Dfr%26iso_lang%3Dfr%26version%3D9.0.0%26id_module%3D32443&amp;_token=XXXXXXXX
</p>

<p>
	can you help ? what should i do ? 
</p>
]]></description><guid isPermaLink="false">1102216</guid><pubDate>Thu, 25 Sep 2025 23:37:47 +0000</pubDate></item><item><title>Thumbnails Regeneration Bug (bad error handling)</title><link>https://forum.prestashop.com/topic/1102205-thumbnails-regeneration-bug-bad-error-handling/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	Got a lot of confusion when always no matter the permissions PS returned the following error.
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="338816" href="//media.invisioncic.com/t336404/monthly_2025_09/image(1).png.86c1ba9a6b8b09158a9c831fd701f0a2.png" rel=""><img alt="image(1).thumb.png.be3d7142319a9a85abfebfe1c5e6a963.png" class="ipsImage ipsImage_thumbnailed" data-fileid="338816" data-ratio="12.70" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t336404/monthly_2025_09/image(1).thumb.png.be3d7142319a9a85abfebfe1c5e6a963.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a><br /><br />
	Finally found the problem here:<br /><br />
	src\Core\Domain\ImageSettings\CommandHandler\RegenerateThumbnailsHandler.php<br />
	Line: 99<br /><a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="338815" href="//media.invisioncic.com/t336404/monthly_2025_09/image.png.1104aeef6c29f9a17afca029bc55bd56.png" rel=""><img alt="image.thumb.png.870d7258636d23aecf175366c251aa9a.png" class="ipsImage ipsImage_thumbnailed" data-fileid="338815" data-ratio="31.30" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t336404/monthly_2025_09/image.thumb.png.870d7258636d23aecf175366c251aa9a.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	$errors can return lot of other errors like original image missing (MY CASE) etc... But as we can see from the code it is not handled.<br /><br />
	It's handling timeout, but everything else is thrown as Permissions error.
</p>

<p>
	PS Version: 9.0.0
</p>
]]></description><guid isPermaLink="false">1102205</guid><pubDate>Thu, 25 Sep 2025 12:05:19 +0000</pubDate></item><item><title>Critical Bug: Automatic Product Duplication with the Same ID in Prestashop 9</title><link>https://forum.prestashop.com/topic/1102192-critical-bug-automatic-product-duplication-with-the-same-id-in-prestashop-9/</link><description><![CDATA[<p>
	Hello everyone,
</p>

<p>
	I'm facing a very serious and unusual issue on Prestashop 9 that I can't solve, and I need your help to understand the origin of this bug.
</p>

<p>
	The problem starts when I access the back-office and open a product page to view, edit, or save it. Prestashop automatically creates a duplicate record in the catalog. The most anomalous thing is that the new record has the exact same ID as the original product.
</p>

<p>
	For context, this duplication occurs specifically in the ps_stock_available table, which manages quantities. My Prestashop 9 installation is clean, contains only core modules, and the products were imported from a Prestashop 1.7 site.
</p>

<p>
	Details of the problem:
</p>

<p>
	In the catalog, two identical products appear with the same ID.
</p>

<p>
	One of the two records is set to published (active = 1) but with a quantity of zero.
</p>

<p>
	The other record is unpublished (active = 0) but has the correct quantity.
</p>

<p>
	This behavior occurs for most of my products, but NOT ALL, and affects both products with and without combinations.
</p>

<p>
	Attempting to delete one of the two records results in both being deleted.
</p>

<p>
	Even after clearing the cache or cleaning up orphaned data, the problem persists and reappears every time I open a product.
</p>

<p>
	What I've already done (without success):
</p>

<p>
	I've tried to fix the data inconsistency with several SQL queries, but the issue keeps recurring. I have ruled out common causes like orphaned records and incorrect settings for the depends_on_stock and out_of_stock fields.
</p>

<p>
	This behavior points to a deep anomaly in Prestashop's logic, likely caused by a bug in a module or a corrupted override file.
</p>

<p>
	Has anyone ever encountered a problem with automatic product duplication with the same ID upon opening it in the back-office? Any suggestions on how to diagnose the origin of this issue (for example, which specific tables or core files I should inspect) would be extremely helpful.
</p>

<p>
	Thank you in advance for your time and assistance.
</p>
]]></description><guid isPermaLink="false">1102192</guid><pubDate>Thu, 25 Sep 2025 10:03:03 +0000</pubDate></item><item><title>regenerateEntireNTree doesn't do anything</title><link>https://forum.prestashop.com/topic/529476-regenerateentirentree-doesnt-do-anything/</link><description><![CDATA[
<p>Hi,</p>
<p> </p>
<p>I have to fix the categories on a prestashop which are displayed in a weird way. When I check the database, the nleft and nright of the categories which are displayed in a wrong way are set to what seems to be a random pair of number or all at 0.</p>
<p> </p>
<p>So I guessed the problem come from the N-Tree of those categories and wanted to rebuild it.</p>
<p> </p>
<p>The problem I have is that either I create, delete or modify a category, the N-Tree does not seem to be rebuilt. So I wanted to call the function used to rebuild the N-Tree via a script. i used:</p>
<pre class="ipsCode prettyprint">
include('config/config.inc.php');
include('init.php');

try {
  Category::regenerateEntireNtree();
} catch (CategoryException $e) {
  echo $e-&gt;getMessage();
}
</pre>
<p>But the problem is that it does not fix anything. The script seems to do nothing at all, given how much time it takes to be executed!</p>
<p> </p>
<p>What should I do ?</p>
]]></description><guid isPermaLink="false">529476</guid><pubDate>Fri, 20 May 2016 14:24:31 +0000</pubDate></item><item><title>Product - visible only in default category (9.0.0)</title><link>https://forum.prestashop.com/topic/1101850-product-visible-only-in-default-category-900/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I was expected if I add product into two or more categories I can see them in this categories, but it's not working. 
</p>

<p>
	Product is visible only in default category.
</p>

<p>
	It's bug or feature? <span><img alt=":)" data-emoticon="" height="20" src="https://media.invisioncic.com/t336404/emoticons/default_smile.png" srcset="https://media.invisioncic.com/t336404/emoticons/smile@2x.png 2x" title=":)" width="20" /></span>
</p>
]]></description><guid isPermaLink="false">1101850</guid><pubDate>Fri, 12 Sep 2025 07:36:44 +0000</pubDate></item><item><title>Error 500 on home (root directory)</title><link>https://forum.prestashop.com/topic/1101797-error-500-on-home-root-directory/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I'm working on a 1.7.8.9 version of PrestaShop. Im hosting in an enviroment test server on Hostinger with PHP 7.4.
</p>

<p>
	My problem is that every time that I access to the root folder of the instalation /shop/ in this case I get a 500 error (with no log on the server). 
</p>

<p>
	I was struggling a lot until I shared tested on <a href="https://testlocal.ly/account" rel="external nofollow">https://testlocal.ly/</a> and saw that was able to get the website propperly. Then I checked and I am able to see others parts of the website as /shop/index.php. I tried everithing on my hands and I'm out of ideas. <br />
	Tried also generating new .htaccess (manual editting aso). I activate locale and checked but same, some of my collegues and online checkers when access to /shop/ are redirected to /shop/es/ but not me, still on 500 error.
</p>

<p>
	Tried also with deleting coockies, cache, dns flush.... All i got and was able to lookup on Internet. 
</p>

<p>
	Im in need on some help or ideas because Im not able to get to the point of the error and discover if its just a thing of my computer (that doesnt make sense to me but..)
</p>

<p>
	All help is appreciated. 
</p>
]]></description><guid isPermaLink="false">1101797</guid><pubDate>Wed, 10 Sep 2025 10:08:52 +0000</pubDate></item><item><title>Issue with minimum quantity</title><link>https://forum.prestashop.com/topic/1063257-issue-with-minimum-quantity/</link><description><![CDATA[<p>
	Prestashop 1.7.8.3 and 1.7.8.5
</p>

<p>
	Hi, I have encountered a problem that prestashop generates with products that have a minimum purchase quantity.
</p>

<p>
	If you enter a quantity above the minimum, prestashop rewrites the quantity to the minimum again. 
</p>

<p>
	It seems as if it detects that the quantity you enter is lower and rewrites it. 
</p>

<p>
	This does not happen with all quantities, I have tried putting different quantities. For example a product with minimum quantity for sale of 50 units I can put 650 and buy perfectly but if I put 150 it rewrites it and puts me back to 50.
</p>

<p>
	When you add it to the cart and rewrite there the quantity it generates two items. Continuing with the example of the previous product. If you modify the quantity from 50 to 250 it generates an article with 50 units and another with 200 units.
</p>

<p>
	It seems as if it counts some percentage and for a product that has a minimum quantity of 50 units does not let you put a quantity between 100 and 499.
</p>

<p>
	Can someone check this to see if the same thing happens to you?
</p>

<p>
	Thanks!
</p>

<p>
	Attached video, it's a little difficult to explain in words.
</p>

<video controls class="ipsEmbeddedVideo" data-fileid="288609" data-video-embed>
	<source data-video-src="//media.invisioncic.com/t336404/monthly_2022_04/7a915ecb-e69b-4255-b5a5-b2b52293298c.webm.cef27d9f6b3c0758d15ca37b07779933.webm" type="video/webm">
	<a class="ipsAttachLink" href="//www.prestashop.com/forums/applications/core/interface/file/attachment.php?id=288609">7a915ecb-e69b-4255-b5a5-b2b52293298c.webm</a>
</video>]]></description><guid isPermaLink="false">1063257</guid><pubDate>Wed, 20 Apr 2022 11:07:21 +0000</pubDate></item><item><title>Adding a group automatically activates that group for all carriers.</title><link>https://forum.prestashop.com/topic/1100989-adding-a-group-automatically-activates-that-group-for-all-carriers/</link><description><![CDATA[<p>
	Adding a group automatically activates that group for all carriers.
</p>

<p>
	This seems like undesirable behaviour. I'm using groups to 'restrict' users from being able to use certain carriers, if I now add a new group and add users, they suddenly can use those carriers and I have to update all the carriers.
</p>
]]></description><guid isPermaLink="false">1100989</guid><pubDate>Tue, 12 Aug 2025 12:16:10 +0000</pubDate></item><item><title>When Memcached is enabled, but the memcached service is down, Prestashop dies.</title><link>https://forum.prestashop.com/topic/1099830-when-memcached-is-enabled-but-the-memcached-service-is-down-prestashop-dies/</link><description><![CDATA[<p>
	It seems to me that in this situation the shop should stay alive, but just not cache data.
</p>

<p>
	The function Memcached-&gt;connect() (see below) causes a fatal PHP error: Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, bool given in /data/html/protempo.nu/classes/cache/CacheMemcached.php on line 84.
</p>

<p>
	$this-&gt;memcached-&gt;getVersion() does not return an array when the memcached service is not running, hence the Fatal error.
</p>

<p>
	    public function connect()<br />
	    {<br />
	        if (class_exists('Memcached') &amp;&amp; extension_loaded('memcached')) {<br />
	            $this-&gt;memcached = new Memcached();<br />
	        } else {<br />
	            return;<br />
	        }
</p>

<p>
	        $servers = self::getMemcachedServers();
</p>

<p>
	        if (!$servers) {<br />
	            return;<br />
	        }<br />
	        foreach ($servers as $server) {<br />
	            $this-&gt;memcached-&gt;addServer($server['ip'], $server['port'], (int) $server['weight']);<br />
	        }
</p>

<p>
	        $this-&gt;is_connected = in_array('255.255.255', $this-&gt;memcached-&gt;getVersion(), true) === false;<br />
	    }<br />
	 
</p>
]]></description><guid isPermaLink="false">1099830</guid><pubDate>Wed, 02 Jul 2025 11:32:13 +0000</pubDate></item><item><title><![CDATA[[HELP] "Unable to Update Settings" When Saving Product – 403 Forbidden & JSON Error]]></title><link>https://forum.prestashop.com/topic/1100862-help-unable-to-update-settings-when-saving-product-%E2%80%93-403-forbidden-json-error/</link><description><![CDATA[<p>
	Hi everyone,
</p>

<p>
	I'm sorry if this is not the right place to open this topic but I just subscribed and have yet to fully understand how the platform works.
</p>

<p>
	I’m currently working on a PrestaShop 1.7.7.2 installation and encountered a serious issue. Whenever I try to update a product (changing quantity, description, etc.) from the admin panel, I get this error:
</p>

<p>
	"<strong>Unable to update settings</strong>" and then the small rotating circle which usually pops up during a saving gets stuck and loops infinitely. 
</p>

<p>
	After checking the browser console and network tab, I noticed this error:
</p>

<p>
	<em>Uncaught SyntaxError: Unexpected token 'F', "Forbidden" is not valid JSON</em>
</p>

<p>
	The request to /adminXXXX/index.php (the product update route) returns a 403 Forbidden error.
</p>

<p>
	 
</p>

<p>
	<u><strong>What I’ve tried so far:</strong></u>
</p>

<ul><li>
		Enabled debug mode → no error displayed
	</li>
	<li>
		Cleared PrestaShop cache and browser cache
	</li>
	<li>
		Verified admin session/token
	</li>
	<li>
		Looked at logs but found nothing helpful
	</li>
	<li>
		Also looked at various forums (this one too) but couldn't find the solution to my problem nowhere.
	</li>
	<li>
		Yesterday our hosting suddenly suspended our account due to "excessive use of database". I had to optimize said database and ended up following this cleanup guide prior to the issue: <a href="https://prestahero.com/blog/post/85-clean-up-prestashop-database.html" rel="external nofollow">https://prestahero.com/blog/post/85-clean-up-prestashop-database.html</a>
	</li>
	<li>
		Contacted my hosting provider, and with their help we tried to disable ModSecurity, but the issue persisted even with ModSecurity disabled
	</li>
</ul><p>
	 
</p>

<p>
	<u><strong>Environment:</strong></u>
</p>

<ul><li>
		PrestaShop version: 1.7.7.2
	</li>
	<li>
		PHP version: 7.3
	</li>
	<li>
		Hosting: Shared hosting
	</li>
	<li>
		No recent module installations
	</li>
	<li>
		Issue appeared after backup restoration and database restoration and cleanup/optimization
	</li>
</ul><p>
	I've spoken with the hosting provider and they say there's nothing wrong on their part, so it seems this is a PrestaShop issue.
</p>

<p>
	While trying to figure out the problem I also tried simply exiting my account and logging in once more. That fixed the issue for a very short period of time. I run a save on one of the items and it worked. Then 5 minutes later, the same problem reoccurred, and logging in once more did not fix the issue.
</p>

<p>
	Has anyone experienced this or can help me debug this further?
</p>

<p>
	Thanks in advance <span class="ipsEmoji">?</span><br />
	– Antonio
</p>
]]></description><guid isPermaLink="false">1100862</guid><pubDate>Thu, 07 Aug 2025 13:16:53 +0000</pubDate></item><item><title>Performance Issues - 504 / slow query on **connections**</title><link>https://forum.prestashop.com/topic/1100813-performance-issues-504-slow-query-on-connections/</link><description><![CDATA[<p>
	Admin page is extremely slow and often crashes with 504 - timeout. Have turned on slow-query log. There are quite a few - they all seem to relate to the <strong>connections</strong> table. This one takes 80 seconds:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln"># Query_time: 80.357039  Lock_time: 0.000002 Rows_sent: 1  Rows_examined: 8477155
SET timestamp=1754412925;
SELECT COUNT(*) as visits, COUNT(DISTINCT `id_guest`) as unique_visitors
            FROM `connections`
            WHERE `date_add` BETWEEN "2025-01-01 00:00:00" AND "2025-08-02 23:59:59"
             AND id_shop IN (1) LIMIT 1;</span></pre>

<p>
	 
</p>
]]></description><guid isPermaLink="false">1100813</guid><pubDate>Wed, 06 Aug 2025 09:12:55 +0000</pubDate></item><item><title><![CDATA[missing closing </form> tag in src/PrestaShopBundle/Resources/views/Admin/Sell/Catalog/Categories/Blocks/delete_categories_modal.html.twig]]></title><link>https://forum.prestashop.com/topic/1100670-missing-closing-tag-in-srcprestashopbundleresourcesviewsadminsellcatalogcategoriesblocksdelete_categories_modalhtmltwig/</link><description><![CDATA[<p>
	The modal-dialog form used in the BulkAction of the Categories Grid in the Back Office is missing a closing &lt;/form&gt; tag.
</p>

<p>
	The consequence is that any additional Modal Dialog being added as a Bulk Action to the Categories Grid cannot open a new &lt;form&gt; tag, as the twig form_widget helper considers itself in an "open" form. This is an issue in a custom module I am currenlty working on.
</p>

<p>
	Fix: on line 54 of src/PrestaShopBundle/Resources/views/Admin/Sell/Catalog/Categories/Blocks/delete_categories_modal.html.twig there should be a form closure with:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">  {{ form_end(deleteCategoriesForm) }}</span></pre>

<p>
	This bug is present in PS 8.1. and still in the current PS 9.
</p>

<p>
	Where can I suggest such a correction as this forum apparently is only for discussion?
</p>

<p>
	Many thanks
</p>

<p>
	P.
</p>
]]></description><guid isPermaLink="false">1100670</guid><pubDate>Thu, 31 Jul 2025 20:32:57 +0000</pubDate></item><item><title>Material icons not showing after upgrade to 1.7.8.0</title><link>https://forum.prestashop.com/topic/1055796-material-icons-not-showing-after-upgrade-to-1780/</link><description><![CDATA[<p>
	Hey everyone,
</p>

<p>
	 
</p>

<p>
	I upgraded to 1.7.8.0 from 1.7.7.5, and now the material icons are not shown anymore. See attached image.
</p>

<p>
	Any idea why this happens?
</p>

<p>
	 
</p>

<p>
	Best wishes,
</p>

<p>
	Tim
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2021_10/Unbenannt.jpg.be895fe27f9ff0daebdd9d0ed843b039.jpg" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="280467" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2021_10/Unbenannt.jpg.be895fe27f9ff0daebdd9d0ed843b039.jpg" data-ratio="40.67" width="868" class="ipsImage ipsImage_thumbnailed" alt="Unbenannt.jpg"></a></p>]]></description><guid isPermaLink="false">1055796</guid><pubDate>Thu, 21 Oct 2021 14:34:47 +0000</pubDate></item><item><title>Malformed UTF-8 characters, possibly incorrectly encoded NotEncodableValueException</title><link>https://forum.prestashop.com/topic/1100270-malformed-utf-8-characters-possibly-incorrectly-encoded-notencodablevalueexception/</link><description><![CDATA[<p>
	The specific prices doesn't display on tab PRICES of the product catalogue.
</p>

<p>
	It doesn't show the specific prices created, so it is not possible to edit it.
</p>

<p>
	It looks like is a problem of Malformed UTF-8 characters, how can i correct this specials characters issue?
</p>

<p>
	Check the error print below ↓↓↓
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2025_07/SpecificPricesError.png.79adfc27ec03d7ae32386598ec4e7e72.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="337106" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2025_07/SpecificPricesError.thumb.png.04b9cb4e906fc71adb9a98690784e33b.png" data-ratio="59.8" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Specific Prices Error.png"></a></p>]]></description><guid isPermaLink="false">1100270</guid><pubDate>Fri, 18 Jul 2025 01:11:57 +0000</pubDate></item><item><title>[SOLVED] Combined discounts don't work</title><link>https://forum.prestashop.com/topic/1100180-solved-combined-discounts-dont-work/</link><description><![CDATA[<p>
	Hello
</p>

<p>
	Since last week, on a site I maintain, the combined discount rules stopped working.
</p>

<p>
	As you can see in the attached screenshots, we have many discount coupons, but when editing them, combinations between them are not possible because the list of other discounts doesn't load.
</p>

<p>
	I don't see any error messages in the PrestaShop log, nothing relevant in the Apache log, I don't see any errors with the browser's developer tools, and the PrestaShop debug doesn't tell me anything.
</p>

<p>
	I'm completing lost with this error.
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="336988" href="//media.invisioncic.com/t336404/monthly_2025_07/Capturadepantallaen2025-07-1511-06-08.png.fce3db658295ffc827d72bc95ce829c4.png" rel=""><img alt="Captura de pantalla en 2025-07-15 11-06-08.png" class="ipsImage ipsImage_thumbnailed" data-fileid="336988" data-ratio="116.4" style="height:auto;" width="445" data-src="//media.invisioncic.com/t336404/monthly_2025_07/Capturadepantallaen2025-07-1511-06-08.png.fce3db658295ffc827d72bc95ce829c4.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="336987" href="//media.invisioncic.com/t336404/monthly_2025_07/Capturadepantallaen2025-07-1511-05-47.png.9ea4172380a56e1c1c4eac5ab6458c3a.png" rel=""><img alt="Captura de pantalla en 2025-07-15 11-05-47.png" class="ipsImage ipsImage_thumbnailed" data-fileid="336987" data-ratio="12.8" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t336404/monthly_2025_07/Capturadepantallaen2025-07-1511-05-47.thumb.png.565e4662347d4713ec565f982a1b9343.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>
]]></description><guid isPermaLink="false">1100180</guid><pubDate>Tue, 15 Jul 2025 09:16:32 +0000</pubDate></item><item><title>Prestashop 9 - Nginx - Linux fresh Server</title><link>https://forum.prestashop.com/topic/1099423-prestashop-9-nginx-linux-fresh-server/</link><description><![CDATA[<p>
	Hi I have installed Prestashop 9 on a new cloud server <br /><br />
	Frontend works but Backend I get HTTP 500<br />
	has the nginx config changed?
</p>

<p>
	<a href="https://devdocs.prestashop-project.org/9/basics/installation/advanced/nginx/" rel="external nofollow">https://devdocs.prestashop-project.org/9/basics/installation/advanced/nginx/</a>
</p>

<p>
	Ubuntu 24.04   PHP8.3
</p>

<p>
	thanks<br />
	Michael
</p>
]]></description><guid isPermaLink="false">1099423</guid><pubDate>Wed, 18 Jun 2025 12:30:26 +0000</pubDate></item><item><title>Problem with the discount module</title><link>https://forum.prestashop.com/topic/1099981-problem-with-the-discount-module/</link><description><![CDATA[<p>
	Ladies and Gentlemen!
</p>

<p>
	I have the following problem with PrestaShop. I will not hide the fact that I work practically on WordPress, but I received a task from my client to properly set up his website/store which is based on PrestaShop.
</p>

<p>
	The problem is that the client has a store with rental products for occasions, e.g. weddings, based on the installed calendar, the second plugin which is "rental_rabats" is supposed to calculate a specific discount based on days, e.g. for 3 days it is 20%.
</p>

<p>
	I set everything in the rental_rabats files according to the client table and nothing works at all. All the time some errors pop up in the logs, in the database the module writes that it is enabled, in the PrestaShop store in the settings it writes that it is enabled.
</p>

<p>
	And I receive this message on the side of the server where the domain is located in the logs:
</p>

<p>
	[07-Jul-2025 23:06:44 Europe/Warsaw] RENTAL DEBUG - Action: remove_rental_from_cart<br />
	[07-Jul-2025 23:06:52 Europe/Warsaw] RENTAL DEBUG - Action: getRentalDates<br />
	[07-Jul-2025 23:06:52 Europe/Warsaw] RENTAL DEBUG - getRentalDates - Cart ID: 24376<br />
	[07-Jul-2025 23:06:55 Europe/Warsaw] === RENTALCART AJAX: addToCartWithRental started ===<br />
	[07-Jul-2025 23:06:55 Europe/Warsaw] RENTALCART AJAX: Product ID: 198, Dates: 2025-07-08 to 2025-07-18, Qty: 1<br />
	[07-Jul-2025 23:06:55 Europe/Warsaw] RENTALCART AJAX: Cart updateQty result: true<br />
	[07-Jul-2025 23:06:55 Europe/Warsaw] RENTALCART AJAX: saveRentalDates result: success<br />
	[07-Jul-2025 23:06:55 Europe/Warsaw] RENTALCART AJAX: Attempting to get rental_rabats module instance.<br />
	[07-Jul-2025 23:06:55 Europe/Warsaw] RENTALCART AJAX: rental_rabats module instance received. Active status: false<br />
	[07-Jul-2025 23:06:55 Europe/Warsaw] ERROR RENTALCART AJAX: rental_rabats module found but NOT ACTIVE.<br />
	[07-Jul-2025 23:06:55 Europe/Warsaw] RENTALCART AJAX: SUCCESS: Sending response.<br />
	[07-Jul-2025 23:06:59 Europe/Warsaw] RENTAL DEBUG - Action: remove_rental_from_cart
</p>

<p>
	It's as if PrestaShop didn't read the module at all, despite it being enabled, which is confirmed by the database and enabled in the admin login to PrestaShop.
</p>

<p>
	Additionally, " Module::getInstanceByName() " pops up, I don't know what it's about, and I've been working on this problem for about 20 working hours and the client won't talk to me. I have already asked Gemini about this problem and tried to solve it with them but it didn't help and the problem is still the same.
</p>

<p>
	Or is there a free plugin that I could replace "rental_rabats" that would work more or less on the same principle?
</p>

<p>
	It's really annoying for me and the client is also pressed for time. I should add that the client uses the WareHouse theme.
</p>
]]></description><guid isPermaLink="false">1099981</guid><pubDate>Mon, 07 Jul 2025 21:26:14 +0000</pubDate></item><item><title>New shop, unstable, slowly..  high use of CPU mostly from 	mariadbd</title><link>https://forum.prestashop.com/topic/1095174-new-shop-unstable-slowly-high-use-of-cpu-mostly-from-%09mariadbd/</link><description><![CDATA[<p>
	Hello guys, we are kind of new and we've noticed my shop here, alone in a XXL Ionos VPS:
</p>

<p>
	Tamaño: vps xxl
</p>

<p>
	CPU: 12 vCore
</p>

<p>
	RAM: 24 GB
</p>

<p>
	Soporte de datos: 640 GB NVMe SSD
</p>

<p>
	The shop is facing down moments, when the CPU is very high in using... and the processes, the database sometimes using more than 100%...
</p>

<p>
	In the graphs, the moments going down is because we restart the server.
</p>

<p>
	Any idea what's going on? How can we get more info and of course fix that?
</p>

<p>
	Thanks in advance!
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2025_02/Screenshot2025-02-08at13_57_41.png.fb89da79ad5562206fb6ff26af808c96.png" data-fileid="332010" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="332010" data-ratio="14.00" width="1000" alt="Screenshot2025-02-08at13_57_41.thumb.png.9e7802f5bceb8840322160a9a56f0c79.png" data-src="//media.invisioncic.com/t336404/monthly_2025_02/Screenshot2025-02-08at13_57_41.thumb.png.9e7802f5bceb8840322160a9a56f0c79.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2025_02/Screenshot2025-02-09at12_05_07.png.e26d736e66a183356ae009ff90058b7e.png" data-fileid="332011" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="332011" data-ratio="35.90" width="1000" alt="Screenshot2025-02-09at12_05_07.thumb.png.1fc0f3af1400c05b9042434a48b3e9e5.png" data-src="//media.invisioncic.com/t336404/monthly_2025_02/Screenshot2025-02-09at12_05_07.thumb.png.1fc0f3af1400c05b9042434a48b3e9e5.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	It's a PLESK Ubuntu 22.04.5 LTS
</p>
]]></description><guid isPermaLink="false">1095174</guid><pubDate>Sun, 09 Feb 2025 10:09:45 +0000</pubDate></item><item><title>Prestashop Upgrade 1.7 to 8.X  - api_private_key</title><link>https://forum.prestashop.com/topic/1083443-prestashop-upgrade-17-to-8x-api_private_key/</link><description><![CDATA[<p>
	When updating Prestashop from 1.7 to 8.x, an error occurs.
</p>

<p>
	I noticed that this is a global problem, does anyone already have a solution?
</p>

<p>
	 
</p>

<p>
	When updating Prestashop to version 8.x, the following errors were displayed -&gt; [INTERNAL]<br />
	/var/www/prestashop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/DefinitionErrorExceptionPass.php line 54 - Symfony\Component\DependencyInjection\Exception\RuntimeException: You have requested a non-existent parameter "api_private_key". #0 /var/www/prestashop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php(83): Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass-&gt;processValue() #1 /var/www/prestashop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/DefinitionErrorExceptionPass.php(32): 
</p>
]]></description><guid isPermaLink="false">1083443</guid><pubDate>Mon, 08 Jan 2024 17:18:54 +0000</pubDate></item><item><title>Utilisation des webservices</title><link>https://forum.prestashop.com/topic/1098950-utilisation-des-webservices/</link><description><![CDATA[<p>
	Bonjour,
</p>

<p>
	j'utilise les webservices pour interfacer le site de mes clients avec un logiciel de caisse.
</p>

<p>
	Cela fonctionne plutôt bien mais nous avons des problèmes récurrents notamment lorsque nous n'avons pas la main sur la création et l'administration des sites.
</p>

<p>
	Nous sommes habitués à fonctionner avec des sites hébergés sur OVH et depuis quelques temps nous avons un souci de retour qui concerne des clients ou webmasters qui ont choisi un autre opérateur.
</p>

<p>
	Parmi les soucis rencontrés nous sommes particulièrement contrariés par celui-ci <span>:</span>
</p>

<ol><li>
		<span> test d'existence d'un fournisseur par son nom (GET &lt;site&gt;/api/suppliers/?filter[name]=[&lt;nom fournisseur&gt;])</span>
	</li>
	<li>
		<span>si xml vide création du fournisseur (POST &lt;site&gt;/api/suppliers)</span>
	</li>
	<li>
		<span>si retour OK (201) récupération de l'id du fournisseur (GET &lt;site&gt;/api/suppliers/?filter[name]=[&lt;nom fournisseur&gt;])</span>
	</li>
</ol><p>
	<span>Cette dernière étape retourne un xml vide comme en étape 1 alors qu'en interrogeant directement via un navigateur la même requête renvoie l'id du fournisseur.</span>
</p>

<p>
	<span>Cela nous arrive aujourd'hui avec O2switch mais également récemment avec Hostinger qui est pourtant recommandé par Prestashop.</span>
</p>

<p>
	<span>Est-ce que quelqu'un a une idée pour résoudre ce souci hormis celle de changer de fournisseur ?</span>
</p>
]]></description><guid isPermaLink="false">1098950</guid><pubDate>Tue, 03 Jun 2025 10:02:13 +0000</pubDate></item><item><title>Error when Editing a product</title><link>https://forum.prestashop.com/topic/1098687-error-when-editing-a-product/</link><description><![CDATA[<p>
	Hello everyone. How're you doing?<br /><br />
	I'm facing the following bug when editing a product that was received (without any errors) from my ERP.
</p>

<p>
	The error occurs only on products that were received from ERP. When I create manually a product using Prestashop interface (function Add Product), it does not happen. 
</p>

<p>
	Video of the Problem:  <a href="https://www.dropbox.com/scl/fi/9ldlnlsh9lnslpowueszo/NAO-APAGAR-ERRO-PRESTASHOP-INTEGRA-O-TINY.mp4?rlkey=qu3udufxcpjtgg7eie6r7vwnw&amp;st=pr35n5aq&amp;dl=0" rel="external nofollow">https://www.dropbox.com/scl/fi/9ldlnlsh9lnslpowueszo/NAO-APAGAR-ERRO-PRESTASHOP-INTEGRA-O-TINY.mp4?rlkey=qu3udufxcpjtgg7eie6r7vwnw&amp;st=pr35n5aq&amp;dl=0</a><br /><br />
	PS: DON'T care about the text I wrote on the video, it's for my ERP support. But you can understand the video anyway... they anwered it's not ERP error, but to look after Prestashop support to get why this error is ocurring.
</p>

<p>
	Please, is there someone who could debug and track what could be the problem?
</p>

<p>
	Thank you.
</p>
]]></description><guid isPermaLink="false">1098687</guid><pubDate>Mon, 26 May 2025 18:30:43 +0000</pubDate></item><item><title>Route error during theme change</title><link>https://forum.prestashop.com/topic/1098759-route-error-during-theme-change/</link><description><![CDATA[<p>
	I have clean prestashop 8.2.1 installation and i've tried to create child theme for classic theme, i created basic config thats basicly ctrl+c, ctrl+v code from the documentation and i got this error:<br /><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2025_05/image.png.9d21fc357cc650ec5e33c21e10a8edb6.png" data-fileid="335768" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="335768" data-ratio="99.60" width="753" alt="image.thumb.png.470a4c74a4bf8aceeaaf7ce92f40878e.png" data-src="//media.invisioncic.com/t336404/monthly_2025_05/image.thumb.png.470a4c74a4bf8aceeaaf7ce92f40878e.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a><br /><br />
	So i tried with some other themes i found and none worked so i dont think its my "child theme" fault. Reinstalled presta once again, same error. I'm doing all my testing on Ubuntu 24.04, php 8.1. I've tried to just brute force and change active theme to my child theme in the database in ps_store table but despite having 
</p>

<p>
	assets:
</p>

<p>
	 use_parent_assets: true
</p>

<p>
	in my configuration file no css/js will load.
</p>
]]></description><guid isPermaLink="false">1098759</guid><pubDate>Wed, 28 May 2025 13:10:16 +0000</pubDate></item><item><title>PrestaShop 8.1 &#x2013; 404 error for brand URLs due to category alias conflict &#x2013; even with reordered slugs</title><link>https://forum.prestashop.com/topic/1098490-prestashop-81-%E2%80%93-404-error-for-brand-urls-due-to-category-alias-conflict-%E2%80%93-even-with-reordered-slugs/</link><description><![CDATA[<p>
	Hello.
</p>

<p>
	I'm encountering a critical but somewhat unusual issue in a PrestaShop 8.1.7 store with friendly URLs enabled and no ID in the URL structure.
</p>

<p>
	<span class="ipsEmoji">?</span> The issue:
</p>

<p>
	In the shop, both categories and brands (manufacturers/publishers) are used. For example:
</p>

<p>
	<span class="ipsEmoji">✅</span> <a href="https://familis.pl/na-jej-glowie" rel="external nofollow">https://familis.pl/<strong><em>na-jej-glowie</em></strong></a> → Category (working)
</p>

<p>
	<span class="ipsEmoji">❌</span> <a href="https://familis.pl/marki/wydawnictwo-zycia-wewnetrznego-na-jej-glowie" rel="external nofollow">https://familis.pl/marki/wydawnictwo-zycia-wewnetrznego-<em><strong>na-jej-glowie</strong></em></a><em> </em>→ Brand (404 error)
</p>

<p>
	Here's what’s happening:
</p>

<p>
	If a brand URL contains any part of an existing category alias (even just a word like "<em><strong>na</strong></em>" or "<em><strong>glowie</strong></em>"), the system throws a 404.
</p>

<p>
	Even changing the order of words in the slug doesn’t help. But on some of those everything is working ok.
</p>

<p>
	Examples:
</p>

<p>
	<span class="ipsEmoji">✅</span> <a href="https://familis.pl/wydawnictwo-antyk-marcin-dybowski" rel="external nofollow">https://familis.pl/<strong>wydawnictwo-antyk-marcin-dybowski</strong></a> – works as category
</p>

<p>
	<span class="ipsEmoji">✅</span> <a href="https://familis.pl/marki/wydawnictwo-antyk-marcin-dybowski" rel="external nofollow">https://familis.pl/marki/<strong>wydawnictwo-antyk-marcin-dybowski</strong></a> – works as brand
</p>

<p>
	 
</p>

<p>
	<span class="ipsEmoji">✅</span>  <a href="https://familis.pl/anna-mandrela-ksiazki" rel="external nofollow">https://familis.pl/<strong>anna-mandrela</strong>-ksiazki</a> - work as category  
</p>

<p>
	<span class="ipsEmoji">✅</span>   <a href="https://familis.pl/marki/anna-mandrela" rel="external nofollow">https://familis.pl/marki/<strong>anna-mandrela</strong></a>  - work as brand
</p>

<p>
	 
</p>

<p>
	<span> </span><span class="ipsEmoji">✅</span>  <a href="https://familis.pl/wydawnictwo-bialy-kruk" rel="external nofollow">https://familis.pl/wydawnictwo-<strong><em>bialy-kruk</em></strong></a> - work as category
</p>

<p>
	<span> </span><span class="ipsEmoji">❌</span> <a href="https://familis.pl/marki/bialy-kruk" rel="external nofollow">https://familis.pl/marki/<em><strong>bialy-kruk</strong></em></a> - 404 as a brand
</p>

<p>
	 
</p>

<p>
	<span class="ipsEmoji">✅</span> <a href="https://familis.pl/na-jej-glowie" rel="external nofollow">https://familis.pl/<strong><em>na-jej-glowie</em></strong></a><em><strong> - </strong></em>Category (working)
</p>

<p>
	<span class="ipsEmoji">❌</span> /<a href="https://mydomain.com/brand/wydawnictwo-zycia-wewnetrznego-" rel="external nofollow">brand/wydawnictwo-zycia-wewnetrznego-</a><strong>glowie</strong> – 404 as brand
</p>

<p>
	<span class="ipsEmoji">❌</span> /<a href="https://mydomain.com/brand/" rel="external nofollow">brand/</a><em><strong>glowie</strong></em>-wydawnictwo-zycia-wewnetrznego – 404 as brand
</p>

<p>
	<span class="ipsEmoji">❌</span> <a href="https://mydomain.com/brand/" rel="external nofollow">/brand/</a><strong>na-<i>jej</i></strong>-wydawnictwo-zycia-wewnetrznego – 404 as brand
</p>

<p>
	<span class="ipsEmoji">❌</span> <a href="https://mydomain.com/brand/" rel="external nofollow">/</a>wydawnictwo-zycia-<strong><em>jej</em></strong>-wewnetrznego – 404 as brand
</p>

<p>
	It seems like the Dispatcher or router mistakenly parses part of the slug as a category, and breaks the routing for brand pages.??
</p>

<p>
	Any other clue what could it be?
</p>

<p>
	<span class="ipsEmoji">?</span> Configuration:
</p>

<p>
	Categories URL format: {rewrite}
</p>

<p>
	Brand URL format: brand/{rewrite} (translated as /marki/ ; with /brand/ - is the same - 404 )
</p>

<p>
	No ID in URLs
</p>

<p>
	Using "SEO Audit - SEO Analytics, Pretty URL, Image &amp; Sitemap" module to manage slugs and URLs
</p>

<p>
	<span class="ipsEmoji">?</span> Behavior observed:
</p>

<p>
	The Dispatcher incorrectly routes brand URLs when part of the brand alias matches or overlaps a category alias.
</p>

<p>
	This occurs even with partial word matches, not just full slug conflicts.
</p>

<p>
	<span class="ipsEmoji">❓</span> Questions:
</p>

<p>
	switching to brand/{id}-{rewrite} most likely will resolve these problem but still is not a clue of the problem. Its god to know whats happened and how to fixed that.
</p>

<p>
	I need categories and brands (especially book publishers) to coexist even with similar or identical names – without breaking friendly URLs or requiring forced renaming.
</p>

<p>
	Thanks in advance for any insight or experience you can share!
</p>

<p>
	Best regards,<br />
	Patryk - Familis<br />
	PrestaShop 8.1.7 – Friendly URLs enabled, no ID in slugs
</p>
]]></description><guid isPermaLink="false">1098490</guid><pubDate>Wed, 21 May 2025 06:44:02 +0000</pubDate></item><item><title>Problem with Webshipper's module (webshipper.com)</title><link>https://forum.prestashop.com/topic/1098638-problem-with-webshippers-module-webshippercom/</link><description><![CDATA[<p>
	Hello
</p>

<p>
	I have spoken with Webshipper support regarding their module. However, they have stated that they will no longer continue updating it due to a decline in the number of users, even though I still need it.
</p>

<p>
	The current version of PrestaShop I am using is 8.2.1.
</p>

<p>
	The reason I rebuilt the webshop on PrestaShop 8.2.1 is that I encountered issues with the old database on the previous webshop, which was running version 1.7.x. Additionally, the server was upgraded to the latest version of PHP (8.3).
</p>

<p>
	Among other things, I am experiencing an issue on the checkout page:<br />
	public_html/modules/webshipper/webshipper.php on line 173
</p>

<p>
	As a result, Webshipper has declined to assist with the problem.
</p>

<p>
	Any help regarding this issue ?
</p>
]]></description><guid isPermaLink="false">1098638</guid><pubDate>Sun, 25 May 2025 11:53:34 +0000</pubDate></item><item><title>PrestaShop Metrics and Google Analytics - connection loop</title><link>https://forum.prestashop.com/topic/1098337-prestashop-metrics-and-google-analytics-connection-loop/</link><description><![CDATA[<p>
	I can't connect to Google Analytics.
</p>

<p>
	1. I click "Connect to Google Analytics."<br /><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2025_05/444264523-a886a088-14fa-43d7-a97d-b9430282fd4d.png.75740db95e6423df29fff1e85cf84539.png" data-fileid="335529" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="335529" data-ratio="47.90" width="1000" alt="444264523-a886a088-14fa-43d7-a97d-b9430282fd4d.thumb.png.b2f6b12fe41ceef4ba2f031bdfe96349.png" data-src="//media.invisioncic.com/t336404/monthly_2025_05/444264523-a886a088-14fa-43d7-a97d-b9430282fd4d.thumb.png.b2f6b12fe41ceef4ba2f031bdfe96349.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a><br />
	2. I select my Google account.<br />
	3. Continue<br /><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2025_05/444264827-2e956c60-9025-4413-a57d-4c95d65b510f.png.a14a8338979ed3eba3dc9b13c0fca619.png" data-fileid="335530" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="335530" data-ratio="55.80" width="1000" alt="444264827-2e956c60-9025-4413-a57d-4c95d65b510f.thumb.png.3bb72acf855e1969d409d28fcc0a0e03.png" data-src="//media.invisioncic.com/t336404/monthly_2025_05/444264827-2e956c60-9025-4413-a57d-4c95d65b510f.thumb.png.3bb72acf855e1969d409d28fcc0a0e03.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a><br />
	4.Returns to point 1.
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2025_05/444264977-ce003c69-4f4c-4060-a66b-d7d21f23e1e7.png.7ab5a84f6922597cad538e8748259ec9.png" data-fileid="335531" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="335531" data-ratio="50.30" width="1000" alt="444264977-ce003c69-4f4c-4060-a66b-d7d21f23e1e7.thumb.png.637aebed85b99a9d6f12187610198483.png" data-src="//media.invisioncic.com/t336404/monthly_2025_05/444264977-ce003c69-4f4c-4060-a66b-d7d21f23e1e7.thumb.png.637aebed85b99a9d6f12187610198483.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	I have added an account in Analytics
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2025_05/444265188-de49a123-27da-441d-9519-f0c7af0d510e.png.65fa0c20a0008620095775d5dd57a83b.png" data-fileid="335532" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="335532" data-ratio="110.78" width="677" alt="444265188-de49a123-27da-441d-9519-f0c7af0d510e.thumb.png.cc1ff5d7abfa05278e6fd4546363efe9.png" data-src="//media.invisioncic.com/t336404/monthly_2025_05/444265188-de49a123-27da-441d-9519-f0c7af0d510e.thumb.png.cc1ff5d7abfa05278e6fd4546363efe9.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<p>
	modules/metrics?google_message_error=UNEXPECTED_GA3_ERROR&amp;countProperty=1
</p>
]]></description><guid isPermaLink="false">1098337</guid><pubDate>Thu, 15 May 2025 20:42:52 +0000</pubDate></item><item><title>HELP! FO error after upgrade 1.7.8.8 to 8.2.1</title><link>https://forum.prestashop.com/topic/1098648-help-fo-error-after-upgrade-1788-to-821/</link><description><![CDATA[<p>
	Upgrade without no errors all fine via Upgrade Assistance (automatic).
</p>

<p>
	BO is ok, can access and all is good.
</p>

<p>
	FO: error:
</p>

<p>
	Fatal error: Uncaught PrestaShop\PrestaShop\Core\Exception\ContainerNotFoundException: Kernel Container is not available in /home/picanty/www/src/Adapter/ContainerFinder.php:77 Stack trace: #0 /home/picanty/www/classes/module/Module.php(1702): PrestaShop\PrestaShop\Adapter\ContainerFinder-&gt;getContainer() #1 /home/picanty/www/classes/module/Module.php(1691): ModuleCore::getModuleRepository() #2 /home/picanty/www/classes/Hook.php(884): ModuleCore::getNativeModuleList() #3 /home/picanty/www/classes/Dispatcher.php(351): HookCore::exec('actionDispatche...', Array) #4 /home/picanty/www/index.php(28): DispatcherCore-&gt;dispatch() #5 {main} thrown in /home/picanty/www/src/Adapter/ContainerFinder.php on line 77
</p>

<p>
	Can you please help me what can I do?
</p>

<p>
	Already empty cache folders.
</p>
]]></description><guid isPermaLink="false">1098648</guid><pubDate>Sun, 25 May 2025 22:53:40 +0000</pubDate></item><item><title>Cart form page 2 adress manditory field not correct PS 1.7.8.11</title><link>https://forum.prestashop.com/topic/1098226-cart-form-page-2-adress-manditory-field-not-correct-ps-17811/</link><description><![CDATA[<p>
	I recently upgrade to 1.7.8.11 but discovered after a few complaints from customers that the required/optional fields are not show correctly.
</p>

<p>
	In debug mode I get this error in Front office:
</p>

<p>
	[PrestaShopException]
</p>

<p>
	Property Address-&gt;phone is empty.<br />
	at line 1046 in file classes/ObjectModel.php
</p>

<p>
	1041.             }<br />
	1042.<br />
	1043.             $message = $this-&gt;validateField($field, $this-&gt;$field);<br />
	1044.             if ($message !== true) {<br />
	1045.                 if ($die) {<br />
	1046.                     throw new PrestaShopException($message);<br />
	1047.                 }<br />
	1048.<br />
	1049.                 return $error_return ? $message : false;<br />
	1050.             }<br />
	1051.         }
</p>

<p>
	    ObjectModelCore-&gt;validateFields - [line 293 - classes/ObjectModel.php]<br />
	    ObjectModelCore-&gt;getFields - [line 578 - classes/ObjectModel.php]<br />
	    ObjectModelCore-&gt;add - [line 192 - classes/Address.php] - [2 Arguments]<br />
	    AddressCore-&gt;add - [line 535 - classes/ObjectModel.php] - [2 Arguments]<br />
	    ObjectModelCore-&gt;save - [line 71 - classes/form/CustomerAddressPersister.php]<br />
	    CustomerAddressPersisterCore-&gt;save - [line 158 - classes/form/CustomerAddressForm.php] - [2 Arguments]<br />
	    CustomerAddressFormCore-&gt;submit - [line 90 - classes/checkout/CheckoutAddressesStep.php]<br />
	    CheckoutAddressesStepCore-&gt;handleRequest - [line 76 - classes/checkout/CheckoutProcess.php] - [1 Arguments]<br />
	    CheckoutProcessCore-&gt;handleRequest - [line 229 - controllers/front/OrderController.php] - [1 Arguments]<br />
	    OrderControllerCore-&gt;initContent - [line 306 - classes/controller/Controller.php]<br />
	    ControllerCore-&gt;run - [line 525 - classes/Dispatcher.php]<br />
	    DispatcherCore-&gt;dispatch - [line 28 - index.php]
</p>

<p>
	<br />
	In my cart page 2 only the fields Company, Address2 Line and Phone are shows with text "Optional" but apparantly Phone should be filled. If not customer gets server 500 error (which is not goods for business!).
</p>

<p>
	In previous version of PS you could set which fields are mandatory and which not.<br />
	How can I fix this ?
</p>

<p>
	<br />
	Small addition: as customer sometime forget to leave their house number, I changed the text of 2nd address line to "house number"and made it mandatory to force them to leave their house number. Saves a lot of extra communications with customer.
</p>

<p>
	I found this in classes/Address.php
</p>

<p>
	    /**<br />
	     * @see ObjectModel::$definition<br />
	     */
</p>

<p>
	    // when you override this class, do not create a field with allow_null=&gt;true<br />
	    // because it will give you exception on checkout address step<br />
	    public static $definition = [<br />
	        'table' =&gt; 'address',<br />
	        'primary' =&gt; 'id_address',<br />
	        'fields' =&gt; [<br />
	            'id_customer' =&gt; ['type' =&gt; self::TYPE_INT, 'validate' =&gt; 'isNullOrUnsignedId', 'copy_post' =&gt; false],<br />
	            'id_manufacturer' =&gt; ['type' =&gt; self::TYPE_INT, 'validate' =&gt; 'isNullOrUnsignedId', 'copy_post' =&gt; false],<br />
	            'id_supplier' =&gt; ['type' =&gt; self::TYPE_INT, 'validate' =&gt; 'isNullOrUnsignedId', 'copy_post' =&gt; false],<br />
	            'id_warehouse' =&gt; ['type' =&gt; self::TYPE_INT, 'validate' =&gt; 'isNullOrUnsignedId', 'copy_post' =&gt; false],<br />
	            'id_country' =&gt; ['type' =&gt; self::TYPE_INT, 'validate' =&gt; 'isUnsignedId', 'required' =&gt; true],<br />
	            'id_state' =&gt; ['type' =&gt; self::TYPE_INT, 'validate' =&gt; 'isNullOrUnsignedId'],<br />
	            'alias' =&gt; ['type' =&gt; self::TYPE_STRING, 'validate' =&gt; 'isGenericName', 'required' =&gt; true, 'size' =&gt; 32],<br />
	            <strong>'company' =&gt; ['type' =&gt; self::TYPE_STRING, 'validate' =&gt; 'isGenericName', 'size' =&gt; 255],</strong><br />
	            'lastname' =&gt; ['type' =&gt; self::TYPE_STRING, 'validate' =&gt; 'isName', 'required' =&gt; true, 'size' =&gt; 255],<br />
	            'firstname' =&gt; ['type' =&gt; self::TYPE_STRING, 'validate' =&gt; 'isName', 'required' =&gt; true, 'size' =&gt; 255],<br />
	            'vat_number' =&gt; ['type' =&gt; self::TYPE_STRING, 'validate' =&gt; 'isGenericName'],<br />
	            'address1' =&gt; ['type' =&gt; self::TYPE_STRING, 'validate' =&gt; 'isAddress', 'required' =&gt; true, 'size' =&gt; 128],<br />
	           <strong> 'address2' =&gt; ['type' =&gt; self::TYPE_STRING, 'validate' =&gt; 'isAddress', 'size' =&gt; 128],</strong><br />
	            'postcode' =&gt; ['type' =&gt; self::TYPE_STRING, 'validate' =&gt; 'isPostCode', 'size' =&gt; 12],<br />
	            'city' =&gt; ['type' =&gt; self::TYPE_STRING, 'validate' =&gt; 'isCityName', 'required' =&gt; true, 'size' =&gt; 64],<br />
	            'other' =&gt; ['type' =&gt; self::TYPE_STRING, 'validate' =&gt; 'isMessage', 'size' =&gt; 300],<br />
	           <strong> 'phone' =&gt; ['type' =&gt; self::TYPE_STRING, 'validate' =&gt; 'isPhoneNumber', 'size' =&gt; 32],<br />
	              'phone_mobile' =&gt; ['type' =&gt; self::TYPE_STRING, 'validate' =&gt; 'isPhoneNumber', 'size' =&gt; 32],</strong><br />
	            'dni' =&gt; ['type' =&gt; self::TYPE_STRING, 'validate' =&gt; 'isDniLite', 'size' =&gt; 16],<br />
	            'deleted' =&gt; ['type' =&gt; self::TYPE_BOOL, 'validate' =&gt; 'isBool', 'copy_post' =&gt; false],<br />
	            'date_add' =&gt; ['type' =&gt; self::TYPE_DATE, 'validate' =&gt; 'isDate', 'copy_post' =&gt; false],<br />
	            'date_upd' =&gt; ['type' =&gt; self::TYPE_DATE, 'validate' =&gt; 'isDate', 'copy_post' =&gt; false],<br />
	        ],<br />
	    ];
</p>

<p>
	But the lines of interest do not mention 'required' =&gt; true.
</p>

<p>
	Any help is much appreciated.
</p>
]]></description><guid isPermaLink="false">1098226</guid><pubDate>Mon, 12 May 2025 22:21:00 +0000</pubDate></item><item><title>Prestashop 8.2.1 multistore - bug can't editing product - The system will export csv instead open editing page</title><link>https://forum.prestashop.com/topic/1098422-prestashop-821-multistore-bug-cant-editing-product-the-system-will-export-csv-instead-open-editing-page/</link><description><![CDATA[<p>
	Hello.<br />
	I know that the problem of the "automatic exporting a useless csv file" Instead of entering the editing page it has already been reported.
</p>

<p>
	However, I thought it had been resolved with PS8.2.1 --&gt;&gt;<strong> It has not been solved.</strong>
</p>

<p>
	I have an installation of PS8.2.1, configured with 6 stores (6 domains same catalogue), and if I try to edit a product while is selected the Multistore, I am asked to choose a reference store, after this choice instead of entering the editing page, is downloaded a useless CSV.
</p>

<p>
	This abnormal behavior also happened to me previously on Ps8, when I logged in to the system.
</p>

<p>
	Surely it's all connected, someone needs to go deeper and solve this BUG.
</p>

<p>
	I've tryed also to delete cache/prod and to login/logout but nothing changes
</p>

<p>
	Thank you<br />
	Erik
</p>
]]></description><guid isPermaLink="false">1098422</guid><pubDate>Mon, 19 May 2025 08:47:23 +0000</pubDate></item><item><title>Why product URL and Image change to one of the Related Product when I select another variation?</title><link>https://forum.prestashop.com/topic/1094100-why-product-url-and-image-change-to-one-of-the-related-product-when-i-select-another-variation/</link><description><![CDATA[<p>
	I'm experiencing a critical issue on PrestaShop 8.1.1 and 8.1.7 where changing a product variation (e.g., size or color) causes the product URL and main image to switch to a related product displayed on the product page but the product name remains same as you can see in the screenshot. This only happens when any related products module is enabled or related products are manually added in the Back Office.
</p>

<p>
	Has anyone encountered this issue before? What could be causing the product ID or image to incorrectly update to a related product when selecting a combination? Please Help
</p>

<p>
	<span></span><span></span>Example:<br /><strong>Before selecting another variation:</strong><br /><span></span><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2025_01/Screenshot-from-2025-01-11-11-37-43.png.15478afdcac588289b7c5e06f9c60e7b.png" data-fileid="330972" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="330972" data-ratio="50.50" width="1000" alt="Screenshot-from-2025-01-11-11-37-43.thumb.png.6b1de22af4a724fa8f236f9c7ab1911c.png" data-src="//media.invisioncic.com/t336404/monthly_2025_01/Screenshot-from-2025-01-11-11-37-43.thumb.png.6b1de22af4a724fa8f236f9c7ab1911c.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a><span></span></p>

<p>
	 
</p>

<p>
	<strong>After selecting the variation:</strong><br /><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2025_01/Screenshot-from-2025-01-11-11-38-16.png.cc2d157cb9759083402c53c551e04fe2.png" data-fileid="330973" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="330973" data-ratio="51.00" width="1000" alt="Screenshot-from-2025-01-11-11-38-16.thumb.png.8f5691442197d9c4c1098ac60f76d1a7.png" data-src="//media.invisioncic.com/t336404/monthly_2025_01/Screenshot-from-2025-01-11-11-38-16.thumb.png.8f5691442197d9c4c1098ac60f76d1a7.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>
]]></description><guid isPermaLink="false">1094100</guid><pubDate>Sat, 11 Jan 2025 06:53:17 +0000</pubDate></item><item><title>PS 8.2 Error in module Products as Fake Combinations</title><link>https://forum.prestashop.com/topic/1094632-ps-82-error-in-module-products-as-fake-combinations/</link><description><![CDATA[<p>
	I want to use module <a href="https://addons.prestashop.com/en/combinaisons-customization/41032-products-as-fake-combinations-link-products-together.html" rel="external nofollow">Products as Fake Combinations - Link products together</a> but i get error.
</p>

<p>
	After installing the module, I try to go to edit products and get this error:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">Warning: Undefined array key "selected"

PrestaShop\PrestaShop\Core\Exception\ CoreException
in classes/Hook.php (line 431)

                    }
                }
            } catch (Exception $e) {
                $environment = ServiceLocator::get('\\PrestaShop\\PrestaShop\\Adapter\\Environment');
                if ($environment-&gt;isDebug()) {
                    throw new CoreException($e-&gt;getMessage(), $e-&gt;getCode(), $e);
                }
            }
            return '';
        }

HookCore::callHookOn(object(ProductAsCombinations), 'displayAdminProductsExtra', array('_ps_version' =&gt; '8.2.0', 'request' =&gt; object(Request), 'route' =&gt; 'admin_products_edit', 'id_product' =&gt; 4, 'cookie' =&gt; object(Cookie), 'cart' =&gt; null, 'altern' =&gt; 1)) in classes/Hook.php (line 983)

                    // we will pass the response from the previous one as parameters.
                    if (0 !== $key &amp;&amp; true === $chain) {
                        $hook_args = $output;
                    }
                    $display = Hook::callHookOn($moduleInstance, $registeredHookName, $hook_args);
                    // Case 1 - each module response to different array key. We don't care about the response.
                    if ($array_return) {
                        $output[$moduleInstance-&gt;name] = $display;
                    // Case 2 - chaining. Here, each module MUST return an array that will the next module receive as parameters.

HookCore::exec('displayAdminProductsExtra', array('_ps_version' =&gt; '8.2.0', 'request' =&gt; object(Request), 'route' =&gt; 'admin_products_edit', 'id_product' =&gt; 4, 'cookie' =&gt; object(Cookie), 'cart' =&gt; null, 'altern' =&gt; 1), 106, true) in src/Adapter/LegacyHookSubscriber.php (line 127)

            $content = Hook::exec(
                $hookName,
                $event-&gt;getHookParameters(),
                $moduleId,
                ($event instanceof RenderingHookEvent)
            );
            if (
                $event instanceof RenderingHookEvent
                &amp;&amp; 0 !== $moduleId
</span></pre>

<p>
	What could be the cause of the error? Have you encountered such an error with this module?
</p>
]]></description><guid isPermaLink="false">1094632</guid><pubDate>Sat, 25 Jan 2025 21:49:28 +0000</pubDate></item><item><title>Prestashop 1.7.8 image upload area problem</title><link>https://forum.prestashop.com/topic/1098290-prestashop-178-image-upload-area-problem/</link><description><![CDATA[<p>
	Hello, When I want to upload a product to my Prestahshop website, the upload icon does not go away as in the image and an obejct object warning appears. I cannot use this field. Does anyone know the reason for this error?
</p>

<p>
	 
</p>

<p>
	 
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2025_05/Ekrangrnts2025-05-14214445.png.1e70f3aff712cc0e00d89c3cdf1e5b86.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="335366" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2025_05/Ekrangrnts2025-05-14214445.thumb.png.2ba745ffc2323ab794a4e679861dea0a.png" data-ratio="47.4" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Ekran görüntüsü 2025-05-14 214445.png"></a></p>]]></description><guid isPermaLink="false">1098290</guid><pubDate>Wed, 14 May 2025 18:51:02 +0000</pubDate></item><item><title>SMTP Authorization Problem while sending an e-mail (a bug maybe?) - PS 1.7.8.9</title><link>https://forum.prestashop.com/topic/1081433-smtp-authorization-problem-while-sending-an-e-mail-a-bug-maybe-ps-1789/</link><description><![CDATA[<p>
	Hello Guys <span><img alt=":)" data-emoticon="" height="20" src="https://media.invisioncic.com/t336404/emoticons/default_smile.png" srcset="https://media.invisioncic.com/t336404/emoticons/smile@2x.png 2x" title=":)" width="20" /></span>
</p>

<p>
	<span>I've just spotted a new (maybe new) problem with Prestashop 1.7 - with using SMTP protocol and one of mine MTA servers . My (testing) PS 1.7.8.9 environment was build on Centos 7.9 and </span>Apache/2.4.6 (CentOS) PHP/7.4.33 and MySQL version: 5.5.68-MariaDB . I have just started testing the functionality of sending emails and customer contact modules - using one of my domains (e-nutka.pl) and the ESMTP Postfix-based mail server operating within this domain.<br /><br />
	My test environment was installed and configured using one e-mail adres - markooff@gmail.com - but now, for testing purposes I want to use several other e-mail adresses - created especially for this occasion in production environment. One of them is - listed below e-mail adress for Customer Service - kontakt-test@e-nutka.pl<br /><br />
	Below I present my current configuration of e-mail addresses as well as the configuration of the SMTP protocol:<br />
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpg" data-fileid="315713" href="//media.invisioncic.com/t336404/monthly_2023_10/2023-10-26_23_19_05-Contacts_-_e-nutka.pl__Opera.jpg.39e47f470b47d818f86a1195e3611fca.jpg" rel=""><img alt="2023-10-26_23_19_05-Contacts_-_e-nutka.pl__Opera.thumb.jpg.75ef5f99b721c63f181ef85ac742da35.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="315713" data-ratio="60.30" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t336404/monthly_2023_10/2023-10-26_23_19_05-Contacts_-_e-nutka.pl__Opera.thumb.jpg.75ef5f99b721c63f181ef85ac742da35.jpg" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpg" data-fileid="315714" href="//media.invisioncic.com/t336404/monthly_2023_10/2023-10-26_23_24_17-email_options_01.jpg.b351f04dfcffc96207822e510044402b.jpg" rel=""><img alt="2023-10-26_23_24_17-email_options_01.thumb.jpg.aa0d9d7571c0241842f86145676c733b.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="315714" data-ratio="69.70" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t336404/monthly_2023_10/2023-10-26_23_24_17-email_options_01.thumb.jpg.aa0d9d7571c0241842f86145676c733b.jpg" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpg" data-fileid="315715" href="//media.invisioncic.com/t336404/monthly_2023_10/2023-10-26_23_25_39-email_options_02.jpg.38dd9cf5398939eb45d77b01500f3bbd.jpg" rel=""><img alt="2023-10-26_23_25_39-email_options_02.thumb.jpg.903bd15bb5bc4775b41d730515050499.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="315715" data-ratio="69.00" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t336404/monthly_2023_10/2023-10-26_23_25_39-email_options_02.thumb.jpg.903bd15bb5bc4775b41d730515050499.jpg" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<p>
	And now - when I try to - using this form - send a test e-mail to my first e-mail (markooff@gmail.com) I get an error message saying:<br /><br />
	"ERROR: Please check your configuration! " <br /><br /><span><img alt="2023-10-26_23_26_53-.proba_wysylania_wiadomosci_testowej01png.thumb.jpg.5470d148f77f1b2261bc373b27b98034.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="315718" data-ratio="69.70" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t336404/monthly_2023_10/2023-10-26_23_26_53-.proba_wysylania_wiadomosci_testowej01png.thumb.jpg.5470d148f77f1b2261bc373b27b98034.jpg" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></span>
</p>

<p>
	<span>I've checked my smtp configuration (many times) - and when I use it in my MAIL CLIENT (e.g. Mozilla Thunderbird ) - everything works all right <span><img alt=":)" data-emoticon="" height="20" src="https://media.invisioncic.com/t336404/emoticons/default_smile.png" srcset="https://media.invisioncic.com/t336404/emoticons/smile@2x.png 2x" title=":)" width="20" /> - but when I try to use the Prestashop as a mail client which tries to send an e-mail using smtp merhod - I always get the same error. <br /><br /><br />
	But going a bit deeper - I grab the whole traffic from this machine on which I have my Prestashop installed - and when I open the .pcap files in Wireshark and analize the whole tcp(smtp) stream - </span></span><br /><br /><a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpg" data-fileid="315720" href="//media.invisioncic.com/t336404/monthly_2023_10/2023-10-26_23_28_44-mail_enutka_04_mark_Wireshark_packet_listing.jpg.d8a9689cdd9087feda180063635d3f41.jpg" rel=""><img alt="2023-10-26_23_28_44-mail_enutka_04_mark_Wireshark_packet_listing.thumb.jpg.4438c78fdf6fd841a74c0019fafd6bf3.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="315720" data-ratio="71.10" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t336404/monthly_2023_10/2023-10-26_23_28_44-mail_enutka_04_mark_Wireshark_packet_listing.thumb.jpg.4438c78fdf6fd841a74c0019fafd6bf3.jpg" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a><br /><br /><span><span>(starting grom EHLO message from SMTP server) </span></span><br /><br />
	and the "follow on tcp stream" listing looks like <span><span>: </span></span><br /><br /><a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpg" data-fileid="315721" href="//media.invisioncic.com/t336404/monthly_2023_10/2023-10-26_23_29_27-mail_enutka_04_mark_follow_tcp_stream.jpg.dabd2a2d7080b8381cdcb2278e24b7d2.jpg" rel=""><img alt="2023-10-26_23_29_27-mail_enutka_04_mark_follow_tcp_stream.thumb.jpg.b0a4ed23b053c6027e20dd524707dd87.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="315721" data-ratio="70.80" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t336404/monthly_2023_10/2023-10-26_23_29_27-mail_enutka_04_mark_follow_tcp_stream.thumb.jpg.b0a4ed23b053c6027e20dd524707dd87.jpg" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a><br />
	 
</p>

<p>
	it turnes out that Prestashop mail-to function HAS ALWAYS a problem - while entering the &lt; MAIL FROM: Header &gt; in which it still tries to use the inproper e-mail address (markooff@gmail.com)instead of the proper address which in that case should be - kontakt-test@e-nutka.pl ! <br />
	And - in result <strong>I always get the 553.5.7.1 error code as the reply from MTA</strong> (which is quite uderstable in such situation) 
</p>

<p>
	So it looks like - <strong>the problem of malfunction of the smtp method</strong> in Prestashop 1.7.xx - is <strong>wrong authentication and wrong mail header construction</strong> -  which <strong>in more secured servers (MTAs</strong>) which test and validate the MAIL FROM HEader against the sernder e-mail address (and  perform some domain possesion/mapping validation also) . 
</p>

<p>
	 
</p>

<p>
	Have you ever encountered such a situation and is there a known solution? <span><span><span><img alt=":)" data-emoticon="" height="20" src="https://media.invisioncic.com/t336404/emoticons/default_smile.png" srcset="https://media.invisioncic.com/t336404/emoticons/smile@2x.png 2x" title=":)" width="20" /> </span></span></span>
</p>

<p>
	 
</p>

<p>
	<span><span><span>Regards </span></span></span>
</p>

<p>
	<span><span><span>markooff</span></span></span>
</p>
]]></description><guid isPermaLink="false">1081433</guid><pubDate>Thu, 26 Oct 2023 22:40:37 +0000</pubDate></item><item><title>Recently viewed items module bug with large catalogs [SOLVED]</title><link>https://forum.prestashop.com/topic/1097797-recently-viewed-items-module-bug-with-large-catalogs-solved/</link><description><![CDATA[<p>
	I recently started working on a new PrestaShop site for a customer with 3.4 million items in their product catalog. During testing, I increased the number of items 10x for each test, starting at 1000 items. When I got to 1 million items, the site started behaving very poorly, requiring me to up the PHP process limit to 512MB just to display a product page.
</p>

<p>
	After enabling the profiler, I noticed that a query which pulls back the entire list of active items in the product table is executed 3 times. At 1 million items, this is 3 million rows being fetched and loaded into RAM.
</p>

<p>
	The query:
</p>

<pre class="ipsCode prettyprint lang-sql prettyprinted"><span class="pln">SELECT SQL_NO_CACHE p</span><span class="pun">.</span><span class="pln">id_product FROM ps_product p WHERE p</span><span class="pun">.</span><span class="pln">active </span><span class="pun">=</span><span class="pln"> </span><span class="lit">1</span></pre>

<p>
	Being executed by:<br />
	/modules/ps_viewedproduct/ps_viewedproduct.php:317
</p>

<p>
	This is executed 3 times during the rendering of the product display page. This will never work for large catalogs.
</p>

<p>
	After disabling this module as well as "items in the same category", the page execution time dropped from &gt;4sec to 19ms and the memory usage went from 460M to 5MB. While I would expect load times and memory usage to be higher with these modules enabled, they are both fetching far more data than necessary to display the intended information (the number of items in the database doesn't change the amount of information these modules need to render).
</p>
]]></description><guid isPermaLink="false">1097797</guid><pubDate>Sat, 26 Apr 2025 22:11:39 +0000</pubDate></item><item><title><![CDATA[Strange bug with Mbo -> ApiClient]]></title><link>https://forum.prestashop.com/topic/1086923-strange-bug-with-mbo-apiclient/</link><description><![CDATA[<p>
	 
</p>

<p>
	Hello colleagues! Could you please guide me as to what could be causing this issue that keeps popping up in the website admin panel. Because there is no data that it is the third thing on the file system and so on.
</p>

<p>
	Hello colleagues! Could you please guide me as to what could be causing this issue that keeps popping up in the website admin panel. Because there is no data that it is the third thing on the file system and so on.
</p>

<p>
	Type error: Argument 1 passed to PrestaShop\Module\Mbo\Addons\ApiClient::setDefaultParams() must be of the type string, null given, called in /home/vit/public_html/var/cache/prod/ContainerO50hsut/appProdProjectContainer.php on line 3592
</p>

<p>
	[Symfony\Component\Debug\Exception\FatalThrowableError 0]
</p>
]]></description><guid isPermaLink="false">1086923</guid><pubDate>Sat, 27 Apr 2024 13:12:25 +0000</pubDate></item><item><title>Where is the "Import Translations" in PS 1.7?</title><link>https://forum.prestashop.com/topic/608597-where-is-the-import-translations-in-ps-17/</link><description><![CDATA[
<p>Hi there,<br>I'm trying to import a language translation file for a theme, but I can't see the importer that I had on PS 1.6.x!</p>
<p> </p>
<p><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" alt="qYp2qOA.png" data-src="http://i.imgur.com/qYp2qOA.png"></p>
<p> </p>
<p>As you can see I only can add a language from the Prestashop website but It's not what I want to do.</p>
<p> </p>
<p>Any help?</p>
]]></description><guid isPermaLink="false">608597</guid><pubDate>Sat, 06 May 2017 23:37:44 +0000</pubDate></item><item><title>Rounded price is displayed but unrounded price is used for calculations</title><link>https://forum.prestashop.com/topic/1091961-rounded-price-is-displayed-but-unrounded-price-is-used-for-calculations/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I have discovered this on PrestaShop 8.1.7. It applies to rounding methods: <strong>Round on each line</strong> and <strong>Round on total </strong>when currency Decimals is set to 2. PrestaShop 8.1 rounds Unit Price with discount applied value but uses unrounded value for further calculations. This makes the calculations appear wrong.
</p>

<p>
	<u>Example:</u><br />
	Product base price: £0.30<br />
	Discount from 1000pcs: 31%<br />
	Product price with discount applied: £0.207 (rounded to £0.21)
</p>

<p>
	PrestaShop makes the following calculations:<br /><img class="ipsImage ipsImage_thumbnailed" data-fileid="328526" data-ratio="44.31" width="598" alt="image.png.f378e41729f5b117002ff113d1a88246.png" data-src="//media.invisioncic.com/t336404/monthly_2024_10/image.png.f378e41729f5b117002ff113d1a88246.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></p>

<p>
	£0.21 * 1000 cannot be £207.00
</p>

<p>
	The problem is that rounded Unit Price with discount is displayed (£0.21) but unrounded value is taken to the calculations (£0.207).
</p>

<p>
	 
</p>

<p>
	Possible approaches to correct this:
</p>

<p>
	1. Display rounded value and use it for further calculations (as it was in PrestaShop 1.6):
</p>

<p>
	£0.21 * 1000 = £210.00
</p>

<p>
	2. Display unrounded value and use it for further calculations (but the shop is set to 2 Decimals which is an issue):
</p>

<p>
	£0.207 * 1000 = £207.00
</p>

<p>
	How to fix this?
</p>

<p>
	Thanks
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">1091961</guid><pubDate>Thu, 31 Oct 2024 11:15:03 +0000</pubDate></item><item><title>Var directory too big</title><link>https://forum.prestashop.com/topic/985627-var-directory-too-big/</link><description><![CDATA[
<p>
	Hello,
</p>

<p>
	 
</p>

<p>
	today we had the website offline cause we reached the hosting limits during a backoffice work and we examinated the space occupation: we found the VAR directory that reached something like 800Mb.
</p>

<p>
	Now... I read something searching on the web about the use of debug mode that influence the file created in this directory. It's correct? Cause we have our theme developers that are working everyday on the theme (it's full of minor issues...) and I would like to understand if it's cause of their works that this happened.
</p>

<p>
	I need really to fix this situation fast cause we're trying to publish the e-commerce in the next days and we can't stop cause of this bad situation...
</p>
]]></description><guid isPermaLink="false">985627</guid><pubDate>Thu, 09 May 2019 19:25:03 +0000</pubDate></item><item><title><![CDATA[FO > Routing Issue]]></title><link>https://forum.prestashop.com/topic/1096790-fo-routing-issue/</link><description><![CDATA[<p>
	How can I fix this routing issue?<br />
	I have a URL <a href="http://localhost:8081/clothes/men" rel="external nofollow">http://localhost:8081/clothes/men</a> that loads correctly, but when I try <a href="http://localhost:8081/dev-test/clothes/men," rel="external nofollow">http://localhost:8081/dev-test/clothes/men,</a> it still loads the same content as /clothes/men. I want /dev-test/clothes/men to be treated as a different route or show a 404. How can I achieve this?
</p>
]]></description><guid isPermaLink="false">1096790</guid><pubDate>Wed, 26 Mar 2025 11:56:09 +0000</pubDate></item><item><title>Negative stock in my multistore Prestashop</title><link>https://forum.prestashop.com/topic/1096748-negative-stock-in-my-multistore-prestashop/</link><description><![CDATA[<p>
	Hi, I have a Prestashop multistore that share the stock. When the stock was set to 0 when sharing the stock between the shops, I put a quantity of 999999 to all the products. The problem is that when a customer buys on our website, depending on the product, the stock is bugged and the stock is set to negative. For example if a customer buys the product with ID 141 (real case) that had 999999 stock, it becomes negative stock something like -467, this only happens with specific products such as the ID 141 but it happens to me in some more. I attach a screenshot of the <strong>stock_available</strong> table. Does anyone have any idea how I can solve this?
</p>

<p>
	I use Prestashop 1.7.8.7 multistore sharing stock.
</p>

<p>
	<br /><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2025_03/image.png.746209572b465742bf7c08684599c5d9.png" data-fileid="333962" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="333962" data-ratio="40.90" width="1000" alt="image.thumb.png.66b1dc4ec2a1fccd049392d8bb0d125f.png" data-src="//media.invisioncic.com/t336404/monthly_2025_03/image.thumb.png.66b1dc4ec2a1fccd049392d8bb0d125f.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>
]]></description><guid isPermaLink="false">1096748</guid><pubDate>Tue, 25 Mar 2025 14:43:17 +0000</pubDate></item><item><title>Fake subscriptions to Prestashop newsletter</title><link>https://forum.prestashop.com/topic/1096377-fake-subscriptions-to-prestashop-newsletter/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I have Prestashop 1.6.1 and for a few months I have been seeing many fake subscription attempts to the newsletter, some of which are successful (see image below). I tried to protect the newsletter form with Google reCaptcha v.2 and v.3 but nothing changes. In fact, it seems that bots are able to subscribe without going through the site's newsletter form, since the numbering of their subscriptions is not progressive and starts with an id like "N12345" instead of having a progressive id only numerical (e.g. 12345), as happens for real users who subscribe to the newsletter.
</p>

<p>
	Aside from fake subscriptions, the problem is that the site sends a lot of emails regarding the subscription verification and confirmation.
</p>

<p>
	So:
</p>

<ul><li>
		Why does this happen? Is it a bug in prestashop 1.6.1?
	</li>
	<li>
		How do these fake users subscribe?
	</li>
	<li>
		How can I protect my site from such fake registration attempts?
	</li>
</ul>
<p><a href="//media.invisioncic.com/t336404/monthly_2025_03/fake-newslleter.jpg.0f26ca091ab9954dee64333933fa3ed2.jpg" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="333386" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2025_03/fake-newslleter.thumb.jpg.e1aeaa894d1f902e68981d30f9628801.jpg" data-ratio="91.46" width="820" class="ipsImage ipsImage_thumbnailed" alt="fake-newslleter.jpg"></a></p>]]></description><guid isPermaLink="false">1096377</guid><pubDate>Fri, 14 Mar 2025 11:07:02 +0000</pubDate></item><item><title>Problem in the Statistics section loading indefinitely</title><link>https://forum.prestashop.com/topic/1088199-problem-in-the-statistics-section-loading-indefinitely/</link><description><![CDATA[<p>
	On Prestashop 1.7.6.7<br /><br />
	When you are in the statistics tab, when you click on the first item "Commandes et CA"/"Orders and turnover", when you select a period, be it "Last Year" or "Last month", the website is loading indefinitely.<br />
	I'm not sure if it's because of the volume of orders (lots of orders with lots of products) or something else.
</p>
]]></description><guid isPermaLink="false">1088199</guid><pubDate>Wed, 19 Jun 2024 14:33:56 +0000</pubDate></item><item><title>Bug with Prestashop attributes - Displays images from another attribute</title><link>https://forum.prestashop.com/topic/1096084-bug-with-prestashop-attributes-displays-images-from-another-attribute/</link><description><![CDATA[<p>
	Hello,<br /><br />
	I'm experiencing a problem that I think comes from the theme conflicting with Prestashop attributes.<br /><br />
	In the link I sent you, you'll see that there are two attributes for a cabinet:<br /><br />
	There's a choice between 3 front panel shades, then a choice for interior LEDs, in interior LEDs there are two image attributes: With or Without, yet on the product sheet the 3 attributes for the front panel shade are displayed.<br />
	In the code, it's clear that this is the code for group 29, which is called up on the second line, even though it should be the LED group.
</p>
]]></description><guid isPermaLink="false">1096084</guid><pubDate>Wed, 05 Mar 2025 10:04:36 +0000</pubDate></item><item><title>RESOLU: PS 8.1 - Probl&#xE8;me sur d'anciens comptes clients venant de PS 1.6</title><link>https://forum.prestashop.com/topic/1094052-resolu-ps-81-probl%C3%A8me-sur-danciens-comptes-clients-venant-de-ps-16/</link><description><![CDATA[<p>
	Bonjour, j'ai importé via le module Migration Pro d'anciens comptes clients émanant d'un PS 1.6, vers le un PS 8.1.4 et certains anciens clients rencontrent des soucis soit pour se connecter, soit pour changer leurs informations personnelles ou leurs adresses. De ce que j'ai pu identifier, cela arrive à chaque fois sur des comptes dont les champs "last_name", "first_name" ou "allias" ont des caractères en trop ou des caractères qui ne sont plus autorisés sur la nouvelle version de Prestashop 8. Existe t'il une solution pour résoudre ce type de problème ? Fait-il modifier la méthode de vérification de ces champs ? Car si je modifie les informations en DB, cela passe mais ce n'est pas viable pour les anciens comptes clients. Merci de votre aide sur ce point car je ne sais plus quoi faire.
</p>
]]></description><guid isPermaLink="false">1094052</guid><pubDate>Thu, 09 Jan 2025 17:47:52 +0000</pubDate></item><item><title>Discount problem</title><link>https://forum.prestashop.com/topic/1095711-discount-problem/</link><description><![CDATA[<p>
	Hello all !
</p>

<p>
	I recently have a problem with discounts in my PrestaShop eShop.
</p>

<p>
	I have PrestaShop 1.7.8.2
</p>

<p>
	Last year I was normally using Catalog / Discount options and there were no problems, but, suddenly, it stopped working.
</p>

<p>
	On some categories discount works, but on number of categories not. I do not know where problem is. 
</p>

<p>
	For example:
</p>

<p>
	I set discount:
</p>

<ol><li>
		I find category name and number (In pictures bona - 16)
	</li>
	<li>
		I set discount for exact category (In Pictures 16)
	</li>
	<li>
		I set settings for discount, then save it, everything appears normal
	</li>
	<li>
		Discount also appears in product settings / price, for products which are in category (16)
	</li>
	<li>
		Discount does not show in front...
	</li>
</ol><p>
	In some categories it works, in some not, but it used to work and now I am unable to control discounts.
</p>

<p>
	What I already tried:
</p>

<ul><li>
		delete all discounts
	</li>
	<li>
		clean cache
	</li>
	<li>
		tried all possible settings of discount
	</li>
	<li>
		clear cache again
	</li>
	<li>
		tried debbug mod - did not find any error, just warnings for translations
	</li>
	<li>
		clear cache
	</li>
	<li>
		I made a comparison for categories/products that works but did not find any differencies
	</li>
</ul><p>
	Any ideas ?
</p>

<p>
	Thank you all... <span>:)</span>
</p>

<p>
	 
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2025_02/Snmkaobrazovky2025-02-23100444.png.39a5bd5523f9a57566d8f578a66d3b32.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="332567" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2025_02/Snmkaobrazovky2025-02-23100444.png.39a5bd5523f9a57566d8f578a66d3b32.png" data-ratio="52.16" width="301" class="ipsImage ipsImage_thumbnailed" alt="Snímka obrazovky 2025-02-23 100444.png"></a></p>
<p><a href="//media.invisioncic.com/t336404/monthly_2025_02/Snmkaobrazovky2025-02-23100343.png.076fb275f069e42623912d26313aea5b.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="332566" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2025_02/Snmkaobrazovky2025-02-23100343.png.076fb275f069e42623912d26313aea5b.png" data-ratio="40.79" width="304" class="ipsImage ipsImage_thumbnailed" alt="Snímka obrazovky 2025-02-23 100343.png"></a></p>
<p><a href="//media.invisioncic.com/t336404/monthly_2025_02/Snmkaobrazovky2025-02-23100011.png.a1e7f3c29f21678aef609d8fb6fb5550.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="332565" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2025_02/Snmkaobrazovky2025-02-23100011.thumb.png.c7422d93d050a7127293d48f86dd0f46.png" data-ratio="6.9" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Snímka obrazovky 2025-02-23 100011.png"></a></p>]]></description><guid isPermaLink="false">1095711</guid><pubDate>Sun, 23 Feb 2025 09:14:52 +0000</pubDate></item><item><title>Multiplying the product's specific price in non-default currencies by the currency exchange rate.</title><link>https://forum.prestashop.com/topic/1089261-multiplying-the-products-specific-price-in-non-default-currencies-by-the-currency-exchange-rate/</link><description><![CDATA[<p>
	<strong>Describe the bug and add attachments</strong>
</p>

<p>
	Hello everyone,<br />
	We have discovered a bug with the specific pricing feature that prevents us from setting different prices in non-default currencies for products. We want to set fixed prices for one of our manufacturers, but we can't due to the rate multiplier.
</p>

<p>
	Even after setting a stiff specific price in a different currency, the price is still multiplied by the exchange rate.
</p>

<p>
	For example, the normal price in EUR:<br /><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2024_07/image.png.6fcf369357d8efbaf979f9c7a259bb3e.png" data-fileid="325549" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="325549" data-ratio="58.00" width="1000" alt="image.thumb.png.e15d344c527e510464fbf2acd29a1d91.png" data-src="//media.invisioncic.com/t336404/monthly_2024_07/image.thumb.png.e15d344c527e510464fbf2acd29a1d91.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<p>
	Here, it should be 10 USD, but it is multiplied by the exchange rate:<br /><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2024_07/image.png.7611eca204c718a0c41611221eb83c15.png" data-fileid="325550" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="325550" data-ratio="58.90" width="1000" alt="image.thumb.png.a3821b976b52561a80cb5fece1e763fc.png" data-src="//media.invisioncic.com/t336404/monthly_2024_07/image.thumb.png.a3821b976b52561a80cb5fece1e763fc.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<p>
	Currencies:<br /><img class="ipsImage ipsImage_thumbnailed" data-fileid="325551" data-ratio="37.61" width="944" alt="image.png.6d3714e489eb148942a3cb2eab841924.png" data-src="//media.invisioncic.com/t336404/monthly_2024_07/image.png.6d3714e489eb148942a3cb2eab841924.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></p>

<p>
	 
</p>

<p>
	Product specific price:<br /><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2024_07/image.png.85f86a002e10b855d1a0fc623cd7e5a6.png" data-fileid="325552" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="325552" data-ratio="116.28" width="645" alt="image.thumb.png.5effd2a65ecb58d3034811d2dcd27677.png" data-src="//media.invisioncic.com/t336404/monthly_2024_07/image.thumb.png.5effd2a65ecb58d3034811d2dcd27677.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a><br /><br />
	 
</p>

<p>
	<strong>Expected behavior</strong>
</p>

<p>
	A fixed specific price should be as we set it, for example, 5 USD, not "5 USD * exchange rate". It works okay when you add a specific price in the default currency as it is supposed to be multiplied by the exchange rate.<br />
	 
</p>

<p>
	<strong>Steps to reproduce</strong>
</p>

<p>
	Back Office:
</p>

<ol><li>
		Go to International &gt; Localization &gt; Currencies.
	</li>
	<li>
		Set up an additional currency with an exchange rate, in my case x2.
	</li>
	<li>
		Go to Products &gt; Catalog &gt; Add new product.
	</li>
	<li>
		In the product "Pricing" tab, add a price (in my case it will be 5 EUR).
	</li>
	<li>
		Scroll to the bottom &gt; Specific prices &gt; Add a Specific Price.
	</li>
	<li>
		In "Apply to," choose the additional currency and then scroll to the bottom.
	</li>
	<li>
		Turn on "Set specific price" and enter a value, in my case 10 USD
	</li>
</ol><p>
	Front Office:
</p>

<ol><li>
		Go to the added product and check the price.
	</li>
	<li>
		Verify the price.
	</li>
	<li>
		Change the currency to the second one.
	</li>
	<li>
		Check the price again.
	</li>
</ol><p>
	 
</p>

<p>
	<strong>PrestaShop version(s) where the bug happened</strong>
</p>

<p>
	8.1.7
</p>

<p>
	 
</p>

<p>
	<strong>PHP version(s) where the bug happened</strong>
</p>

<p>
	8.1
</p>

<p>
	 
</p>

<p>
	<strong>If your bug is related to a module, specify its name and its version</strong>
</p>

<p>
	ps_currencyselector (possible)
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">1089261</guid><pubDate>Mon, 29 Jul 2024 07:51:33 +0000</pubDate></item><item><title>Robot creating clients automaticaly v8.2</title><link>https://forum.prestashop.com/topic/1095546-robot-creating-clients-automaticaly-v82/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	Since yesterday we have a robot creating a new customer account every 7 minutes.<br />
	We already have deleted a few hunderd fake accounts.
</p>

<p>
	We are running the latest version (8.2.0).
</p>

<p>
	Any ID what to do tto stop this robot?
</p>

<p>
	 
</p>

<p>
	Kind regards,
</p>

<p>
	Roel
</p>
]]></description><guid isPermaLink="false">1095546</guid><pubDate>Wed, 19 Feb 2025 08:21:29 +0000</pubDate></item><item><title>Prestashop order page redirecting to 404</title><link>https://forum.prestashop.com/topic/1095322-prestashop-order-page-redirecting-to-404/</link><description><![CDATA[<p>
	For some reason every time prestashop order page redirecting me to 404 not found after the pagination is set to highr that 29 item per page, need help urgently thanks the version of prestashop is the latest 1.7 i think 1.7.8.11 or something like that 
</p>

<p>
	I checked the cache the debug mode nothing show any problem 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">1095322</guid><pubDate>Thu, 13 Feb 2025 08:14:07 +0000</pubDate></item><item><title><![CDATA[PS 1.7.5.2 / ecotax & VAT / error in calculation]]></title><link>https://forum.prestashop.com/topic/986196-ps-1752-ecotax-vat-error-in-calculation/</link><description><![CDATA[
<p>
	Dear all,<br /><br />
	As all can see in PS forums, a lot of people have issues with ecotax. <br /><br />
	In my case I am also facing to the following issue <span>:</span><br />
	- wrong calculation with discount (the ecotax is fix per product, even if the discount is 100%, the price should be = to the ecotax)
</p>

<p>
	- after validating a change in a product, the amount of ecotax in the backoffice changed<br /><br />
	See the topic here: <a href="https://github.com/PrestaShop/PrestaShop/issues/9703" rel="external nofollow">https://github.com/PrestaShop/PrestaShop/issues/9703</a> (see inside the issues 10026, 9967, 10030, 9600, 9855)<br /><br />
	The implication is: ALL PRESTASHOP WEBSITE ARE ILLEGAL (at least in France and for those which use ecotax). Unfortunately is ecotax a legal obligation.<br /><br />
	That is: does someone know how to solve such issues? Or how to accelerate the dev regarding these issues? A lot of shop are willing to pay (as me) for such features.<br /><br />
	Thanks in advance!<br /><br />
	Cheers<br /><br />
	Jean-Philippe
</p>
]]></description><guid isPermaLink="false">986196</guid><pubDate>Thu, 16 May 2019 17:31:15 +0000</pubDate></item><item><title>Invalid address #12115 - [PrestaShopException] - in classes/Address.php (line 529)</title><link>https://forum.prestashop.com/topic/1068002-invalid-address-12115-prestashopexception-in-classesaddressphp-line-529/</link><description><![CDATA[<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2022_09/Capture.PNG.5f00ce777d6f931e13dfb833487dd641.PNG" data-fileid="295443" data-fileext="PNG" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="295443" data-ratio="58.40" width="1000" alt="Capture.thumb.PNG.75be8ffbc24caf1b81711d604d1a9078.PNG" data-src="//media.invisioncic.com/t336404/monthly_2022_09/Capture.thumb.PNG.75be8ffbc24caf1b81711d604d1a9078.PNG" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<p>
	Hello,
</p>

<p>
	I have this issue with a customer. I checked in the database; he updated his address a few minutes before his order. I saw that a solution is to delete ps_cart content, but my question is: will it affect the BO orders section? The orders will be still there?
</p>

<p>
	Thank you
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">1068002</guid><pubDate>Thu, 08 Sep 2022 07:40:44 +0000</pubDate></item><item><title>PS 8.0.1 Webservice  generates wrong xml content for customers schema=blank</title><link>https://forum.prestashop.com/topic/1083552-ps-801-webservice-generates-wrong-xml-content-for-customers-schemablank/</link><description><![CDATA[<p>
	Server software version: Apache
</p>

<p>
	PHP version: 8.1.27<br />
	PrestaShop version: 8.1.0<br />
	MySQL version: 10.6.12-MariaDB<br />
	MySQL engine: InnoDB<br />
	MySQL driver: DbPDO
</p>

<p>
	 
</p>

<p>
	Using the webservice to add manually generated xml for a new customer works
</p>

<p>
	Trying to get a blank schema and fill the needed fields does not work.
</p>

<p>
	The response contains the schema, but there is an error in the associations block. Here is what I get:<br />
	 
</p>

<pre class="ipsCode prettyprint lang-xml prettyprinted"><span class="pun">&lt;?</span><span class="pln">xml version</span><span class="pun">=</span><span class="str">"1.0"</span><span class="pln"> encoding</span><span class="pun">=</span><span class="str">"UTF-8"</span><span class="pun">?&gt;</span><span class="pln">

</span><span class="tag">&lt;prestashop</span><span class="pln"> </span><span class="atn">xmlns:xlink</span><span class="pun">=</span><span class="atv">"http://www.w3.org/1999/xlink"</span><span class="tag">&gt;</span><span class="pln">

</span><span class="tag">&lt;customer&gt;</span><span class="pln">

</span><span class="tag">&lt;id&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/id&gt;</span><span class="pln">

</span><span class="tag">&lt;id_default_group&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/id_default_group&gt;</span><span class="pln">

</span><span class="tag">&lt;id_lang&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/id_lang&gt;</span><span class="pln">

</span><span class="tag">&lt;newsletter_date_add&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/newsletter_date_add&gt;</span><span class="pln">

</span><span class="tag">&lt;ip_registration_newsletter&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/ip_registration_newsletter&gt;</span><span class="pln">

</span><span class="tag">&lt;last_passwd_gen&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/last_passwd_gen&gt;</span><span class="pln">

</span><span class="tag">&lt;secure_key&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/secure_key&gt;</span><span class="pln">

</span><span class="tag">&lt;deleted&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/deleted&gt;</span><span class="pln">

</span><span class="tag">&lt;passwd&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/passwd&gt;</span><span class="pln">

</span><span class="tag">&lt;lastname&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/lastname&gt;</span><span class="pln">

</span><span class="tag">&lt;firstname&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/firstname&gt;</span><span class="pln">

</span><span class="tag">&lt;email&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/email&gt;</span><span class="pln">

</span><span class="tag">&lt;id_gender&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/id_gender&gt;</span><span class="pln">

</span><span class="tag">&lt;birthday&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/birthday&gt;</span><span class="pln">

</span><span class="tag">&lt;newsletter&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/newsletter&gt;</span><span class="pln">

</span><span class="tag">&lt;optin&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/optin&gt;</span><span class="pln">

</span><span class="tag">&lt;website&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/website&gt;</span><span class="pln">

</span><span class="tag">&lt;company&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/company&gt;</span><span class="pln">

</span><span class="tag">&lt;siret&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/siret&gt;</span><span class="pln">

</span><span class="tag">&lt;ape&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/ape&gt;</span><span class="pln">

</span><span class="tag">&lt;outstanding_allow_amount&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/outstanding_allow_amount&gt;</span><span class="pln">

</span><span class="tag">&lt;show_public_prices&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/show_public_prices&gt;</span><span class="pln">

</span><span class="tag">&lt;id_risk&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/id_risk&gt;</span><span class="pln">

</span><span class="tag">&lt;max_payment_days&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/max_payment_days&gt;</span><span class="pln">

</span><span class="tag">&lt;active&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/active&gt;</span><span class="pln">

</span><span class="tag">&lt;note&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/note&gt;</span><span class="pln">

</span><span class="tag">&lt;is_guest&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/is_guest&gt;</span><span class="pln">

</span><span class="tag">&lt;id_shop&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/id_shop&gt;</span><span class="pln">

</span><span class="tag">&lt;id_shop_group&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/id_shop_group&gt;</span><span class="pln">

</span><span class="tag">&lt;date_add&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/date_add&gt;</span><span class="pln">

</span><span class="tag">&lt;date_upd&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/date_upd&gt;</span><span class="pln">

</span><span class="tag">&lt;reset_password_token&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/reset_password_token&gt;</span><span class="pln">

</span><span class="tag">&lt;reset_password_validity&gt;</span><span class="pln">&lt;![CDATA[]]&gt;</span><span class="tag">&lt;/reset_password_validity&gt;</span><span class="pln">

</span><span class="tag">&lt;associations&gt;</span><span class="pln">

</span><span class="tag">&lt;groups&gt;</span><span class="pln">

</span><span class="tag">&lt;group&gt;</span><span class="pln">

&lt;0&gt;&lt;![CDATA[]]&gt;&lt;/0&gt;

</span><span class="tag">&lt;/group&gt;</span><span class="pln">

</span><span class="tag">&lt;/groups&gt;</span><span class="pln">

</span><span class="tag">&lt;/associations&gt;</span><span class="pln">

</span><span class="tag">&lt;/customer&gt;</span><span class="pln">

</span><span class="tag">&lt;/prestashop&gt;</span></pre>

<p>
	the first group has a title 0 instead of id.
</p>

<p>
	&lt;id&gt;&lt;![CDATA[ ]]&gt;&lt;/id&gt; should be OK
</p>

<p>
	Any suggestion for fixing this problem?
</p>
]]></description><guid isPermaLink="false">1083552</guid><pubDate>Thu, 11 Jan 2024 19:40:02 +0000</pubDate></item><item><title><![CDATA[PS 8.2.0, install new theme => "No result was found for query although at least one row was expected" error]]></title><link>https://forum.prestashop.com/topic/1092032-ps-820-install-new-theme-no-result-was-found-for-query-although-at-least-one-row-was-expected-error/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	On PS 8.2.0, when installing new theme, in Advanced Parameters -&gt; Logs appear 17 errors:
</p>

<pre class="ipsCode">Severity (1-4): Error (3)
Message: No result was found for query although at least one row was expected.
Object type: Translation.
Language: English</pre>

<p>
	I've also tested with a copy of Classic theme, so I think that the errors are not related to the theme.
</p>

<p>
	Kind regards,
</p>

<p>
	Ioan
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2024_11/error3.JPG.578f7713d825ce376a7d6aa8702f38ff.JPG" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="328600" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2024_11/error3.thumb.JPG.6663d6bc25151f7cab34107eb85913d8.JPG" data-ratio="29.8" width="1000" class="ipsImage ipsImage_thumbnailed" alt="error3.JPG"></a></p>]]></description><guid isPermaLink="false">1092032</guid><pubDate>Sun, 03 Nov 2024 16:58:22 +0000</pubDate></item><item><title>Meta title, description does not show (Prestashop 8.1.2)</title><link>https://forum.prestashop.com/topic/1083537-meta-title-description-does-not-show-prestashop-812/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	not displayed on all pages Meta title, Meta description. Only Store name in title. Same with standard theme.
</p>

<p>
	Any ideas on how to fix it?
</p>

<p>
	 
</p>

<p>
	Thanks.
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2024_01/Untitled.png.2a03cd6df5fd5265683f6c4f291f3366.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="318564" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2024_01/Untitled.png.2a03cd6df5fd5265683f6c4f291f3366.png" data-ratio="24.55" width="550" class="ipsImage ipsImage_thumbnailed" alt="Untitled.png"></a></p>]]></description><guid isPermaLink="false">1083537</guid><pubDate>Thu, 11 Jan 2024 13:00:23 +0000</pubDate></item><item><title>Unkown different discount applied on pdp and plp</title><link>https://forum.prestashop.com/topic/1094821-unkown-different-discount-applied-on-pdp-and-plp/</link><description><![CDATA[<p>
	Description: I am experiencing an issue with PrestaShop 1.7.6.7 in a multistore configuration. On one of the stores, the discount applied is not displaying correctly on the production page.
</p>

<p>
	<strong>Details:</strong>
</p>

<ul><li>
		PrestaShop Version: 1.7.6.7
	</li>
	<li>
		Configuration: Multistore
	</li>
	<li>
		Issue: The discount added in the back office and checked in phpMyAdmin (table pssties_specific_price) shows the correct applied discount of 21.88. However, on the production page, it shows 34.8. This incorrect discount was tracked but could not be found anywhere in the system.
	</li>
</ul><p>
	<strong>Expected Behavior:</strong> The discount displayed on the production page should match the discount added in the back office and checked in phpMyAdmin.
</p>

<p>
	Actual Behavior: The discount displayed on the production page is 34.8 instead of the correct 21.88.
</p>

<p>
	Additional Information:
</p>

<p>
	This issue is occurring frequently I have 17 shops attached but I appears on one or two after updating,<br />
	To solve I delete all discounts on the table related to shop id and upload the discounts using the import
</p>

<p>
	The incorrect discount was tracked but could not be found anywhere in the system.
</p>

<p>
	<strong>Screenshots:</strong>
</p>

<p>
	<br /><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2025_01/Screenshot2025-01-29173744.png.df6a3050b7011828da6c52fb17f34b2e.png" data-fileid="331615" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="331615" data-ratio="60.20" width="1000" alt="Screenshot2025-01-29173744.thumb.png.701799150ce93d0e782a2cd3df0e2bc7.png" data-src="//media.invisioncic.com/t336404/monthly_2025_01/Screenshot2025-01-29173744.thumb.png.701799150ce93d0e782a2cd3df0e2bc7.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a><br /><br /><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2025_01/Screenshot2025-01-29173903.png.d0ccb6f2ab304e908f776f34c0e9ddfa.png" data-fileid="331614" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="331614" data-ratio="49.90" width="1000" alt="Screenshot2025-01-29173903.thumb.png.d67c676ca8d74d59998a167713088146.png" data-src="//media.invisioncic.com/t336404/monthly_2025_01/Screenshot2025-01-29173903.thumb.png.d67c676ca8d74d59998a167713088146.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>
]]></description><guid isPermaLink="false">1094821</guid><pubDate>Thu, 30 Jan 2025 16:20:03 +0000</pubDate></item><item><title>ERR_TOO_MANY_REDIRECTS - backoffice presta submenus are in infinite loop</title><link>https://forum.prestashop.com/topic/1094423-err_too_many_redirects-backoffice-presta-submenus-are-in-infinite-loop/</link><description><![CDATA[<p>
	frontoffice work perfectly . installed modules are working fine in bo+fo too. but backoffice presta admin panel submenus (products ,categories, advanced parameters,orders,module manager etc...) are in infinite loop.
</p>

<p>
	when click on a admin submenu that came with prestashop8.2 , address bar redirects several times , crush, and bar stops at ;
</p>

<p>
	<span>https://www.****.net/Prestaadmin/index.php/security/compromised?uri=https%3A%2F%2Fwww.****.net%2FPrestaadmin%2Findex.php%2Fsecurity%2Fcompromised%3F&amp;_token=vg6fa5cHKC_Mfdm7dsV2bmwYp3b68Pg5G92bTWBp7g8</span>
</p>

<p>
	in page <span>: ERR_TOO_MANY_REDIRECTS</span>
</p>

<p>
	 
</p>

<p>
	tried everything in last 2 weeks, somedays worked all days and solved several times but how i dont know... but it happen again and again... so i give up
</p>

<p>
	backup points also gives error while restore
</p>

<p>
	i made malware/virus scan and nothing found
</p>

<p>
	domain admins said it happens because of http-&gt;https redirect. but they can not solved. they tell me to write presta
</p>

<p>
	presta 8.2 installed via cpanel.
</p>

<p>
	my site dont have much modules. credit card payment module "iyzico", product import module "easy import" and a complicated theme "movic fashion"
</p>

<p>
	 
</p>

<p>
	I think Something wrong with database or htaccess . (ps_tab may be).   When i change something on them, it start to work again. But crush in few hours later
</p>

<p>
	-----
</p>

<p>
	use prestashop 8.2 on php 8.1 apache server. SSL built in .
</p>
]]></description><guid isPermaLink="false">1094423</guid><pubDate>Mon, 20 Jan 2025 11:58:17 +0000</pubDate></item><item><title>[solved]Error unable to update settings</title><link>https://forum.prestashop.com/topic/1094111-solvederror-unable-to-update-settings/</link><description><![CDATA[<p>
	<img alt="image.png.eb5d8d88139cc9f8f9767efaae1c2d2e.png" class="ipsImage ipsImage_thumbnailed" data-fileid="330983" data-ratio="20.91" style="height:auto;" width="220" data-src="//media.invisioncic.com/t336404/monthly_2025_01/image.png.eb5d8d88139cc9f8f9767efaae1c2d2e.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></p>

<p>
	no further issue even in debugging mode <br />
	i only got this error when editing any kind of text inside the website i had to enter it through phpmyadmin <br />
	i can edit my product but not the short and description <br />
	even modules that i can edit text in have the same issue it gives black screen and says forbidden <br /><br />
	here what i did till now <br />
	delete all files and tried new setup with same database same issue tried new database the issue is gone but i cant just drop the database <br /><br />
	when i enter debug mode dashboard and module manager i got these errors <br />
	 
</p>

<p>
	Unknown error on line 274 in file /home/********0/domains/********/public_html/modules/ps_accounts/vendor/monolog/monolog/src/Monolog/Logger.php<br />
	[8192] DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated<br /><br />
	Unknown error on line 274 in file /home/********0/domains/********/public_html/modules/ps_accounts/vendor/monolog/monolog/src/Monolog/Logger.php<br />
	[8192] DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated<br /><br />
	Unknown error on line 274 in file /home/********0/domains/********/public_html/modules/ps_accounts/vendor/monolog/monolog/src/Monolog/Logger.php<br />
	[8192] DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated<br /><br />
	Unknown error on line 274 in file /home/********0/domains/********/public_html/modules/ps_accounts/vendor/monolog/monolog/src/Monolog/Logger.php<br />
	[8192] DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated<br /><br />
	Unknown error on line 274 in file /home/********0/domains/********/public_html/modules/ps_accounts/vendor/monolog/monolog/src/Monolog/Logger.php<br />
	[8192] DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated<br /><br />
	Unknown error on line 274 in file /home/********0/domains/********/public_html/modules/ps_accounts/vendor/monolog/monolog/src/Monolog/Logger.php<br />
	[8192] DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated<br /><br />
	Unknown error on line 274 in file /home/********0/domains/********/public_html/modules/ps_accounts/vendor/monolog/monolog/src/Monolog/Logger.php<br />
	[8192] DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated<br /><br />
	Unknown error on line 274 in file /home/********0/domains/********/public_html/modules/ps_accounts/vendor/monolog/monolog/src/Monolog/Logger.php<br />
	[8192] DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated<br /><br />
	Unknown error on line 274 in file /home/********0/domains/********/public_html/modules/ps_accounts/vendor/monolog/monolog/src/Monolog/Logger.php<br />
	[8192] DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated<br /><br />
	Unknown error on line 21 in file /home/********0/domains/********/public_html/modules/ps_accounts/vendor/symfony/config/Resource/ClassExistenceResource.php<br />
	[8192] PrestaShop\Module\PsAccounts\Vendor\Symfony\Component\Config\Resource\ClassExistenceResource implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)<br /><br />
	Unknown error on line 274 in file /home/********0/domains/********/public_html/modules/ps_accounts/vendor/monolog/monolog/src/Monolog/Logger.php<br />
	[8192] DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated<br /><br />
	i dont know if its related or not but i changed time from UTC to UTC+02:00 not its UTC and it still have issues <br /><br />
	THANKS IN ADVANCE
</p>
]]></description><guid isPermaLink="false">1094111</guid><pubDate>Sat, 11 Jan 2025 12:54:21 +0000</pubDate></item><item><title>[Closed] Bug on account client after migrate prestashop 1.6 to PS 8.1.4</title><link>https://forum.prestashop.com/topic/1093816-closed-bug-on-account-client-after-migrate-prestashop-16-to-ps-814/</link><description><![CDATA[<p>
	Hello, I have just migrated my client from a Prestashop 1.6 to a PS 8.1.2 in which we imported the old customer accounts. The problem is that they cannot modify their accounts if the "first name" or "last name" fields are not filled in, being that on PS 1.6 this was not obligatory. If I manually enter the first name it works. How can I resolve this issue so customers can edit their account? Thank You.
</p>
]]></description><guid isPermaLink="false">1093816</guid><pubDate>Thu, 02 Jan 2025 11:03:45 +0000</pubDate></item><item><title>Loading material icons</title><link>https://forum.prestashop.com/topic/1086582-loading-material-icons/</link><description><![CDATA[<p>
	I have a problem with all my web icons.
</p>

<p>
	For las two days i´m having this problem:
</p>

<p>
	When entering into my web it shows all icons as text for a few seconds, as you can see in this image<br /><br /><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2024_04/error1.jpg.d8d3456e5495b2ef2a9d90c49b62af2f.jpg" data-fileid="322240" data-fileext="jpg" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="322240" data-ratio="26.10" width="1000" alt="error1.thumb.jpg.27d2867d776b4ce5c46419a19126f325.jpg" data-src="//media.invisioncic.com/t336404/monthly_2024_04/error1.thumb.jpg.27d2867d776b4ce5c46419a19126f325.jpg" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<p>
	Google chrome shows me these errors:<br /><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2024_04/errorweb.jpg.c3c073f125f40829d90e1b6c07c5d429.jpg" data-fileid="322241" data-fileext="jpg" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="322241" data-ratio="11.80" width="1000" alt="errorweb.thumb.jpg.ad696bc8d846a884885eb68e6fcc721e.jpg" data-src="//media.invisioncic.com/t336404/monthly_2024_04/errorweb.thumb.jpg.ad696bc8d846a884885eb68e6fcc721e.jpg" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	The thing is that these files doesn't exist as ".woff2", but do as ".woff".
</p>

<p>
	My Host log shows these errors:<br /><br /><br />
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">GET /modules/blockreassurance/views/dist/front.js.map HTTP/2.0 404 49472 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" "www.mydomain.com"

83.138.41.54 - - [ 15/Apr/2024:21:32:50 +0200 ] GET /modules/blockreassurance/views/dist/front.css.map HTTP/2.0 404 49476 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" "www.mydomain.com"

83.138.41.54 - - [ 15/Apr/2024:21:32:50 +0200 ] GET /themes/core.js.map HTTP/2.0 403 199 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" "www.mydomain.com"

8
83.138.41.54 - - [ 15/Apr/2024:21:31:00 +0200 ] GET /themes/classic/assets/css/de69cd9e672c81725abc.woff2 HTTP/2.0 404 49488 "https://www.mydomain.com/themes/classic/assets/css/theme.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" "www.mydomain.com"

83.138.41.54 - - [ 15/Apr/2024:21:31:00 +0200 ] GET /themes/classic/assets/css/a8af1233a958bd1e96ed.woff2 HTTP/2.0 404 49488 "https://www.mydomain.com/themes/classic/assets/css/theme.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" "www.mydomain.com"

83.138.41.54 - - [ 15/Apr/2024:21:31:00 +0200 ] GET /themes/classic/assets/css/c80d4fb11dcc2140b260.woff2 HTTP/2.0 404 49488 "https://www.mydomain.com/themes/classic/assets/css/theme.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" "www.mydomain.com"

83.138.41.54 - - [ 15/Apr/2024:21:31:00 +0200 ] GET /themes/classic/assets/css/f2a0933406f783065152.woff2 HTTP/2.0 404 49488 "https://www.mydomain.com/themes/classic/assets/css/theme.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" "www.mydomain.com"

83.138.41.54 - - [ 15/Apr/2024:21:31:00 +0200 ] GET /themes/classic/assets/css/0f099f4e4d67aeb18ab6.woff2 HTTP/2.0 404 49486 "https://www.mydomain.com/themes/classic/assets/css/theme.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" "www.mydomain.com"


</span></pre>

<p>
	I don't know if this is related to the icons problem.
</p>

<p>
	I´m experiencing this problem without having make any change in the shop.
</p>

<p>
	 
</p>

<p>
	Any help?
</p>

<p>
	 
</p>

<p>
	Prestahsop 8.1.4
</p>

<p>
	PHP 8.2.1.7
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">1086582</guid><pubDate>Mon, 15 Apr 2024 19:51:03 +0000</pubDate></item><item><title><![CDATA[PS 1.7.6.4 Rounding Item Prices, Despite the Rounding & Decimal Settings Being Correct]]></title><link>https://forum.prestashop.com/topic/1061962-ps-1764-rounding-item-prices-despite-the-rounding-decimal-settings-being-correct/</link><description><![CDATA[<p>
	Hi.<br /><br />
	I set up a shop (www.KatieandCompany.net) a few years ago and noticed recently (we don't know if it was happening before or if it has only been in the last few months) that PS is rounding the item prices up to whole numbers. They are set at $xx.95 for all but a few items in the individual product pages, but they round up once I save and return to the product catalog (and on the pricing page for each item, it shows the rounded up price).
</p>

<p>
	I haven't added or updated any modules since I first set up the shop in 2020.
</p>

<p>
	It seems like this has been an ongoing issue with PS for many years, so I don't know if there is a fix or not. I tried attached screenshots of the rounding settings I've had in place since the beginning, as well as one showing a sample pricing page for an item, but it keeps giving me error code 200.<br /><br />
	I truly appreciate any help you can give.
</p>

<p>
	Thanks.
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2022_03/80992_Screenshot2022-03-15at15-05-55ProductKatieandCompany.png.cdc5420def92ddd3c6469a0157b5b224.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="287176" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2022_03/1572087130_Screenshot2022-03-15at15-05-55ProductKatieandCompany.thumb.png.c6755d53c41422533efb854d70aa5a9b.png" data-ratio="42.5" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Screenshot 2022-03-15 at 15-05-55 Product • Katie and Company.png"></a></p>
<p><a href="//media.invisioncic.com/t336404/monthly_2022_03/769038841_Screenshot2022-03-15at15-06-12PreferencesKatieandCompany.png.2311b9299b55d58552d8a397019472e1.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="287177" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2022_03/610212841_Screenshot2022-03-15at15-06-12PreferencesKatieandCompany.thumb.png.0c5cddd87caabfae885d316dfb48868e.png" data-ratio="25.8" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Screenshot 2022-03-15 at 15-06-12 Preferences • Katie and Company.png"></a></p>]]></description><guid isPermaLink="false">1061962</guid><pubDate>Fri, 18 Mar 2022 04:37:06 +0000</pubDate></item><item><title>[psxmarketingwithgoogle] - Product deleted still sended through the product stream</title><link>https://forum.prestashop.com/topic/1080412-psxmarketingwithgoogle-product-deleted-still-sended-through-the-product-stream/</link><description><![CDATA[<p>
	Hello everyone,
</p>

<p>
	I'm facing a small problem with the psxmarketingwithgoogle module (Google shopping), I recently (manually) deleted several thousand products, but for some unknown reason, the psxmarketingwithgoogle module continues to send them in the product feed .
</p>

<p>
	Here's what I've done so far:
</p>

<p>
	- Update the module to the latest version: 1.59
</p>

<p>
	- Reset module
</p>

<p>
	- Reconfigure the module
</p>

<p>
	- Clear cache
</p>

<p>
	- Delete products from the merchant center
</p>

<p>
	But nothing happens, the module continues to send my deleted products.
</p>

<p>
	The last option would be uninstall, reinstall, but I know that PrestashopCorp modules are sometimes capricious and during this promotional period, I prefer to avoid downgrading our site.
</p>

<p>
	If anyone has ever faced this problem
</p>
]]></description><guid isPermaLink="false">1080412</guid><pubDate>Mon, 25 Sep 2023 09:42:44 +0000</pubDate></item><item><title>**SOLVED** Weird SQL query on my product search page</title><link>https://forum.prestashop.com/topic/1093269-solved-weird-sql-query-on-my-product-search-page/</link><description><![CDATA[<p>
	I am still learning and setting up a small prestaShop..
</p>

<p>
	I noticed that my setup is running slow and at the bottom of every product page, is this info.  It should an SQL query and load time.  It total approx 80 pages of information.
</p>

<p>
	How to ai stop this from occurring?
</p>

<p>
	 
</p>

<p>
	I am running PrestaShop 8.2.0 on Ubuntu 22.04, with Apache 2.4, PHP 8.1 with 8GB RAM, 2vCPU
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="329994" href="//media.invisioncic.com/t336404/monthly_2024_12/image.png.2755441bf33b41e6ae5a88f40df7e9c6.png" rel=""><img alt="image.thumb.png.89a950448954fe9d3203886e0f098627.png" class="ipsImage ipsImage_thumbnailed" data-fileid="329994" data-ratio="65.20" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t336404/monthly_2024_12/image.thumb.png.89a950448954fe9d3203886e0f098627.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>
]]></description><guid isPermaLink="false">1093269</guid><pubDate>Tue, 10 Dec 2024 14:10:46 +0000</pubDate></item><item><title>Wrong discount in the chart</title><link>https://forum.prestashop.com/topic/1088747-wrong-discount-in-the-chart/</link><description><![CDATA[<p>
	I am worried about a error who is making me getting in some problems with customers.
</p>

<p>
	Basically the actual discount show a different amount from the actual discount.
</p>

<p>
	The discount is 5% on only selected products 
</p>

<p>
	so 2799.20 5% is 139.96  it is actually correct
</p>

<p>
	but in the details under it show a different amount 174.95
</p>

<p>
	some method of payment does this 2799.20-139.96=2659.24
</p>

<p>
	other method of payment does this 2799.20-174.95=2624.25
</p>

<p>
	i saw similar posts about this problem but it was a bug in older version of prestashop corrected with the more recent version
</p>

<p>
	Have anybody some suggestion or to know where to escalate this bug?
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2024_07/carrello1.jpg.007f4a6bb7f7f0be36d278081a6fe64c.jpg" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="324932" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2024_07/carrello1.thumb.jpg.8fdb942d9327e72602ae7d6519ea6352.jpg" data-ratio="21.6" width="1000" class="ipsImage ipsImage_thumbnailed" alt="carrello1.jpg"></a></p>]]></description><guid isPermaLink="false">1088747</guid><pubDate>Tue, 09 Jul 2024 14:18:34 +0000</pubDate></item><item><title>Shipping Method and Payment Step Gone Missing After Switching Theme</title><link>https://forum.prestashop.com/topic/1093202-shipping-method-and-payment-step-gone-missing-after-switching-theme/</link><description><![CDATA[<p>
	Hi guys, I came across this problem where the step to choose shipping method and payment method were gone missing right after applying to the new template, and also when I tried to switch back to the old template. It's running on Prestashop 1.7.7.5 to be exact. 
</p>

<p>
	Any suggestions as to what to look for?
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2024_12/Screenshot2024-12-06111029_67527968c2b50.png.c04d599c8359e338c61a7b606eb15d65.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="329908" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2024_12/Screenshot2024-12-06111029_67527968c2b50.thumb.png.252b80355c4d3087069a0b4aa0b6ba2e.png" data-ratio="41.5" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Screenshot 2024-12-06 111029_67527968c2b50.png"></a></p>]]></description><guid isPermaLink="false">1093202</guid><pubDate>Mon, 09 Dec 2024 04:51:16 +0000</pubDate></item><item><title>Specific price crash prestashop 8.2.0</title><link>https://forum.prestashop.com/topic/1092608-specific-price-crash-prestashop-820/</link><description><![CDATA[<p>
	<br />
	Hi all, I have a problem with setting a specific price for a product in prestashop. When trying to fill in the start date of the discount, suddenly the whole menu hides. I tried on several different browsers, unfortunately it doesn't help. Has anyone encountered this problem and could help me? Thank you in advance! <br /><br />
	attached is a video showing the problem
</p>

<video controls class="ipsEmbeddedVideo" data-fileid="329195" data-video-embed>
	<source data-video-src="//media.invisioncic.com/t336404/monthly_2024_11/Untitledvideo-MadewithClipchamp.mp4.59b9774113fc93fcb218e8486f0f7316.mp4" type="video/mp4">
	<a class="ipsAttachLink" href="//www.prestashop.com/forums/applications/core/interface/file/attachment.php?id=329195&amp;key=d6dd6101c5df51575e816515e0e55df6">Untitled video - Made with Clipchamp.mp4</a>
</video>]]></description><guid isPermaLink="false">1092608</guid><pubDate>Tue, 19 Nov 2024 18:17:41 +0000</pubDate></item><item><title>Quantity and attribute missed match and show incorrectly in  Back Office product tab</title><link>https://forum.prestashop.com/topic/1059846-quantity-and-attribute-missed-match-and-show-incorrectly-in-back-office-product-tab/</link><description><![CDATA[<p>
	Hi All,
</p>

<p>
	Good day, I'm using Prestashop version 1.6.1.10 and currently facing the problem as below but not sure since 2 months back:
</p>

<p>
	1. the quantity display in Back Office -&gt; Product -&gt; Quantity is incorrect. (as image attached)
</p>

<p>
	2. the combination vs quantity is missed match, but the front-end website display product quantity vs attribute is look fine.
</p>

<p>
	3. the sorting of combination display also in problem, it should follow the sorting in attribute table, but the first attribute should display always become the last one. (as image attached) 
</p>

<p>
	I had tried to flush the cache, duplicate product, create new product with combination but all with same problem on the attribute (combination and quantity tab).
</p>

<p>
	Please kindly help any idea to investigate on this issues? where and what to check?
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2022_01/IMG_1902.jpg.ac24a53107fc2de58bdc94b0d8cfb829.jpg" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="284937" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2022_01/IMG_1902.thumb.jpg.e464ccd6fb973e5d200d4d1806a355be.jpg" data-ratio="57.1" width="1000" class="ipsImage ipsImage_thumbnailed" alt="IMG_1902.jpg"></a></p>]]></description><guid isPermaLink="false">1059846</guid><pubDate>Thu, 27 Jan 2022 12:02:49 +0000</pubDate></item><item><title>Unable to load template file:../public/preload.tpl in header.tpl</title><link>https://forum.prestashop.com/topic/1071273-unable-to-load-template-filepublicpreloadtpl-in-headertpl/</link><description><![CDATA[<p>
	<strong>I setting php with all extension and requirments but I have a problem as follows ...</strong>
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2022_12/Installation_Steps.jpg.a31044a10b513b29a3ba4e0c5376f321.jpg" data-fileid="300837" data-fileext="jpg" rel=""><img alt="Installation_Steps.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="300837" data-ratio="66.63" style="height:auto;" width="998" data-src="https://forum.prestashop.com/uploads/monthly_2022_12/Installation_Steps.jpg.a31044a10b513b29a3ba4e0c5376f321.jpg" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	<strong>Installing prestashop from git repo therefore the original files of the version 8.x + php7.4 and mysql 5.7. Smarty creates problems. Can anyone tell me why Smarty comes into conflict with symfony since they have decidedto use Symfony + twig?? Does Smarty need to be removed to fix the problem?? In google there aren't solutions so is better for you to explain the motivation of di error Bug after the installation provided by you.</strong>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpg" data-fileid="300835" href="//media.invisioncic.com/t336404/monthly_2022_12/smarty_tpl.jpg.09004975352af85166c67d9b65a62ccc.jpg" rel=""><img alt="smarty_tpl.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="300835" data-ratio="55.6" style="height:auto;" width="1000" data-src="https://forum.prestashop.com/uploads/monthly_2022_12/smarty_tpl.thumb.jpg.07b5c7ca62a22fc369d00c974e30587f.jpg" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">1071273</guid><pubDate>Wed, 07 Dec 2022 09:07:35 +0000</pubDate></item><item><title>Stripe official module wrong expected webhook url</title><link>https://forum.prestashop.com/topic/1086343-stripe-official-module-wrong-expected-webhook-url/</link><description><![CDATA[<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="321950" href="//media.invisioncic.com/t336404/monthly_2024_04/Screenshot2024-04-06at15-.png.ede2b2e758b5dd74f7d65d70b584ed47.png" rel=""><img alt="Screenshot2024-04-06at15-.thumb.png.4d9070fcb108a35cefb1a41dff9b17c7.png" class="ipsImage ipsImage_thumbnailed" data-fileid="321950" data-ratio="23.50" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t336404/monthly_2024_04/Screenshot2024-04-06at15-.thumb.png.4d9070fcb108a35cefb1a41dff9b17c7.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	Hello,
</p>

<p>
	After installing and configuring everything in live mode, the module Stripe Official keeps expecting and force to push the wrong webhook url :<br />
	Expected webhook URL : <span><a href="https://www.domain.module/stripe_official/webhook" rel="external nofollow">https://www.domain.module/stripe_official/webhook</a></span><br /><br />
	but it should be : <span><a href="https://www.domain.fr/module/stripe_official/webhook" rel="external nofollow">https://www.domain.fr/module/stripe_official/webhook</a></span> ; like fixed on the Stripe.com &gt; webhooks<br />
	The module wants to update to domain.module/stripe instead of domain.fr/module<br /><br />
	I tried to look everywhere, remade the webhook, update the new webhook id in the db but it keeps asking the same wrong url and unfortunately all the orders made are not created in the BO, even if the payments have been received.
</p>

<p>
	The domain of the shop on prestashop is correct btw
</p>

<p>
	<span>Shop url :https://www.domain.fr</span><span> </span><br />
	Physical url : /
</p>

<p>
	Thank you for your help.
</p>

<p>
	 
</p>

<p>
	Edit 1 : I found out the issue might be caused by this function in the file /stripe_official.php
</p>

<pre class="ipsCode prettyprint lang-php prettyprinted"><span class="com">/**
     * get webhook url of stripe_official module
     *
     * @return string
     */</span><span class="pln">
    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> getWebhookUrl</span><span class="pun">()</span><span class="pln">
    </span><span class="pun">{</span><span class="pln">
        $context </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Context</span><span class="pun">::</span><span class="pln">getContext</span><span class="pun">();</span><span class="pln">
        $locale </span><span class="pun">=</span><span class="pln"> $context</span><span class="pun">-&gt;</span><span class="pln">language</span><span class="pun">-&gt;</span><span class="pln">iso_code</span><span class="pun">;</span><span class="pln">

        $url </span><span class="pun">=</span><span class="pln"> $context</span><span class="pun">-&gt;</span><span class="pln">link</span><span class="pun">-&gt;</span><span class="pln">getModuleLink</span><span class="pun">(</span><span class="pln">
            </span><span class="str">'stripe_official'</span><span class="pun">,</span><span class="pln">
            </span><span class="str">'webhook'</span><span class="pun">,</span><span class="pln">
            </span><span class="pun">[],</span><span class="pln">
            </span><span class="kwd">true</span><span class="pun">,</span><span class="pln">
            </span><span class="kwd">null</span><span class="pun">,</span><span class="pln">
            </span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'PS_SHOP_DEFAULT'</span><span class="pun">)</span><span class="pln">
        </span><span class="pun">);</span><span class="pln">

        </span><span class="kwd">return</span><span class="pln"> str_replace</span><span class="pun">(</span><span class="pln">$locale </span><span class="pun">.</span><span class="pln"> </span><span class="str">'/'</span><span class="pun">,</span><span class="pln"> </span><span class="str">''</span><span class="pun">,</span><span class="pln"> $url</span><span class="pun">);</span><span class="pln">
    </span><span class="pun">}</span></pre>

<p>
	By changing this function by <span>: </span>
</p>

<pre class="ipsCode prettyprint lang-php prettyprinted"><span class="pln">  </span><span class="com">/**
     * get webhook url of stripe_official module
     *
     * @return string
     */</span><span class="pln">
    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> getWebhookUrl</span><span class="pun">()</span><span class="pln">
</span><span class="pun">{</span><span class="pln">
    </span><span class="kwd">return</span><span class="pln"> </span><span class="str">'https://www.domain.fr/module/stripe_official/webhook'</span><span class="pun">;</span><span class="pln">
</span><span class="pun">}</span></pre>

<p>
	Or by <span>: </span>
</p>

<pre class="ipsCode prettyprint lang-php prettyprinted"><span class="kwd">public</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> getWebhookUrl</span><span class="pun">()</span><span class="pln">
</span><span class="pun">{</span><span class="pln">
    $context </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Context</span><span class="pun">::</span><span class="pln">getContext</span><span class="pun">();</span><span class="pln">

    </span><span class="com">// Obtenir l'URL générée dynamiquement</span><span class="pln">
    $url </span><span class="pun">=</span><span class="pln"> $context</span><span class="pun">-&gt;</span><span class="pln">link</span><span class="pun">-&gt;</span><span class="pln">getModuleLink</span><span class="pun">(</span><span class="pln">
        </span><span class="str">'stripe_official'</span><span class="pun">,</span><span class="pln">
        </span><span class="str">'webhook'</span><span class="pun">,</span><span class="pln">
        </span><span class="pun">[],</span><span class="pln">
        </span><span class="kwd">true</span><span class="pun">,</span><span class="pln">
        </span><span class="kwd">null</span><span class="pun">,</span><span class="pln">
        </span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'PS_SHOP_DEFAULT'</span><span class="pun">)</span><span class="pln">
    </span><span class="pun">);</span><span class="pln">

    </span><span class="kwd">return</span><span class="pln"> $url</span><span class="pun">;</span><span class="pln">
</span><span class="pun">}</span></pre>

<p>
	I don't have the message shown in the backoffice anymore. I'm not sure if the webhook will works properly though.
</p>
]]></description><guid isPermaLink="false">1086343</guid><pubDate>Sat, 06 Apr 2024 16:31:17 +0000</pubDate></item><item><title>Langauge code allow more characters to insert</title><link>https://forum.prestashop.com/topic/1092752-langauge-code-allow-more-characters-to-insert/</link><description><![CDATA[<p>
	Hey there I am setting up store with Serbian lating language and correct one is sr-Latn-RS as Serbian has 2 letters but in language code I can insert only xx-xx. 
</p>

<p>
	Can you allow inserting more characters there in some future minor update?
</p>

<p>
	IETF regulation regarding this;
</p>

<blockquote class="ipsQuote" data-ipsquote="">
	<div class="ipsQuote_citation">
		Quote
	</div>

	<div class="ipsQuote_contents">
		<p>
			To distinguish language variants for countries, regions, or writing systems (scripts), IETF language tags combine subtags from other standards such as ISO 639, ISO 15924, ISO 3166-1 and UN M.49. For example, the tag en stands for English; es-419 for Latin American Spanish; rm-sursilv for Romansh Sursilvan; <strong>sr-Cyrl for Serbian written in Cyrillic script and sr-Latn-RS written in Latin script</strong>; nan-Hant-TW for Min Nan Chinese using traditional Han characters, as spoken in Taiwan; yue-Hant-HK for Cantonese using traditional Han characters, as spoken in Hong Kong; and gsw-u-sd-chzh for Zürich German.
		</p>
	</div>
</blockquote>

<p>
	Thank you!
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2024_11/Screenshot(22).png.a09fd1b982086a39b4c5db40ca726088.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="329390" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2024_11/Screenshot(22).thumb.png.823a3cac7a4976cc11f4100f4207c689.png" data-ratio="79" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Screenshot (22).png"></a></p>]]></description><guid isPermaLink="false">1092752</guid><pubDate>Mon, 25 Nov 2024 01:21:06 +0000</pubDate></item><item><title>Login to PrestaShop admin panel throw an error:</title><link>https://forum.prestashop.com/topic/1081802-login-to-prestashop-admin-panel-throw-an-error/</link><description><![CDATA[<p>
	while I try to login into my admin panel I get this error saying:
</p>

<p>
	Call to a member function get() on null
</p>

<p>
	in classes/controller/Controller.php (line 816)
</p>

<p>
	     *
</p>

<p>
	     * @throws Exception
</p>

<p>
	     */
</p>

<p>
	    public function get($serviceId)
</p>

<p>
	    {
</p>

<p>
	        return $this-&gt;container-&gt;get($serviceId);
</p>

<p>
	    }
</p>

<p>
	    /**
</p>

<p>
	     * Gets a parameter.
</p>

<p>
	     *
</p>

<p>
	NOTE: I hosted my prestashop site in Hostinger server.
</p>
]]></description><guid isPermaLink="false">1081802</guid><pubDate>Tue, 07 Nov 2023 23:41:43 +0000</pubDate></item><item><title>Pagination problem on 8.1.4 with productsv2</title><link>https://forum.prestashop.com/topic/1092594-pagination-problem-on-814-with-productsv2/</link><description><![CDATA[<p>
	Hello everyone,
</p>

<p>
	I'm struggling with a pagination issue in PrestaShop. When I enable the new Products v2 feature (via the admin panel), the page attempts to render all 40,000 products at once (that's the number of products I have). Pagination seems to be completely disabled.
</p>

<p>
	Here’s what I’ve tried so far:
</p>

<p>
	Cleared the cache.
</p>

<p>
	Replaced AdminController.php and AdminProductsController.php with the latest versions from GitHub.
</p>

<p>
	Disabled all modules.
</p>

<p>
	I’ve taken many more steps, but it’s hard to keep track of everything as I’ve been troubleshooting continuously. Each time something doesn’t work, I immediately roll back the changes to avoid causing additional issues.
</p>

<p>
	Unfortunately, none of these efforts have resolved the problem. The page keeps loading products until the browser throws an "out of memory" error.
</p>

<p>
	Does anyone have any suggestions on where else I could look to troubleshoot or resolve this issue?
</p>

<p>
	Thanks in advance!
</p>
]]></description><guid isPermaLink="false">1092594</guid><pubDate>Tue, 19 Nov 2024 14:15:26 +0000</pubDate></item></channel></rss>
