I have setup chevrons to links to the previous and next posts. It seems to work for all but a handful of posts. Those posts generate the following template error:

> 
> Impossible to access an attribute ("url") on a null variable
> 
> 
> 

```
        <p class="post-meta">
            {% set prev = entry.getPrev( 'posts' ) %}
            {% set next = entry.getNext( 'posts' ) %}

        <!-- previous post -->
        <span><a href="{{ prev.url }}"><i class="fa fa-chevron-left" aria-hidden="true"></i></a></span>
        <!--date of post -->
        <span>{{ entry.postDate | date('F d, Y') }} </span> 
        <!-- next post -->
        <span><a href="{{ next.url }}"><i class="fa fa-chevron-right" aria-hidden="true"></i></a></span>
    </p>

```

The specific line the template error references is

`<span><a href="{{ prev.url }}"><i class="fa fa-chevron-left" aria-hidden="true"></i></a></span>`

There are previous entries to access. 

Thanks