Skip Navigation

[Resolved] Post Types turn into CRED Auto, modules stopped populating

This support ticket is created 4 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 8 replies, has 2 voices.

Last updated by Luo Yang 4 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#1878809
Screen Shot 2020-12-16 at 9.48.58 PM.png
Screen Shot 2020-12-16 at 9.48.42 PM.png
Screen Shot 2020-12-16 at 9.38.03 PM.png

I am trying to:
Register a client to a specific SKU number set as a "registration survey" post type, stop that sku number from being used again, and populate user information into the registration survey post type.

Link to a page where the issue can be seen:
Front end appears normal to user. If you register as a client and go through registration, I'll change your admin status after. Two email addresses would work better for testing, with as an admin one as a subscriber role. If all works as it should, the registration surveys can be exported into a CSV with all fields populating.

I expected to see:
There are two sites with the almost the same build (one uses Woo, but that function tests fine). Both sites worked last week. Both use same user registration system, product kit linking and product kit updating.

Toolset > User form > TruMe User Registration
used to register a user on the site. This generates a user ID number for each client. Client role set to Customer.

Client registers a product kit next using a sku number. SKU numbers listed under post type "Test Kits". Test Kit Post titles is Test Kit #[types field='test-kit-id'][/types]

Content Templates > Loop item in Search Kit ID to Register Kit
simple template to show kit ID and register it to client account. Connected to module >Search and Register
This Content Template is used as the loop block for the View > Search Kit ID to Register TruMe Test Kit.

Once the kit is selected on user end, it should update the post type "Test Kits" from unregistered to registered, and restrict other users from choosing the same post type (test Kit SKU). Unbroken site still works. On the broken site now, when a kit is registered, the post type does not update the registration status, but does update the the post to restrict others from using it. The post type for registration surveys turns into a CRED Auto Draft f8c2adf435f0dde2db20b657105d3015.

Several categories not populating to registration survey :
sample collection date (Test Kit Details Module), USER ID, registration status (Test Kit Details Module), Lab results status, chronological age, and brand categories .

Under post type > Registration Surveys
Registration survey test kit module should auto link to the registration survey post when user registers a SKU. This stopped populating.

If you manually update the registration survey to reflect status as registered, the test kit post title is updated to remove the SKU number instead of just updating the status.

Instead, I got:
These are two sites with the almost the same build (one uses Woo, but that function is fine). Both sites worked last week. Page builder is Elementor. The non-working website recently required me to turn off all plugins except elementor, then turn them on (the widget dashboard had a spinning cycle that would not quit, conflict with toolset I was told, SS enclosed). Once that was completed, Elementor worked on the pages, but my toolset relationships stopped working. So now I have one site that I cannot edit pages on, but the registration is flawless, and another I can edit pages, but the toolsets broke.

To note: Duplicator doesn't do multi-sites . Site is too big also. But the program there if you would like to try it? Ignore the multisite set up. I picked this site up from another developer who did not set the multi up right., doesn't impact how the forms function. I did copy the sql and backup from the working site - helps maybe?

If you log on to test, please use a test kit with only four numbers ex: Test Kit #1402 - they are on the very last page (page 52) 🙂

#1879093

Hello,

According to your description, are you using custom codes to do these:

it should update the post type "Test Kits" from unregistered to registered, and restrict other users from choosing the same post type (test Kit SKU).

If it is, it might be broken in the "The non-working website", did you get any PHP/JS debug logs?
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

I have tried the credentials you provided above, it is not valid, I get these error message:
ERROR: The password you entered for the username yaytoolset is incorrect.

Please provide a valid admin account of broken site, and also point out these:
- The problem page URL and form URL,
- Where I can edit your custom PHP codes,

I need to test and debug it in a live website, private message box enabled, thanks

#1879301
#1879411

I was able to use the debugging log to resolve most of the issues.
Remaining:
Under toolset, post forms, Registration Survey 1, the submit action is not working. It is creating the proper post "Registration Suvery" without the credt draft now. However, it is still not performing the action to change status to registered. When status changes to registered, it should trigger the sku to not be able to register again.

I'll keep looking, and hopefully find the answer. I will also go ahead and update the rejuvant.trumelabs.com site to see if it encounters the same issues.

#1879557

On the Rejuvant.trumelabs.com site, the plug-ins toolset views and toolset access appear to be in conflict with the elementor dashboard panel.

on Trumelabs.com, it possibly could be an access manager issue? The items not updating are handled under Accesses Controls, Taxonomies, Brands. These are handled under plug-ins > concierge-toolset > inc > activation-survey-functions.php.

#1880007

We can handle the questions one by one, for the first problem:
Q1) the submit action is not working. It is creating the proper post "Registration Suvery" without the credt draft now.

I assume we are talking about this post form "Registration Survey 1":
hidden link

And the problem page:
hidden link

I have tried above page, but can not fill value into required field "Test Kit ID", are you using custom codes for it? can you confirm it? it prevent user to submit the form.

Q2) it is still not performing the action to change status to registered

Are you using custom codes to change the "Test Kits" post status to "registered"?
If it is, please point out the custom codes URL, where I can see your custom codes

#1880407

Refer to last message: These are handled under plug-ins > concierge-toolset > inc > activation-survey-functions.php.

#1882297

I assume we are talking about the plugin "Concierge Toolset" in your website.

Unfortunately, we don't provide custom codes support and other plugin support, see our support policy:
https://toolset.com/toolset-support-policy/

I suggest you check it with the plugin author of "Concierge Toolset"

You can also check with our Toolset certified consultants for it:
https://toolset.com/contractors/

#1885525

I do not need help with the custom plug in. It is identical to the working site - rejuvant.trumelabs.com. What I need is the trumelabs.com site to work, and there is an issue within toolset. I will continue to test, however, we are close to removing all toolset options from the site and rebuilding it. It might not be an issue with toolset, however, fields set in toolset are not working like they did a month ago. So I am totally lost why my forms do not import data into fields the way they used to, and why that only impacts one site.

#1885605

I assume you are going to migrate the live product website to a develop site, there might be some broken data when you do the migration, please follow our document to migrate your website:
https://toolset.com/faq/how-do-i-migrate-a-wordpress-site-from-one-domain-to-the-other/