• Resolved bobdobbs

    (@bobdobbs)


    Give version 2.26.0.

    I’ve created a donation form and have embedded it into a page using the shortcode.

    When I load the page, the givewp loading gif appears momentarily.
    After the loading gif dissapears, nothing shows.

    The console shows an error related to GiveWP:

    give-classic-template.js?ver=2.26.0:1 Uncaught TypeError: Cannot read properties of null (reading 'parentNode')
    at o (give-classic-template.js?ver=2.26.0:1:1298)
    at HTMLDocument.m (give-classic-template.js?ver=2.26.0:1:5936)"give-classic-template.js?ver=2.26.0:1 Uncaught TypeError: Cannot read properties of null (reading 'parentNode')
    at o (give-classic-template.js?ver=2.26.0:1:1298)
    at HTMLDocument.m (give-classic-template.js?ver=2.26.0:1:5936)

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @bobdobbs,
    Glad you reached out. I’m going to need a little more information to get started:

    First, send along your system information. You can do this by navigating to Donations > Tools > System Info (tab) and clicking the button to “Get System Report” and copy/paste that into your reply here.

    I’ll also need the URL to your donation form.

    Once I have a bit more context, I should be able to hop right in!

    Thread Starter bobdobbs

    (@bobdobbs)

    Home URL: https://***.localdev
    Site URL: https://***.localdev
    WP Version: 6.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron:
    Language: en_US
    Permalink Structure: /%postname%/
    Show on Front: page
    Page on Front: *** (#5)
    Page for Posts: Unset
    Table Prefix: wp_
    Table Prefix Length: 3
    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, acf-disabled, refunded, failed, revoked, cancelled, abandoned, processing, preapproval
    Server Environment
    Hosting Provider: DBH: localhost, SRV: ***
    TLS Connection: Connection uses TLS 1.3
    TLS Rating: Probably Okay
    Server Info: Apache/2.4.52 (Ubuntu)
    PHP Version: 8.1.18
    PHP Post Max Size: 5 GB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    PHP Max Upload Size: 5 GB
    cURL Version: 7.81.0, OpenSSL/3.0.2
    SUHOSIN Installed: –
    Default Timezone is UTC:
    fsockopen/cURL:
    SoapClient:
    DOMDocument:
    gzip:
    GD Graphics Library:
    Multibyte String:
    Remote Post:
    Remote Get:
    GiveWP Configuration
    GiveWP Version: 2.26.0
    GiveWP Cache: Enabled
    Database Updates: All DB Updates Completed.
    Database Migrations: All Database Migrations Completed.
    Database Tables:
    wp_give_donors
    wp_give_donormeta
    wp_give_comments
    wp_give_commentmeta
    wp_give_sessions
    wp_give_formmeta
    wp_give_sequential_ordering
    wp_give_donationmeta
    wp_give_revenue
    wp_give_migrations
    wp_give_log
    GiveWP Cache: Enabled
    GiveWP Emails:
    New Donation
    Donation Receipt
    Donation Processing Receipt
    New Offline Donation
    Offline Donation Instructions
    New User Registration
    User Registration Information
    Donation Note
    Email access
    Upgraded From: –
    Test Mode: Enabled
    Currency Code: NZD
    Currency Position: Before
    Decimal Separator: .
    Thousands Separator: ,
    Success Page: https://***/donation-confirmation/
    Failure Page: https://***/donation-failed/
    Donation History Page: https://***/donor-dashboard/
    GiveWP Forms Slug: /donations/
    Enabled Payment Gateways: Test Donation, Offline Donation
    Default Payment Gateway: Test Donation
    PayPal IPN Notifications: N/A
    Donor Email Access: Enabled
    Stripe Webhook Notifications: N/A
    Active GiveWP Add-ons
    Other Active Plugins
    Admin Columns Pro by AdminColumns.com – 6.1.3
    Advanced Custom Fields PRO by WP Engine – 6.1.4
    Advanced Themer for Bricks by Maxime Beguin – 1.0.4
    BricksExtras by BricksExtras – 1.2.5
    Classic Editor by WordPress Contributors – 1.6.3
    Custom Body Class by Andrei Lupu – 0.7.3
    Custom Fonts by Brainstorm Force – 1.3.7
    Duplicate Page and Post by Arjun Thakur – 2.9.2
    EWWW Image Optimizer by Exactly WWW – 6.9.3
    SEOPress by The SEO Guys at SEOPress – 6.5.0.3
    Simple Page Ordering by 10up – 2.5.0
    Social Warfare by Warfare Plugins – 4.4.1
    Social Warfare - Pro by Warfare Plugins – 4.3.0
    Ultimate Dashboard by David Vongries – 3.7.4
    Ultimate Dashboard PRO by David Vongries – 3.7.0.1
    UpdraftPlus - Backup/Restore by UpdraftPlus.Com, DavidAnderson – 2.23.3.26
    WPForms by WPForms – 1.8.1.2
    WPForms Conversational Forms by WPForms – 1.10.0
    WPForms MailerLite by WPForms – 1.0.1
    WPForms Stripe by WPForms – 2.11.0
    WP Mail SMTP by WPForms – 3.7.0
    Inactive Plugins
    Give - Recurring Donations by GiveWP – 2.3.1
    Give - Stripe Gateway by GiveWP – 2.5.0
    Theme
    Name: ****
    Version: 0.1.0
    Author URL:
    Child Theme: Yes
    Parent Theme Name: Bricks
    Parent Theme Version: 1.7.3
    Parent Theme Author URL: https://bricksbuilder.io/
    • This reply was modified 1 year, 11 months ago by bobdobbs.

    Hi @bobdobbs,
    I’m not able to work with your local site, typically I would need a live site where the issue is replicable to do some digging.

    For now, I started by spinning up a sandbox to see if I could get the same error you did, but so far I haven’t been able to replicate it. If you can send along some precise steps for me to follow, I can give this another look. I’ll need to know exactly what you are doing to see if I can get the same error to pop.

    Outside of that, I have some best-guesses:
    Issues like this one are often related to cache, Javascript minification/merging, or a conflict either between GiveWP and your theme or another plugin. One good place to look would be the optimizer plugin you are running. If you’d like to run a conflict check, we have a fantastic tutorial for that here: https://givewp.com/documentation/resources/troubleshoot-wordpress-websites-health-check/

    Give this a look and let me know what you find. I’m happy to keep digging if you have some steps to replicate, otherwise try checking for a conflict and let me know how things go. I’m happy to help with any questions you have along the way.

    Thread Starter bobdobbs

    (@bobdobbs)

    Hi Stephanie.

    The optimisation plugin is only triggered when images are uploaded to the media library, afaict. But just in case, I disabled it – along with all other plugins that aren’t GiveWP.

    The error still persists.

    I switched to the twentytwentytwo theme. The error still persists.

    I then noticed that there is an update to GiveWP, so I updated. The error still occurs.


    Thread Starter bobdobbs

    (@bobdobbs)

    Hi again Stephanie.

    I loaded the page again, in incognito mode in chrome.
    This time the spinner appeared but didn’t dissapear. A message in console seemed to show that the server had thrown a 500 error.

    Looking at the server logs, it looked like a function associated with the classic donation form template – the one I remember selecting – was expecting a parameter that wasn’t being passed in.

    This somewhat resembled the js error – also seemingly associated with the classic template.

    So I went back to look at the form settings…

    … and the form didn’t exist.

    It looks like at some point I trashed the form for some reason and forgot about it.

    The page still had the shortcode for the form – but no form existed.

    After recreating the form and re-inserting the new shortcode, everything works just fine.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Blank page. Donation form does not appear.’ is closed to new replies.