Jump to content

Error modification/add product/s "Unable to update settings."


Nisba

Recommended Posts

Hi Everyone, 
 

Since few days i got "Unable to update settings." for all my products, even when i create a new one ( he actually create one but i still got this error). I have read  a lot of topics but no one fix it, i really dont know  how to solve this.. i hope that someone could help me.

That's what i tryed: 
-Eneble debug mode
-Disable override
-Disable external plug-in
-Clear cache
-Regenerate chace

-Downgrade PHP form 7.3.18 -> to PHP 7.2.30
But i still got the same error...
Ill link some shots of what i got from debug mode and same usefull infos

PrestaShop1.7.6.5

SymfonyRead Symfony 3.4.26 Docs

PHP version7.3.18   

max_execution_time

120

max_input_time

120

memory_limit

768M

post_max_size

128M

ResourcesRead PrestaShop 1.7.6.5 Docs

info.thumb.png.57f564974c09d4d937ac11ecd459afda.png

Where the error came form:

info2.thumb.png.5cd3d028ae901f856d4dd06986ecc101.png

info3.thumb.png.ad7c2a704b7de93552b3fdc8fa775ef5.png

Got error even here (dont know if related but i post it anyways)

Entities Mapping

PrestaShopBundle\Entity\Tab

The association PrestaShopBundle\Entity\Tab#tabLangs refers to the owning side field PrestaShopBundle\Entity\TabLang#tab which does not exist.

 

PrestaShopBundle\Entity\TabLang

The mappings PrestaShopBundle\Entity\TabLang#id and PrestaShopBundle\Entity\Tab#tabLangs are inconsistent with each other.

Edited by Nisba (see edit history)
Link to comment
Share on other sites

  • 9 months later...

Github fixI found the solution for anyone else having this error in debug mode. It did not fix my overall problem, but now the error is gone in debug. 

 

src/PrestaShopBundle/Entity/Tab.php 

@@ -109,7 +109,7 @@ class Tab

private $icon;

 

/**

* @ORM\OneToMany(targetEntity="PrestaShopBundle\Entity\TabLang", mappedBy="tab")

Quote

* @ORM\OneToMany(targetEntity="PrestaShopBundle\Entity\TabLang", mappedBy="id") 

*/

private $tabLangs;

 

 

 

 

 

Edited by pinwheel (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...