You are right! Talk about a simple mistake. /*
instead of */
in the closing comment. Took me a while to debug it.
@irkode true! I spent close to 40 minutes on it. lol. (That section of your code Error: Can't evaluate field RelPermalink in type string - #2 by irkode was throwing warnings for draft posts. Hence the need to comment it out and only use it when necessary).