Jump to content

Setting up the comment section.


paulb
 Share

Recommended Posts

Hello,

I recently started making a blog using Processwire and since i'm completely new, I struggle with a few things.
I'm trying to make a comment section in my blog post, so I followed the tutorial and pasted the two code lines in my template.

18		echo $page->comments->render(); 
19	 	echo $page->comments->renderForm(); 

 

but now I have this error on my page :

Error: Call to a member function render() on null (line 18 of C:\wamp64\www\processwire\site\assets\cache\FileCompiler\site\templates\Post.php) 

 

Am I missing something?

Thanks for your help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...