I'm getting this warning when I try to print an array:
Warning: array_values() expects parameter 1 to be array, object given...
This is my code:
$array = $page->get("planos");
print_r(array_values($array));
I've always thought that $page->get will give you an array, but I'm not so sure now.
Thanks for any help.