Hi, I'm new and I have this 500 error in the BO,
I was on the BO side in the module manager section and I was configuring the modules when I finished configuring I realized that the module manager section had an internal 500 error on "alerts" and "updates". If you enable debugging and click on "alerts" and "updates" the page returns to work, if you disable debugging the page returns to error 500,
does anyone know why?
I checked in the server logs they gave me this information that pulls too much for me I don't know what you're talking about, I put it in attachment so that I can see
Explain what you expected to happen instead.
Steps to reproduce the behavior:
Screenshots
Hi @Pierpaolo-Petros,
I did not manage to reproduce the issue with PS1.7.6.4.
I attached a screen record
https://drive.google.com/file/d/15m8WzmjWiqrn7JFeYnEr8zISm-vKOKc3/view?usp=sharing
Could you please provide us with more info? We need more details to understand how we can reproduce your issue:
Don't you know how to get this information? Please read the following article:
http://build.prestashop.com/howtos/misc/how-to-create-bug-report/
Thanks!
scusami ora ho letto ero impegnato, grazie della risposta, leggo l'articolo da te fornito e ti rispondo
Salve e grazie del aiuto, spero di darti pi霉 informazioni possibili.
uso server Vhosting
Versione Prestashop 1.7.6.4
ecco i log del server
configurazione php
informazione da prestashop
video del debug
https://drive.google.com/file/d/1pZf8OGwoVkBVfDIMxmUHTpMoQSIlqJVM/view?usp=sharing
Grazie di tutto
Hi @Pierpaolo-Petros,
What is the exact module did you try to translate it, is it provided by PrestaShop?
This issue is different from the first comment, is it?
Thanks!
Grazie a te. @khouloudbelguith
Si e diverso il primo lo risolto tramite il provider del server.
Dopo la risoluzione di questo problema ho fatto un check del BO e ho riscontrato quest'altro errore 500 nella traduzione dei moduli, tutti i moduli mi capita questo error 500,
ho fatto delle ricerche e forse sono riuscito a trovare la soluzione ma essendo alle prime esperienze non vorrei modificare il codice. sto valutando come risolvere, ti metto il link di ci貌 che ho trovato, dammi riscontro.
https://github.com/PrestaShop/PrestaShop/pull/15871
Cosa mi Consigli, Grazie!!!
Hi @Pierpaolo-Petros,
Please, send your request in English.
English is the norm on the GitHub
Thank you!
HI @khouloudbelguith
Sorry I'm new, but I'm a fast learner.
Thanks for the support.
Yes and different the first is solved through the server provider.
After solving this problem I did a BO check and found this other error 500 in the translation of the modules, of all the modules I found error 500,
I've done some research and maybe I found the solution but being at the first experiences I don't want to modify the code. I'm considering how to solve it, I'll put you the link of what I found, give me feedback.
https://github.com/PrestaShop/PrestaShop/pull/15871
Hi @Pierpaolo-Petros Could you check your PHP logs that are store on the server?
The 500 error is a generic status saying the server has a problem, we need the exact error to understand what happened and help you finding a solution.
Hi @PierreRambaud, Thanks a lot, see if that's okay?
I'm waiting for your feedback
Hi @PierreRambaud, Thanks a lot, see if that's okay?
I'm waiting for your feedback
We need to server log / php log, this one doesn't contains information relative to the error.
hi
Ciao @PierreRambaud , grazie mille, vedi se va bene?
Sto aspettando il tuo feedback
Abbiamo bisogno di server log / php log, questo non contiene informazioni relative all'errore.
Thanks for your answer,
I'm not very practical, but I'm committed.
I didn't have the php logs, I had them activated by my provider and I did some tests on the '500 error' since the file was new.
I see two redundant errors in your logs:
[2020-04-25 13:32:45] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Call to a member function isUsingNewTranslationSystem() on null" at /data/vhosts/farmahope.\
it/httpdocs/farmahope/src/Adapter/Translations/TranslationRouteFinder.php line 208 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to a member function isUsingNe\
wTranslationSystem() on null at /data/vhosts/farmahope.it/httpdocs/farmahope/src/Adapter/Translations/TranslationRouteFinder.php:208)"} []
[2020-04-27 20:19:50] request.CRITICAL: Uncaught PHP Exception SoapFault: "Could not connect to host" at /data/vhosts/farmahope.it/httpdocs/farmahope/modules/farmadatimulti/classes/FarmaDatiAPI.php line 999 {"e\
xception":"[object] (SoapFault(code: 0): Could not connect to host at /data/vhosts/farmahope.it/httpdocs/farmahope/modules/farmadatimulti/classes/FarmaDatiAPI.php:999)"} []
Can you try to disable your farmadatimulti
module?
Vedo due errori ridondanti nei tuoi registri:
[2020-04-25 13:32:45] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Call to a member function isUsingNewTranslationSystem() on null" at /data/vhosts/farmahope.\ it/httpdocs/farmahope/src/Adapter/Translations/TranslationRouteFinder.php line 208 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to a member function isUsingNe\ wTranslationSystem() on null at /data/vhosts/farmahope.it/httpdocs/farmahope/src/Adapter/Translations/TranslationRouteFinder.php:208)"} [] [2020-04-27 20:19:50] request.CRITICAL: Uncaught PHP Exception SoapFault: "Could not connect to host" at /data/vhosts/farmahope.it/httpdocs/farmahope/modules/farmadatimulti/classes/FarmaDatiAPI.php line 999 {"e\ xception":"[object] (SoapFault(code: 0): Could not connect to host at /data/vhosts/farmahope.it/httpdocs/farmahope/modules/farmadatimulti/classes/FarmaDatiAPI.php:999)"} []
Puoi provare a disabilitare il tuo
farmadatimulti
modulo?
Of course I can disable it, but this module acts as a filter for drugs, i.e. it allows me to upload through 'misan' code the drugs that can be sold online.
I can disable it, test it, and update you.
Thank you very much
I deactivated the pharmacology module, but the translation of the forms has always been "error 500".
I emailed the developer of the farmadati module, with you indications of the critical error of the API.
How you can fix this:
[2020-04-25 13:32:45] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Call to a member function isUsingNewTranslationSystem() on null" at /data/vhosts/farmahope.\
it/httpdocs/farmahope/src/Adapter/Translations/TranslationRouteFinder.php line 208 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to a member function isUsingNe\
wTranslationSystem() on null at /data/vhosts/farmahope.it/httpdocs/farmahope/src/Adapter/Translations/TranslationRouteFinder.php:208)"}
@PrestaShop/prestashop-product-team Did you already see the problem? I'm not able to reproduce :/
Hi @PierreRambaud @Pierpaolo-Petros @khouloudbelguith
This can happen when modules using the new translation system return unexpected values
Could related to : https://github.com/PrestaShop/PrestaShop/pull/15871
See here (how you can reproduce ): https://github.com/PrestaShop/PrestaShop/pull/15871#issuecomment-540955173
Thanks
@PrestaShop/prestashop-product-team Did you already see the problem? I'm not able to reproduce :/
Absolutely not, @PierreRambaud as you didn't reproduced the issue, I close it
Hi @PierreRambaud @Pierpaolo-Petros @khouloudbelguith
This can happen when modules using the new translation system return unexpected values
Could related to : #15871
See here (how you can reproduce ): #15871 (comment)Thanks
Hello guys, @PierreRambaud @PululuK @khouloudbelguith
I made the changes you recommended in the related to: # 15871, although I am not practical but with a little calm I did it, now it does the callback, this however has not solved the problem, now it tells me that all the modules they do not exist, I am not a programmer but it is as if we were missing a file that locates these modules and therefore declares them non-existent. I tried to play the video at this link:
https://drive.google.com/file/d/17flm4-xHoBJ-fuLGHdaJlehwRP67JrIR/view?usp=sharing
Regardless, thank you for your support
Hi @Pierpaolo-Petros
I found a lead. But you must first assure me that you have a development platform! (I advise you not to test anything directly in production)