Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
How do you know it’s not a problem with your “premium template”?
because it does the same thing in twenty series templates – you know, the first thing one checks.
I would suggest learning how to handle debugging in WordPress. You shouldn’t ever be showing error data to end users. But you should have it enabled in your development environment so you can more quickly resolve issues.
https://codex.wordpress.org/Debugging_in_WordPress
The most likely problem here is your custom template is calling functions that aren’t defined. This can happen if, for example, you copy/paste a twentyfourteen template into your current theme, but forget to also include all of the theme-specific helper functions that the theme template uses. For example, if I copy twentyfourteen/page-templates/content-page.php into my current theme (something other than twentyfourteen), and try to use that theme template anywhere, it will cause the following error:
Call to undefined function twentyfourteen_list_authors()
That’s simply because you didn’t include that function in your current theme (it’s defined in twentyfourteen/functions.php).