• Resolved marune

    (@marune)


    Hi,

    Since updating to the last version of Give, I have seem to have lost my donation form. When I go to forms in Give. It says there are no forms?!?

    I am campaigning, and now I am afraid if I make a new form, will it still show the previous donations on the counter?

    Or if I make a new form it will be a new campaign and the counter starts at 0 again?

    I don’t know what happened. But I could really use some help.

    Kind regards,

    Louwrens

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Ben Meredith

    (@benmeredithgmailcom)

    Hi @marune,

    We’re definitely here to help on this.

    As a bit of backstory/explanation, the forms (as well as donations and donors) are saved to the WordPress database, and updating the plugin is making changes to the file structure (not the database) so the act of updating should have no bearing on what remains true in the database. The way GiveWP interacts with the database to display the forms, donors, and donations is through the settings, which are saved to the wp_options table in the database. It sounds like something during the update (or around the same time) has essentially “unhooked” the GiveWP settings.

    So the first step is to go in and see if the settings are still saved correctly. Navigate to Donations > Settings and browse through to see if things are set as you had them before the update. Sometimes simply saving the settings again will refresh things and make stuff show up.

    The next thing that can fool GiveWP into thinking things are not there when they really are is that on certain updates GiveWP runs through database updates after the files update. If those DB updates are prevented for some reason, it can lead to GiveWP essentially looking in the wrong spot for those donation forms, donors, etc.

    When you update to a new version of GiveWP, there is sometimes a prompt to run database updates, so make sure that there is not a prompt for that, and if there it, click to run those updates.

    Finally, if none of those options work, you need to look into the database itself to see if the forms are there. A tool like phpMyAdmin will work for that, and your host can help with that. The forms are saved in the wp_posts table. Here’s a screencast showing how I located the forms in my database on a test install:

    http://somup.com/cYnXDlhIlO

    If the form is truly not there in the database, you would need to recreate it, and none of the donations to older forms would show up on the counter.

    I’m happy to keep digging here, but would need a bit more context.

    What version did you update from?

    Also, please send along your System Info.

    Navigate to Donations –> Tools –> System Info (tab) and click the button to “Get System Report” and copy/paste that in your reply here.

    ​That will give me some more context to be able to help.
    Thanks!

    marune

    (@marune)

    Hi Ben,

    Thank you for the great reply. And indeed perhaps a little more information is needed. I had trouble getting into my Admin area. I had this problem when a login just refreshes the login page. I followed all the steps like deleting the cookies, renaming plugins folder, delete htaccess.. Nothing solved it. Yet another user could get into the back-end without any problems. So I told him to delete my user account, since he was an admin too. However I was the creator of most of the content. Perhaps that messed things up. After he set up a new user profile for me. I could login without any problems. Then I did some updates and everything went… poof. And indeed I checked and there is no form in wp_posts. So I guess I need to make a new form and start a new counter. I checked the form_id like the video explained. And looked in wp_posts unfortunately there is no id matching it.

    I realize that this could have been my own mistake. Still I learned a lot from your help. Thanks Ben! But what do you think, could this have been the issue that caused all this?

    Kind regards,

    Louwrens

    Plugin Support Ben Meredith

    (@benmeredithgmailcom)

    @marune Yeah, if you delete a user that created the forms, there is an option during that process to also delete their content (which would include the forms) so that might have been the issue.

    I just tested that process on a test installation I have here, and confirmed that if you select to delete a user and attribute all of their content to a different user, it does not delete the forms, but if you DO delete all content from that user, it will delete any forms that they created.

    Hopefully you’re able to recreate the form and get back up and running quickly!

    Plugin Support Ben Meredith

    (@benmeredithgmailcom)

    @marune

    I also just tested one additional step, because it should NOT have deleted the donations in that case, and you can go through and click on the individual donations that are now associated with a form that does not exist, and select the newly created form from the dropdown, and that will re-associate the donations wth the correct form.

    It’s a manual process, and each donation would need to be done individually, but it’s at least doable.

    Hi Ben,

    Sorry for my late reply. Everything is back to normal! I made the new form and connected it to the donations. And the counter is back again as well!

    Many thanks Ben!
    Louwrens

    Plugin Support Ben Meredith

    (@benmeredithgmailcom)

    Very glad to hear it, @marune!

    Please don’t hesitate to let others know:

    We’d love to get a public review about what you think of Give both from a product standpoint as well as how it is to deal with our team.

    https://wordpress.org/support/view/plugin-reviews/give

    The reviews help others to decide if it’s worth using our product!

    Have a great day!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.