Laravel eloquent skip method

Solution:

Looks like you’re trying to use skip() on a collection.

Try this instead:

$account->posts()->skip($page * 5)->take(5);

Or:

Account::with(['posts' => function($q) {
    $q->skip($page * 5)->take(5);
}])->get();