import donations missing
-
Hi
A few days ago, I pushed my staging site to production using WP Staging. The only thing I didn’t want to overwrite was the GiveWP plugin, as I had set it up directly in production and had already received some donations. Nothing major: just two donors (who are us, the administrators) and a total of five donations.
Unfortunately, I wasn’t able to exclude it successfully. The solution suggested by WP Staging support was to export the donation data, reinstall the plugin from scratch, and then import the data. Of course, I would also have to reconfigure the entire plugin, but that was the least of my concerns.
I exported the CSV files for payments, donors, earnings, and the JSON file for settings. I tried importing the CSV payments file multiple times, but unfortunately, I was never able to display the donations correctly.
Now, in my admin I have a hybrid situation where:
- I can see the profiles of the two donors and the total donated amount,
- But I can’t see the five previous donations that I attempted to import.
I also made a new test donation, and in the Donations section, I can only see that one – the same applies to my Donor Dashboard.
What can I do?
Additionally, WordPress sent me a critical error notification with the following details:
WordPress has a built-in feature that detects when a plugin or theme causes a critical error on your site and notifies you with this automatic email.
In this case, WordPress has encountered an error with one of your plugins, Give – Donation Plugin.
First, visit your website and check if there are any visible issues. Then, go to the page where the error was detected (/wp-admin/edit.php?post_type=give_forms&page=give-payment-history&view=view-payment-details&id=2451) and verify if there are any visible problems.
You may also contact your hosting provider to request further investigation into the issue.
If your site is broken and you cannot access your dashboard normally, WordPress now has a special “Recovery Mode”, allowing you to log in safely to check what is wrong:
🔗 Enter Recovery Mode
For security reasons, this link will expire in 1 day. Don’t worry—if the error occurs again after the link expires, WordPress will send you a new one. [ Recover link deleted ]
If you need assistance troubleshooting this issue, you might be asked for the following details:
- WordPress Version: 6.7.2
- Active Theme: OceanWP (version 4.0.6)
- Current Plugin: Give – Donation Plugin (version 3.22.1)
- PHP Version: 8.0.30
- Dettagli dell’errore
====================
Un errore di E_ERROR è stato causato nella linea 155 del file /web/htdocs/www.alagilleitalia.org/home/wp-content/plugins/give/src/Framework/Support/ValueObjects/Money.php. Messaggio di errore: Uncaught TypeError: Give\Framework\Support\ValueObjects\Money::fromDecimal(): Argument #2 ($currency) must be of type string, null given, called in /web/htdocs/www.alagilleitalia.org/home/wp-content/plugins/give/src/Donations/DataTransferObjects/DonationQueryData.php on line 159 and defined in /web/htdocs/www.alagilleitalia.org/home/wp-content/plugins/give/src/Framework/Support/ValueObjects/Money.php:155
Stack trace:
#0 /web/htdocs/www.alagilleitalia.org/home/wp-content/plugins/give/src/Donations/DataTransferObjects/DonationQueryData.php(159): Give\Framework\Support\ValueObjects\Money::fromDecimal()
#1 /web/htdocs/www.alagilleitalia.org/home/wp-content/plugins/give/src/Donations/Models/Donation.php(281): Give\Donations\DataTransferObjects\DonationQueryData::fromObject()
#2 /web/htdocs/www.alagilleitalia.org/home/wp-content/plugins/give/src/Framework/Models/ModelQueryBuilder.php(130): Give\Donations\Models\Donation::fromQueryBuilderObject()
#3 /web/htdocs/www.alagilleitalia.org/home/wp-content/plugins/give/src/Framework/Models/ModelQueryBuilder.php(86): Give\Framework\Models\ModelQueryBuilder->getRowAsModel()
#4 /web/htdocs/www.alagilleitalia.org/home/wp-content/plugins/give/src/Donations/Repositories/DonationRepository.php(66): Give\Framework\Models\ModelQueryBuilder->get()
#5 /web/htdocs/www.alagilleitalia.org/home/wp-content/plugins/give/src/Donations/Models/Donation.php(118): Give\Donations\Repositories\DonationRepository->getById()
#6 /web/htdocs/www.alagilleitalia.org/home/wp-content/plugins/give/includes/admin/payments/view-payment-details.php(67): Give\Donations\Models\Donation::find()
#7 /web/htdocs/www.alagilleitalia.org/home/wp-content/plugins/give/includes/admin/payments/payments-history.php(28): require_once('...')
#8 /web/htdocs/www.alagilleitalia.org/home/wp-includes/class-wp-hook.php(324): give_payment_history_page()
#9 /web/htdocs/www.alagilleitalia.org/home/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#10 /web/htdocs/www.alagilleitalia.org/home/wp-includes/plugin.php(517): WP_Hook->do_action()
#11 /web/htdocs/www.alagilleitalia.org/home/wp-admin/admin.php(259): do_action()
#12 /web/htdocs/www.alagilleitalia.org/home/wp-admin/edit.php(10): require_once('...')
#13 {main}
thrown
The page I need help with: [log in to see the link]
The topic ‘import donations missing’ is closed to new replies.