Cannot read property 'id' of undefined
TypeError: Cannot read property 'id' of undefined
    at Function.module.exports../pages/autor/[autor].js.Autor.getInitialProps (/home/po/proyecto/demopop/pop/.next/server/static/development/pages/autor/[autor].js:3444:30)
    at process._tickCallback (internal/process/next_tick.js:68:7)