diff --git a/lib/router/metatag.js b/lib/router/metatag.js
index <HASH>..<HASH> 100644
--- a/lib/router/metatag.js
+++ b/lib/router/metatag.js
@@ -70,7 +70,7 @@ module.exports = {
           '" />';
         }
 
-        if (res.locals.data.avatar) {
+        if (res.locals.data.avatar && res.locals.data.avatar[0]) {
           var img = res.locals.data.avatar[0];
 
           res.locals.metatag +=
add check to skip error in user image metatag without avatar