Jump to content

Edit History

tomboul

tomboul

J'ai eu cette erreur et j'ai modifié le fichier php modules/pasaddonconnect/psaddoxconnect.php à la ligne 218 comme ceci :
 

if (!empty($api_json)) {
   $advice = $api_json->advice;
   $link_advice = $api_json->link;
}
// else setting empty to this two variable
else {
   $advice = "";
   $link_advice = "";
}

 

tomboul

tomboul

i had this error and i modify the php file modules/pasaddonconnect/psaddoxconnect.php at line 218 like this :
 

if (!empty($api_json)) {
   $advice = $api_json->advice;
   $link_advice = $api_json->link;
}
// else setting empty to this two variable
else {
   $advice = "";
   $link_advice = "";
}

the php was trying to read this unsetting variable because  $api_json was empty

tomboul

tomboul

i had this error and i modify the php file modules/pasaddonconnect/psaddoxconnect.php at line 218 like this :
 

// at line 219 in modules/pasaddonconnect/psaddoxconnect.php
if (!empty($api_json)) {
   $advice = $api_json->advice;
   $link_advice = $api_json->link;
}
// else setting empty to this two variable
else {
   $advice = "";
   $link_advice = "";
}

the php was trying to read this unsetting variable because  $api_json was empty

tomboul

tomboul

i had this error and i modify the php file modules/pasaddonconnect/psaddoxconnect.php at line 219 like this :
 

// at line 219 in modules/pasaddonconnect/psaddoxconnect.php
if (!empty($api_json)) {
   $advice = $api_json->advice;
   $link_advice = $api_json->link;
}
// else setting empty to this two variable
else {
   $advice = "";
   $link_advice = "";
}

the php was trying to read this unsetting variable because  $api_json was empty

tomboul

tomboul

i had this error and i modify the php file modules/pasaddonconnect/psaddoxconnect.php at line 219 like this :
 

// at line 219 in modules/pasaddonconnect/psaddoxconnect.php
if (!empty($api_json)) {
   $advice = $api_json->advice;
   $link_advice = $api_json->link;
}
// else add info in this two variable
else {
   $advice = "";
   $link_advice = "";
}

the php was trying to read this unsetting variable because  $api_json was empty

tomboul

tomboul

i had this error and i modify the php file modules/pasaddonconnect/psaddoxconnect.php at line 219 like this :
 

// at line 219 in modules/pasaddonconnect/psaddoxconnect.php
if (!empty($api_json)) {
   $advice = $api_json->advice;
   $link_advice = $api_json->link;
}
// else add info in this two variable
else {
   $advice = "unknown";
   $link_advice = "no link";
}

 

×
×
  • Create New...