[Resolved] Using GravityView to edit a gravity form entry from a Toolset View
This thread is resolved. Here is a description of the problem and solution.
Problem:
Using GravityView to edit a gravity form entry from a Toolset View
Solution:
There was an issue on the user's site once everything is updated all works fine. Please make sure you always run with latest updated plugins and themes.
I have created a custom post type using toolset called 'customers'. I have a toolset template set up for this post type using beaver builder. This displays all relevant information correctly. I also have various buttons that link to gravity forms using queries to populate the customer details in the form with toolset merge tags, this all works correctly.
I then have a 'Gravityview' on the customer template with a filter applied so it only shows the form entires that relate to the current customer. This also works as expected.
Link to a page where the issue can be seen:
hidden link
its a staging site;
username - cullumde_staging
password - thecow80
With 'gravityview' you have the option to edit an entry by clicking on the corresponding link on the front view. I expect to click on the edit link and be able to edit the gravity form as usual.
Instead, I got:
As when I click on the edit link, it reloads the page but without the form to be edited.
I have the same 'gravityview' displayed using a beaver builder layout but not using a toolset view to display the content. You can see the same links that are created by the 'gravityview' plugin, but in this instance they work correctly and you get to edit the form when clicking the edit link.
There is still no actual gravity form on the page, but the GravityView plugin somehow manages to 'load / generate' it up on the page when you click the link. I think the problem arises when using a toolset view to populate the content, it does not load up the gravity form link page correctly??
Since it is a compatibility problem, please provide a copy of your website(you can put the duplicator package in your own google drive disk, and share the link in below private message box), I need to test and debug it in my localhost, thanks.
I can install your website in my localhost by importing the database manually, but I get some PHP error after log into dashboard:
( ! ) Notice: An outdated add-on or custom code is attempting to access the rnbh_rg_lead_meta table which is not valid in this version of Gravity Forms. Update your add-ons and custom code to prevent loss of form data. Further details: <em><u>hidden link</u></em> in ...\wp-content\plugins\gravityforms\gravityforms.php on line 5411
Table 'lions.rnbh_rg_lead_meta' doesn't exist]
UPDATE rnbh_rg_lead_meta SET `meta_value` = '1' WHERE `meta_key` = 'is_approved' AND `meta_value` = 'Approved
See screenshot lions.JPG
It seems there is a database table "rnbh_rg_lead_meta" missing.
There is some issues - looks like you have security plugin installed bbq-pro is not allowing me to login to site. I will check further and get back to you.