Jump to content
pandaman

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...