Troubleshooting //
JetEngine Profile Builder: 3 Things to Check with Account Page Issue

JetEngine Profile Builder: 3 Things to Check with Account Page Issue

Question

When I edit a post via the form on the Account Page, the post is not updated. Instead of it, a new one is created, and the Account Page is deleted. How to fix it?

Answer

When you have some issues with the User Profile Builder, there are three things that you can check in the JetEngine plugin settings.

Check the Profile Builder settings.

Proceed to the JetEngine > Profile Builder > Pages tab and check if you selected the “Content” option in the Template mode settings.

With the active Rewrite option, the content is displayed automatically, and you cannot edit it. If you try, you can get the error message: “Content is not found.”

The Content option means you’ll need to use the Profile Content widget on your Account or User page to display the content from needed templates. Then you can customize the page.

jetengine user profile page settings

Check the form for adding new posts/users, etc.

The new post addition form doesn’t need the hidden post_id field inside so that you can delete it. If you decide to keep it, don’t select any field as post_id in the Fields Map tab of the Insert/Update Post post-submit action, as it’s shown on the screenshot.

post-submit action settings in the post addition form

Check the form for editing posts/users, etc.

The hidden post_id field is Required for the editing form. Select the “URL Query Variable” Field Value option and enter “_post_id” as Query variable key (the macro is _post_id=%current_id%).

hidden field post_id in jetengine form

For the data to be re-written, we need to enable the Pre-set form field values. Select the Source, choose “URL Query Variable” as the Get post ID from option, and enter “_post_id” as Query variable key. Pick “Post ID” in the post_id field and set the remaining fields in the Fields Map tab.

pre-set form field values

And then check the Insert/Update Post post-submit action. There should be chosen “Post ID (will update post)” as the post_id field.

Also, you can go through this guide to get more information about your issue.

Was this article helpful?
YesNo
Still need help?
Submit a request