Error creating new Pages (ProcessBlog)

Recommended Posts

Hi, i'm using ProcessBlog to configure a news section in my site. I used it, to have a look inside pages configuration and learn something new.
Now, i disable the ProcessBlog interface and i use just the Processwire Tree, mantaining posts, categories, etc...

Everything works perfectly (i always cloned the first blog page i created, to test the site), but now when i create a new blog post from the PW tree, i get this admin notice:

ProcessPageAdd: Can't save field from a new page - please save the entire page first

Weird! I had a look inside the processblog module (it's still active), but i haven't find any useful hook...
Do you think is processblog related? (i think so, because all the other templates work properly).
Maybe is just a page/template configuration, or i have to look inside the code?

Tracy Debug is active. How can i see where this notice starts?

Share this post

Link to post
Share on other sites

That message comes from within PagesEditor::saveField. The only place in the blog module that I am aware of that calls save() on a single page field is in BlogPublishDate. You could try and uninstall that one temporarily to see if it is indeed the culprit. If the error still persists, it's probably triggered by another module or hook.

Share this post

Link to post
Share on other sites

you're right. I've already uninstalled that module, but the problem persists...

How can i start to debug that error? How can i see where that admin notice has been originated?

Share this post

Link to post
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

  • Recently Browsing   0 members

    No registered users viewing this page.