You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I'm working on an migration script to import my posts and comments from Google Blogger to Grav. Everything working fine, the comments are also rendered normally on the live pages.
But when try to view the latest comments on "localhost/grav/admin/comments/", I get an error like this: "Call to a member function getTimestamp() on boolean".
The comment.yaml files are imported like this:
title: 'Xposed Installer APK Fix Android 4.4.4 by Solarwarez Application Download'
lang: false
comments:
- {"text":"gan saya pake cyanogenMod 12.1 beta cocoknya pake xposed installer apa","date":"2016-03-30T03:31:10.200+07:00","author":"Hendry Wijayanto","email":"[email protected]","uri":"https://www.blogger.com/profile/16304488146178401806"}
- {"text":"Hmm... Kalo gak salah ada xposed khusus buat Android Lollipop, cari aja di repo.xposed.info","date":"2016-03-30T11:41:36.355+07:00","author":"iday raD","email":"[email protected]","uri":"https://www.blogger.com/profile/13765705053643369839"}
- {"text":"ok makasih gan.blognya bagus selalu update","date":"2016-03-31T02:12:50.493+07:00","author":"Hendry Wijayanto","email":"[email protected]","uri":"https://www.blogger.com/profile/16304488146178401806"}
The text was updated successfully, but these errors were encountered:
It seems I have to convert the Date to the exact format like showed on the error line 308 above, including leading '0': D, d M Y H:i:s. Well, this is confusing for me because the old date format is fine and interpretted correctly as date value in page frontmatter 😁
This fixes it:
title: 'Xposed Installer APK Fix Android 4.4.4 by Solarwarez Application Download'
lang: false
comments:
- {"text":"gan saya pake cyanogenMod 12.1 beta cocoknya pake xposed installer apa","date":"Wed, 30 March 2016 03:31:10","author":"Hendry Wijayanto","email":"[email protected]","uri":"https://www.blogger.com/profile/16304488146178401806"}
- {"text":"Hmm... Kalo gak salah ada xposed khusus buat Android Lollipop, cari aja di repo.xposed.info","date":"Wed, 30 March 2016 11:41:36","author":"iday raD","email":"[email protected]","uri":"https://www.blogger.com/profile/13765705053643369839"}
- {"text":"ok makasih gan.blognya bagus selalu update","date":"Thu, 31 March 2016 02:12:50","author":"Hendry Wijayanto","email":"[email protected]","uri":"https://www.blogger.com/profile/16304488146178401806"}
Hello. I'm working on an migration script to import my posts and comments from Google Blogger to Grav. Everything working fine, the comments are also rendered normally on the live pages.
But when try to view the latest comments on "localhost/grav/admin/comments/", I get an error like this: "Call to a member function getTimestamp() on boolean".
The comment.yaml files are imported like this:
The text was updated successfully, but these errors were encountered: