Board Thread:Support Requests - Getting Technical/@comment-3361105-20160404210424

I have a template that uses a bunch of math to prevent a category from being added if a given date is within a certain distance of the current date.

So, say, if the given date was yesterday, it wouldn't add the category, but if the given date was three months ago, it would.

Note that the input is actually a pagename, and a dpl function pulls the date from that page.

I'm running into problems with a few things:
 * Most pages that should NOT be categorized will output "unexpected < operator" error, even though when I just replace with the given pagename in the template code, it works fine. (If they should be categorized, it just works).
 * Unlike the example above, the template works fine on pages for video games, UNLESS it's used within the video game page-template, where it produces the same error.

Maybe a string is too long? It's driving me nuts. 