Jump to content

Edit History

bloggus

bloggus

I found out that this part of the module gives me a problem during installation:

 $response = json_decode($json);

 if (is_null($response) && json_last_error() !== JSON_ERROR_NONE) {
     $response = $json;
 }

Mainly this part

$response = $json;

 

If I remove that single line, I can install the module. I put it in again, since it is need for the check of json later on.

I just don't get why this snippet is giving install problems? Escpecially Override conflicts.

bloggus

bloggus

I found out that this part of the module gives me a problem during installation:

 $response = json_decode($json);

 if (is_null($response) && json_last_error() !== JSON_ERROR_NONE) {
     $response = $json;
 }

Mainly this part

$response = $json;

 

If I remove it, I can install the module. I put it in again, since it is need for the check of json later on.

I just don't get why this snippet is giving install problems?

bloggus

bloggus

I found out that this part of the module gives me a problem during installation:

 if (is_null($response) && json_last_error() !== JSON_ERROR_NONE) {
     $response = $json;
 }

If I remove it, I can install the module. I put it in again, since it is need for the check of json later on.

I just don't get why this snippet is giving install problems?

×
×
  • Create New...