PrestaSharp icon indicating copy to clipboard operation
PrestaSharp copied to clipboard

El objeto que acepta valores Null debe tener un valor

Open miguelextremanet opened this issue 5 years ago • 9 comments

I have 1.7.5.2 prestashop version and Prestasharp 1.0.5

Please is urgent ! anybody knows what is happening ?? I cant create products, always appear the same error "El objeto que acepta valores Null debe tener un valor"

miguelextremanet avatar Jul 24 '19 17:07 miguelextremanet

Miguel, I think that we have already opened the same issue in #365 and #369

albertg5 avatar Aug 14 '19 09:08 albertg5

I have the same problem with one shop. Version 1.6.1.24 prestashop version and Prestasharp 1.1.0 in both shop online. (shop's in diferent domains) In on shop works, in other shop gave the error "El objeto que acepta valores Null debe tener un valor" Any idea?

PHonorato avatar May 15 '20 14:05 PHonorato

I have 1.7.5.2 prestashop version and Prestasharp 1.0.5

Please is urgent ! anybody knows what is happening ?? I cant create products, always appear the same error "El objeto que acepta valores Null debe tener un valor"

I had the same problem:

  1. see attach and check "fiendly url"
  2. check if your url prestashop web is https: or http: and https://www.mywebsite.whatever or https://mywebsite.whatever

117590483_10157640012813284_8926029641709409234_n

infosteo avatar Aug 11 '20 16:08 infosteo

Good evening, miguelextremanet, did you finally solve the problem? I have been using the Prestasharp library for months in a XAMPP-based prestashop installation under windows. In this scenario the library worked correctly.

However, when going to a prestashop installation based on ubuntu, the execution of that library returns the same error that you reported.

I think this is a ubuntu configuration problem, but I can't find the cause.

Can you help me?

Greetings and thanks.

eddyjces avatar May 13 '21 21:05 eddyjces

No sorry, Its impossible to know what is happening, also developer never answer with a possible solution about that. I have been doing changes for a while in .httaccess, in php server, even I have reinstalled SSL certificate, also I tried to downgrade prestashop version, reinstall different version etc , but I was not able to find any solution. In fact I have four web at the same server , with exactly the same configurations and , error its shown only in one of them, but not in others. I am tired also I am bored trying to find a solution about it so I'm using Prestashop API directly. regards and luck !

miguelextremanet avatar May 14 '21 06:05 miguelextremanet

Good afternoon Miguel Angel, I think I have good news. My intention is to maintain integrity between my business management software and prestashop within the same local network. Until now I had tried to access the API from C # under Prestasharp using my web access domain / api as an endpoint, and in those circumstances I was getting the error that takes us head over heels. So I had a moment of inspiration and I changed the call by replacing the domain with the name of the machine in the previous url. Then the miracle has occurred ... try this option to see if you are lucky ...

eddyjces avatar May 14 '21 16:05 eddyjces

Thanks for your suggestion, the problem is that I have many websites (differente domains) in the same machine. Iwill try it anyway. MANY THANKS

miguelextremanet avatar May 14 '21 16:05 miguelextremanet

En nuestro caso, tras migrar de un servidor a otro , dejó de funcionar solo los ADD. El resto iba bien. Pensamos en la versión del MySql, del php, etc. LA versión de PHP influia en otro error que solucionamos poniendo la misma que en el servidor original. PERO, LA SOLUCIÓN (the solution) fué cambiar la ruta a HTTPS en lugar de HTTP.

I only change HTTP by HTTPS and solved.

ghost avatar Sep 10 '21 08:09 ghost

Nuevamente informo del error, en este caso, el problema ha sido al quitar las www.dominio.com Ahora es dominio.com

remove or add www to domain name

ghost avatar Jun 28 '22 09:06 ghost