Ad
  • Custom User Avatar
  • Custom User Avatar

    The error is telling you exactly what's wrong. You can't call list() on a number, because that's what the input is: a number.
    Chances are when you "test it yourself", you're testing it with something like "1234", which is a string, not a number.