Fatal Error Conflicting with LearnDash Quizzes
-
Hello Give,
Our users started noticing an issue recently where LearnDash quizzes are not loading when clicking the “Start Here” button (ajax request).
Upon deeper investigation we found that this is only the case for non-admin user roles. Additionally in the server logs we’re consistently noticing the following PHP fatal error:
2020/01/29 23:14:46 [error] 6922#6922: *1714078 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_donor_by() on null in /var/www/html/wp-content/plugins/give/includes/class-give-donor.php:168
We upgraded to the latest Give version (2.5.13), but are still experiencing the same error. When Give is deactivated, the quizzes work as expected.
Thanks in advance!
-
I reached out to the LearnDash team, they’re going to look into it a bit, and they’re issuing me a license so I can try to replicate as well. I’ll keep you posted on our progress.
Hi @mattbpro — we tried to replicate that error with just LearnDash and GiveWP and could not do it. Can you provide your System Info here for us to gain more insight into your environment?
You can find that by navigating in your WP Admin to “Donations > Tools > System Info”. Thanks!
Thanks Matt,
It’s copied below:
### WordPress Environment ### Home URL: https://wallbuilders.com Site URL: https://wallbuilders.com WP Version: 5.3.2 WP Multisite: ? WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US Permalink Structure: /%postname%/ Show on Front: page Page on Front: WallBuilders (#6) Page for Posts: Unset Table Prefix Length: wp_2_ Table Prefix Length: 5 Table Prefix Status: Acceptable Admin AJAX: Accessible Registered Post Statuses: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, in-progress, failed, iw-enabled, iw-disabled, wc-active, wc-switched, wc-expired, wc-pending-cancel, wc-pending, wc-processing, wc-on-hold, wc-completed, wc-cancelled, wc-refunded, wc-failed, refunded, revoked, cancelled, abandoned, processing, preapproval, graded, not_graded, tribe-ea-success, tribe-ea-failed, tribe-ea-schedule, tribe-ea-pending, tribe-ea-draft, tribe-ignored, give_subscription ### Server Environment ### Hosting Provider: DBH: localhost, SRV: wallbuilders.com TLS Connection: Connection uses TLS 1.3 TLS Connection: Probably Okay Server Info: nginx/1.14.0 PHP Version: 7.2.24-0ubuntu0.18.04.2 PHP Post Max Size: 8 MB PHP Time Limit: 600 PHP Max Input Vars: 1000 PHP Max Upload Size: 125 GB cURL Version: 7.58.0, OpenSSL/1.1.1 SUHOSIN Installed: – MySQL Version: 5.7.29 Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? gzip: ? GD Graphics Library: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### GiveWP Configuration ### GiveWP Version: 2.5.13 GiveWP Cache: Enabled Database Updates: All DB Updates Completed. Database Tables: ? wp_2_give_donors - 1.0? wp_2_give_donormeta - 1.0? wp_2_give_comments - 1.0? wp_2_give_commentmeta - 1.0? wp_2_give_sessions - 1.0? wp_2_give_logs - 1.0? wp_2_give_logmeta - 1.0? wp_2_give_formmeta - 1.0? wp_2_give_sequential_ordering - 1.0? wp_2_give_donationmeta - 1.0 GiveWP Cache: Enabled GiveWP Cache: ?New Donation?Donation Receipt?New Offline Donation?Offline Donation Instructions?New User Registration?User Registration Information?Donation Note?Email access?Renewal Receipt Email?Renewal Receipt Email?Subscription Cancelled Email?Subscription Cancelled Email?Subscription Completed Email?Subscription Reminder Email?Subscriptions Email Access Upgraded From: 2.5.9 Test Mode: Disabled Currency Code: USD Currency Position: After Decimal Separator: . Thousands Separator: , Success Page: https://wallbuilders.com/donation-confirmation/ Failure Page: https://wallbuilders.com/donation-failed/ Donation History Page: https://wallbuilders.com/donation-history/ GiveWP Forms Slug: /donations/ Enabled Payment Gateways: Authorize.net Default Payment Gateway: Authorize.net PayPal IPN Verification: Enabled PayPal IPN Notifications: N/A Donor Email Access: Disabled Stripe Webhook Notifications: N/A ### Active GiveWP Add-ons ### Give - Authorize.net Gateway: ? Unlicensed – by WordImpress – 1.4.3 Give - Recurring Donations: ? Unlicensed – by GiveWP – 1.8.3 ### Other Active Plugins ### 404page - your smart custom 404 error page: by Peter Raschendorfer – 11.0.4 Accordion Slider: by bqworks – 1.5.0 All-in-One GDPR: by Anthony Budd, Ideea – 5.3 Autocomplete WooCommerce Orders: by Liam McArthur – 1.1.0 Better RSS Widget: by grandslambert – 2.7.1 Better Search Replace: by Delicious Brains – 1.3.3 Child Theme Configurator: by Lilaea Media – 2.5.0 Classic Editor: by WordPress Contributors – 1.5 Custom Javascript Inserter: by Ray Waheed – 1.0 Duplicate Page: by mndpsingh287 – 4.0 Easy Footnotes: by Jason Yingling – 1.1.4 Elementor: by Elementor.com – 2.7.5 Elementor Pro: by Elementor.com – 2.4.8 Flexible Checkout Fields: by WP Desk – 2.2.0 Formidable API: by Strategy11 – 1.08 Formidable Forms: by Strategy11 – 4.03.05 Formidable Forms Pro: by Strategy11 – 4.03.05 Fusion Builder: by ThemeFusion – 1.9 Fusion Core: by ThemeFusion – 3.9 Hide This: by Andrés Villarreal – 1.1.3 i2SDK: by David Bullock – 3.99 InfusedWoo Pro: by Mark Joseph – 3.11.9 LayerSlider WP: by Kreatura Media – 6.7.6 LearnDash - Gradebook: by Real Big Plugins – 1.4.4 LearnDash LMS: by LearnDash – 3.0.7.1 LearnDash ProPanel: by LearnDash – 2.1.3 LearnDash Topic Progression Using Storyline/Captivate: by Discover eLearning Ltd – 1.1 List category posts: by Fernando Briano – 0.81 Login as User: by Web357 – 1.0.1 Memberium: by David Bullock – 2.150.11 Multiple Roles: by Florian TIAR – 1.2.0 Multiple Themes: by David Gewirtz – 7.1.1 Pagination For Posts: by gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan) – 1.5.4 Pipe Video Recorder: by addpipe.com – 1.5.5 Plugin Organizer: by Jeff Sterup – 10.1.2 Post SMTP: by Yehuda Hassine – 2.0.6 Print Post and Page: by HTML5andBeyond – 1.62 Public Post Preview: by Dominik Schilling – 2.9.0 Redirection: by John Godley – 4.2.1 Responsive FlipBook WordPress Plugin: by MassivePixelCreation – 2.1.3 Scripts n Styles: by unFocus Projects – 3.5.1 Simple Custom CSS and JS: by SilkyPress.com – 3.27 Simple Redirect: by Get on Social – 4.0.5 Slider Revolution: by ThemePunch – 5.4.8 Smash Balloon Custom Facebook Feed: by Smash Balloon – 2.11.1 The Events Calendar: by Modern Tribe, Inc. – 4.9.10 Tuxedo Big File Uploads: by Trevor Anderson – 1.2 Uncanny LearnDash Codes: by Uncanny Owl – 2.0 Uncanny LearnDash Toolkit: by Uncanny Owl – 3.1.4 User Role Editor: by Vladimir Garagulya – 4.52 User Shortcodes Plus: by Kyle B. Johnson – 2.0.2 US MAP: by WP Map Plugins – 2.2.4 WooCommerce: by Automattic – 3.7.1 WooCommerce Subscriptions: by Automattic – 2.5.7 Wordfence Security: by Wordfence – 7.4.5 WP Add Custom CSS: by Daniele De Santis – 1.1.5 WP Migrate DB Pro: by Delicious Brains – 1.9.8 WP Migrate DB Pro Media Files: by Delicious Brains – 1.4.14 WP Migrate DB Pro Multisite Tools: by Delicious Brains – 1.2.6 WP Migrate DB Pro Theme & Plugin Files: by Delicious Brains – 1.0.5 WP Quiz Pro: by MyThemeShop – 1.2.6 WP Social Sharing: by Arjun Jain – 2.2 Yoast SEO: by Team Yoast – 12.3 ### Inactive Plugins ### Advanced Menu Widget: by Ján Bo?ínec – 0.4.1 Akismet Anti-Spam: by Automattic – 4.1.2 ARI Adminer: by ARI Soft – 1.2.3 Change From Email: by Marian Kadanka – 1.2 Display Posts: by Bill Erickson – 3.0.2 Easy WP SMTP: by wpecommerce, alexanderfoxc – 1.3.9.1 Envato Elements: by Envato – 1.1.3 Force HTTPS: by LittleBizzy – 1.2.0 Fusion White Label Branding: by ThemeFusion – 1.1.3 Give - Donation Plugin: by GiveWP – 2.5.9 LearnDash LMS: by LearnDash – 2.6.5 ManageWP - Worker: by GoDaddy – 4.9.1 Memberium Installer: by David Bullock – 1.3 menu shortcode: by Nirmal Bhagwani – 1.0 My Custom Functions: by Space X-Chimp – 4.39 Page Break: by Espreson Media – 1.1.1 Per page head: by Erik von Asmuth – 1.4.2 Quick Featured Images: by Martin Stehle – 13.3.4 Seriously Simple Podcasting: by Castos – 1.20.10 Seriously Simple Stats: by Castos – 1.2.5 Smush Pro: by WPMU DEV – 3.2.0.2 SSL Insecure Content Fixer: by WebAware – 2.7.2 Theme My Login: by Theme My Login – 7.0.15 Theme My Login: by Jeff Farthing – 6.4.16 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com, DavidAnderson – 2.15.2.24 WooCommerce Authorize.Net Gateway: by SkyVerge – 3.0.5 WP File Manager: by mndpsingh287 – 5.4 WPMU DEV Dashboard: by WPMU DEV – 4.7.3.5 WP Rocket: by WP Media – 3.1.2 ### Active MU Plugins ### Elementor Safe Mode: by Elementor.com – 1.0.0 Plugin Organizer MU: by Jeff Sterup – 10.1.2 WP fail2ban: by Charles Lecklider – 3.5.3 WP Migrate DB Pro Compatibility: by Delicious Brains – 1.2 ### Theme ### Name: Avada Child Version: 1.0.0 Author URL: https://theme-fusion.com Child Theme: Yes Parent Theme Name: Avada Parent Theme Version: 5.9 Parent Theme Author URL: https://themeforest.net/user/ThemeFusion
Hi @mattbpro
We located a priority support ticket and are following up there via email. I’ll resolve this public forum post and we’ll keep you posted via email.
Thanks!
Hi I am facing the same issue, how was this resolved?
- The topic ‘Fatal Error Conflicting with LearnDash Quizzes’ is closed to new replies.