Skip to content

Cache data presented as String and not Array #55

@Krayt1x

Description

@Krayt1x

I apologies firstly as i am quite new to JSON

When i run the following line the first time with DECODE_ENABLED = TRUE;
$getGame = $testCache->getCurrentGame($summoner_id,OC1);
var_dump ($getGame);

It returns an array, but if i go and refresh the page it will return it as a string.

If i do the same thing again with DECODE_ENABLED = FALSE;
it returns a string both times.

Am i missing an option to decode from cache somewhere or am i making a silly mistake?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions