Closed tchauviere closed 9 years ago
Could you tell me which setting you enabled in order to display warnings (defines.inc.php or php.ini or something else)? Thx
defines.inc.php: _PS_MODEDEV set to true (begining of file) and php.ini : error_reporting = E_ALL
should do the trick
OK thx, we never really looked at all the PHP warnings. Should we try to get rid of all of them?
Yes please, from what I could catch while reviewing your latest version, beside the one I mention above, none were thrown :)
OK, latest release should have solved it.
Fixed!
Hi @Stigmi,
It seems I did reproduce this warning on 1.6.0.11 with Home Delivery bpost carrier used:
[26-Feb-2015 11:13:26 Europe/Paris] PHP Notice: Undefined index: company in /Users/tchauviere/www/prestashop_16011/modules/bpostshm/classes/Service.php on line 318
Hi @tchauviere Could you send us what was the full address used for this order? Do you know what has changed since your previous test? We'll have a look right now. Thx
Hi @Stigmi,
I used the default address of John DOE user which is a Parisian one. But I also forced Home Delivery carrier to accept French address. Maybe is this the cause ?
I'll try with a Belgian one and get back to you ASAP
OK thx, that's enough information, thx @home delivery method combines two methods: BE and international. Il looks like international was not yet fixed
Warning has now been suppressed. Thank you.
Fixed!
Hi @Stigmi,
When I validate my order, two little php warnings come to my error log, here they are :