Fatal Error Called Undefined function

vintageadult

Regular Member
Joined
Nov 28, 2014
Messages
221
Reaction score
5
I got this error on this page: http://www.vintagepornbay.com/premium-membership/
The error code says:
Code:
Fatal error: Call to undefined function the_comments_navigation() in/home/****/public_html/wp-content/themes/twentysixteen-child/comments.php on line49

Why is this happens only for the above page?
How to fix it?

Thanks..

Using: Twentysixteen theme
 
Looks like you have been editing the main functions.php file, do it in a child theme not main theme files as when there is a update everything will be overridden
to create a child theme make a folder and call it the same as your theme, something like twenty sixteen-child for example.
now make a .css file and add this to it changing to match your theme
/*
Theme Name: Twenty Sixteen Child Theme
Version: 0.1
Template: twentysixteen
*/
Save to the child theme folder, you now have a child theme for your site and you can modify php pages using that.
 
Last edited:
Back
Top