• Resolved hbehroz

    (@hbehroz)


    Hello,

    we have a problem with the GiveWP plugin on any page on our website it’s not loading. Any shortcode from GiveWP is endless spinning. I really don’t know what’s causing this and how to resolve this.

    The link to the donation form is:

    https://quranschule.com/donations/donation-form/

    Also the dashboard with donation history is displaying the same infinite loop:

    https://quranschule.com/donor-dashboard/

    Below you find the system status:

    WordPress Environment
    
    Home URL: https://quranschule.com
    Site URL: https://quranschule.com
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔</img>
    Language: de_DE
    Permalink Structure: /%postname%/
    Show on Front: page
    Page on Front: Home (#201)
    Page for Posts: Nicht festgelegt
    Table Prefix Length: wp_
    Table Prefix Length: 3
    Table Prefix Status: Acceptable
    Admin AJAX: Verfügbar
    Registered Post Statuses: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, wc-pending, wc-processing, wc-on-hold, wc-completed, wc-cancelled, wc-refunded, wc-failed, wc-wps_renewal, wc-checkout-draft, spam, refunded, failed, revoked, cancelled, abandoned, processing, preapproval
    
    Server Environment
    
    Hosting Provider: DBH: mysql, SRV: quranschule.com
    TLS Connection: Verbindung verwendet TLS 1.3
    TLS Connection: Probably Okay
    Server Info: LiteSpeed
    PHP Version: 8.0.21
    PHP Post Max Size: 256 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 5000
    PHP Max Upload Size: 256 MB
    cURL Version: 7.71.0, OpenSSL/1.1.1d
    SUHOSIN Installed: –
    Default Timezone is UTC: ✔</img>
    fsockopen/cURL: ✔</img>
    SoapClient: ✔</img>
    DOMDocument: ✔</img>
    gzip: ✔</img>
    GD Graphics Library: ✔</img>
    Multibyte String: ✔</img>
    Remote Post: ✔</img>
    Remote Get: ✔</img>
    
    GiveWP Configuration
    
    GiveWP Version: 2.23.2
    GiveWP Cache: Aktiviert
    Database Updates: Alle Datenbank-Updates erfolgreich abgeschlossen.
    Database Updates: All Database Migrations Completed.
    Database Tables: ✔</img> wp_give_donors✔</img> wp_give_donormeta✔</img> wp_give_comments✔</img> wp_give_commentmeta✔</img> wp_give_sessions✔</img> wp_give_formmeta✔</img> wp_give_sequential_ordering✔</img> wp_give_donationmeta✔</img> wp_give_revenue✔</img> wp_give_migrations✔</img> wp_give_log
    GiveWP Cache: Aktiviert
    GiveWP Cache: ✔</img>Neue Spende✔</img>Spendenquittung✔</img>Neue Offline-Spende✔</img>Anweisung für Überweisungen✔</img>Neue Benutzerregistrierung✔</img>Informationen zur Benutzerregistrierung✔</img>Donation Note✔</img>E-Mail-Zugang
    Upgraded From: 2.23.2
    Test Mode: Deaktiviert
    Currency Code: EUR
    Currency Position: Nachher
    Decimal Separator: ,
    Thousands Separator: .
    Success Page: https://quranschule.com/donation-confirmation/
    Failure Page: https://quranschule.com/donation-failed/
    Donation History Page: https://quranschule.com/donor-dashboard/
    GiveWP Forms Slug: /donations/
    Enabled Payment Gateways: Stripe - SEPA Direct Debit, Überweisung, Stripe - Credit Card
    Default Payment Gateway: Stripe - SEPA Direct Debit
    PayPal IPN Notifications: N/A
    Donor Email Access: Aktiviert
    Stripe Webhook Notifications: N/A
    
    Active GiveWP Add-ons
    
    Other Active Plugins
    
    Akismet Anti-Spam: von Automattic – 5.0.2
    All-in-One WP Migration: von ServMask – 7.69
    All in One SEO: von All in One SEO Team – 4.2.9
    Autoptimize: von Frank Goossens (futtta) – 3.1.4
    Boostify Header Footer Builder: von Woostify – 1.2.8
    Child Theme Configurator: von Lilaea Media – 2.6.0
    Complianz - Terms and Conditions: von Really Simple Plugins – 1.1.3
    Complianz | GDPR/CCPA Cookie Consent: von Really Simple Plugins – 6.3.9
    Custom Fonts: von Brainstorm Force – 1.3.7
    Elementor: von Elementor.com – 3.10.0
    Elementor Header & Footer Builder: von Brainstorm Force, Nikhil Chavan – 1.6.13
    Elfsight WhatsApp Chat CC: von Elfsight – 1.2.0
    Envato Elements: von Envato – 2.0.11
    Essential Addons for Elementor: von WPDeveloper – 5.5.2
    Events Calendar for FooEvents: von FooEvents – 1.6.43
    Fatal Error Notify: von Very Good Plugins – 1.4.7
    FooEvents Custom Attendee Fields: von FooEvents – 1.6.23
    FooEvents Express Check-in: von FooEvents – 1.7.3
    FooEvents for WooCommerce: von FooEvents – 1.17.8
    FooEvents Multi-Day: von FooEvents – 1.6.5
    FooEvents PDF Tickets: von FooEvents – 1.9.21
    FooEvents Seating: von FooEvents – 1.7.3
    Health Check & Troubleshooting: von The ww.wp.xz.cn community – 1.5.1
    Hostinger: von Hostinger – 1.0.1
    Image Hover Effects - Elementor Addon: von Blocksera – 1.3.7
    Invent Slider for Elementor: von DynamicLayers – 1.0.0
    Invoices for WooCommerce: von Bas Elbers – 3.1.9
    Invoices for WooCommerce Premium: von Bas Elbers – 2.1.1
    Jeg Elementor Kit: von Jegtheme – 2.5.12
    Jetpack: von Automattic – 11.7
    LiteSpeed Cache: von LiteSpeed Technologies – 5.3.2
    Loco Translate: von Tim Whitlock – 2.6.3
    OMGF: von Daan from Daan.dev – 5.5.2
    OptinMonster: von OptinMonster Popup Builder Team – 2.11.1
    Premium Addons for Elementor: von Leap13 – 4.9.46
    Really Simple SSL: von Really Simple Plugins – 6.1.0
    SEPA Payment Gateway for WooCommerce: von Nhat Huynh Van – 1.0.0
    Subscriptions For WooCommerce: von WP Swings – 10.4.7
    Subscriptions For WooCommerce Pro: von WP Swings – 12.1.6
    WooCommerce: von Automattic – 7.3.0
    WooCommerce Coming Soon Product with Countdown: von WebCodingPlace – 4.1
    WooCommerce Stripe Gateway: von WooCommerce – 7.0.1
    WPForms Lite: von WPForms – 1.7.9.1
    WP Mail SMTP: von WPForms – 3.7.0
    
    Inactive Plugins
    
    Active MU Plugins
    
    Health Check Troubleshooting Mode: von – 1.8.1
    
    Theme
    
    Name: Astra
    Version: 4.0.1
    Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    Child Theme: Nein – If you're modifying GiveWP on a parent theme you didn't build personally, then we recommend using a child theme. See: How to Create a Child Theme

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @hbehroz,
    Glad you reached out. I’m seeing a couple of things that we can address here to get things up and running for you.

    First, I see caching and optimization running. GiveWP and caching/minification tend not to play well together, so I have some recommendations below that will help. Caching can sometimes need tweaking, so you’ll want to make sure to check any caching solutions, security solutions, and/or optimizing solutions for those settings. You’ll also want to share the exclusions below with your hosting provider to stop any caching at the server level.

    The fix here is a bit technical, so I’ll include as much detail as possible here, but you may need to reach out to your web developer or web support person to implement the recommendations I’ll be talking about below.

    If you’re not familiar with caching, it’s a method of saving server resources by storing copies of a page or site, so that the next visitor’s visit doesn’t trigger a call to the server at all, they just get the copy that was saved. Basically instead of the site needing to recreate the page from scratch, it sends up a copy which allows it to load faster.

    We put together this deep dive into what caching is and how it can cause problems: https://givewp.com/documentation/resources/caching/

    Caching works really well for speeding up sites, but when a saved copy of the site has sensitive information in it (like donor info) it’s important that GiveWP not share that with the next visitor. If GiveWP is not convinced that the browser requesting the data is the correct one, it defaults to not showing the data.

    Caching is handled differently on various sites and web hosts. This could mean a caching plugin, or caching could be in a security solution. Hosting providers also have settings for caching at the server level, and they can help make adjustments for you there. Most caching solutions have a setting or section for excluding specific URLs or parts of URLs (called “slugs”) from caching. At the very least, you should exclude the following slugs from caching: 

    /donations/
    /donation-confirmation/
    /donor-dashboard/
    *any page with a donation form on it

    Also, the following query strings (if your caching solution has a setting for them):

    give-embed=donor-dashboard
    giveDonationFormInIframe=1

    Your host or the caching plugin/solution you are using can help with that. Some of them may require what’s called a “wildcard” like /donations/* to capture all subdirectories under the /donations/ folder. 

    One helpful tip: Check in with your hosting provider. Most hosts have caching at the server level, and they will be able to adjust this for you. You can also temporarily disable caching on the site to confirm that the uncached site isn’t showing the problem. 

    The next issue I see is a 500 error in the console:
    https://imgur.com/Xvb6vB1

    Typically, this error means something has caused a PHP fatal error. PHP errors like critical or fatal errors are recorded in your server logs. If you don’t know where to find the PHP error logs you can contact your hosting provider and they will be able to point you in the right direction to find them, or they can send them right along to you.

    We can also use the Fatal Error Notify plugin. You can install and activate this, and make sure the email of your choice is in the email field. It will send you an email with the detailed error code you can send to me.

    You can download the Fatal Error Notify plugin here: https://ww.wp.xz.cn/plugins/fatal-error-notify/.

    The details in these error codes can give us helpful context to understand the issue you are running into.

    I know this was quite a bit of information to share, so if you have any questions along the way just let me know, I’m happy to hop in an help at any point.

    Thread Starter hbehroz

    (@hbehroz)

    Hi Stephanie,

    thanks for your quick support. I installed Fatal Error Notify plugin and got a couple of error messages:

    Error notification

    For site https://quranschule.com

    • Error Level: E_ERROR
    • Message: Cannot redeclare astra_cart_position() (previously declared in /home/u991370291/domains/quranschule.com/public_html/wp-content/themes/astra/inc/builder/type/header/woo-cart/dynamic-css/dynamic.css.php:715)
    • File: /home/u991370291/domains/quranschule.com/public_html/wp-content/themes/astra/inc/builder/type/header/woo-cart/dynamic-css/dynamic.css.php
    • Line: 715
    • Request: /give/donation-form?giveDonationFormInIframe=1
    • Referrer: https%3A%2F%2Fquranschule.com%2F
    • User ID: 1

    Error notification

    For site https://quranschule.com

    • Error Level: E_WARNING
    • Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
    • File: /home/u991370291/domains/quranschule.com/public_html/wp-config.php
    • Line: 6
    • Request: /wp-cron.php?doing_wp_cron=1674219865.7866001129150390625000
    • Referrer: https%3A%2F%2Fquranschule.com%2Fwp-cron.php%3Fdoing_wp_cron%3D1674219865.7866001129150390625000

    Error notification

    For site https://quranschule.com

    • Error Level: E_ERROR
    • Message: Uncaught Error: Call to undefined function function_that_does_not_exist() in /home/u991370291/domains/quranschule.com/public_html/wp-content/plugins/fatal-error-notify/includes/admin/class-admin.php:64
      Stack trace:
      #0 /home/u991370291/domains/quranschule.com/public_html/wp-includes/class-wp-hook.php(308): Fatal_Error_Notify_Admin->test_error()
      #1 /home/u991370291/domains/quranschule.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
      #2 /home/u991370291/domains/quranschule.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
      #3 /home/u991370291/domains/quranschule.com/public_html/wp-admin/admin-ajax.php(188): do_action()
      #4 {main}
      thrown
    • File: /home/u991370291/domains/quranschule.com/public_html/wp-content/plugins/fatal-error-notify/includes/admin/class-admin.php
    • Line: 64
    • Request: /wp-admin/admin-ajax.php
    • Referrer: https%3A%2F%2Fquranschule.com%2Fwp-admin%2Foptions-general.php%3Fpage%3Dfatal-error-notify
    • User ID: 1

    Error notification

    For site https://quranschule.com

    • Error Level: E_WARNING
    • Message: Cannot modify header information – headers already sent
    • File: /home/u991370291/domains/quranschule.com/public_html/wp-content/plugins/litespeed-cache/src/core.cls.php
    • Line: 684
    • Request: /wp-cron.php?doing_wp_cron=1674219689.4664680957794189453125
    • Referrer: https%3A%2F%2Fquranschule.com%2Fwp-cron.php%3Fdoing_wp_cron%3D1674219689.4664680957794189453125

    Error notification

    For site https://quranschule.com

    • Error Level: E_ERROR
    • Message: Uncaught Error: Call to undefined function function_that_does_not_exist() in /home/u991370291/domains/quranschule.com/public_html/wp-content/plugins/fatal-error-notify/includes/admin/class-admin.php:64
      Stack trace:
      #0 /home/u991370291/domains/quranschule.com/public_html/wp-includes/class-wp-hook.php(308): Fatal_Error_Notify_Admin->test_error()
      #1 /home/u991370291/domains/quranschule.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
      #2 /home/u991370291/domains/quranschule.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
      #3 /home/u991370291/domains/quranschule.com/public_html/wp-admin/admin-ajax.php(188): do_action()
      #4 {main}
      thrown
    • File: /home/u991370291/domains/quranschule.com/public_html/wp-content/plugins/fatal-error-notify/includes/admin/class-admin.php
    • Line: 64
    • Request: /wp-admin/admin-ajax.php
    • Referrer: https%3A%2F%2Fquranschule.com%2Fwp-admin%2Foptions-general.php%3Fpage%3Dfatal-error-notify
    • User ID: 1

    After that, I deactivated the LiteSpeed Cache plugin with no success because it’s still spinning endless.

    Hi @hbehroz,
    Thanks for sending along those errors, they were helpful!

    The first error in that list is your culprit: Message: Cannot redeclare astra_cart_position() (previously declared in

    Hi there,

    Glad you reached out, I can help explain what you are seeing here.

    You are experiencing an edge-case issue that we are investigating: https://feedback.givewp.com/bug-reports/p/astra-cart-in-header-multi-stepclassic-form-causes-a-fatal-error. We are actively tracking user experiences to further understand the issue, and I’ve also linked your ticket internally so when the issue is resolved we can reach back out to update you.

    In the meantime, we are recommending a workaround of switching to the Legacy form template.

    I’ll go ahead and mark this as resolved for now, but if you have other questions you can create a new ticket right here and we’ll be happy to give things a look!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘GiveWP infinite loading’ is closed to new replies.