New Posts for CPT from Front End – Errors and Problems
-
In continuation of my testing of CPT Tables, here’s a new experience of trouble that I wish to bring to your attention and possible fix.
- Local install, with test content.
- CPTs and Custom Fields created with ACF.
- CPT Tables successful migration of CPT to own DB tables.
- Frontend form created with ACF Extended plugin.
- Logged-in as Subscriber from front-end –> filled in CPT form there –> submitted form.
- Successful submission, zero errors.
- Back to backend as Admin.
- No post found on backend under CPT menu
- Post instead found under Posts (standard) menu
- Zero custom field content inside post.
- Even post title simply reads Post and not the title published from the front-end form.
- CPT DB table had zero entrries of submitted form from frontend
- wp_post had entry for submission, but wp_post_meta had zero entry.
- Repeated the test even as admin user from front-end, same result. A total of 7 repeat submissions, same result.
- Absence of errors displayed made things messy.
- Finally, went to CPT Tables Settings and REVERTED the CPT table. This reset the destination of content for the CPT under wp_post and wp_post-meta
- Repeated the front-end submission again. This time, the submission worked successfully, producing complete capture of submitted content. All custom field content and CPT Title field were successfully captured. All inside wp_post and wp_post_meta.
- BTW, with CPT Tables migrated –> Admin user –> from backend –> create CPT content –> SUCCESS –> data captured inside wp_cpt and wp_cpt_meta.
- It is observed that ONLY submissions from front-end for migrated CPT Tables gave the above abnormal observation.
Perhaps you would be able to guess where the issue is and trouble-shoot any bug that may exist? Request you to kindly advise a solution.
Thanks in advance.
Vy
PS: Due to several screenshots to showcase, I have not added them – instead tried to give you a step-by-step narration of the problems experienced. Hopefully this provides you adequate inputs to reproduce and debug?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘New Posts for CPT from Front End – Errors and Problems’ is closed to new replies.