Solution:
Looks like you’re trying to use skip() on a collection.
skip()
Try this instead:
$account->posts()->skip($page * 5)->take(5);
Or:
Account::with(['posts' => function($q) { $q->skip($page * 5)->take(5); }])->get();