• Resolved tonyoseman

    (@tonyoseman)


    Hi

    I’ve been looking through the the forum and can’t find a solution to my challenge.

    In short I’m recieving the spinning green wheel – and an internal server error when i inspect the page. HERE

    I’m using Astra theme that requires the Spectra plugin ( formally ultimate-addons-for-gutenberg ) – When I disable this, Give Wp loads fine however the spectra plugin is key to the site.

    The good thing about searching the forum is I know what to send you for you to assist ??

    I loaded Error notification plugin and this is what is sent me;

    `Error notification

    For site https://www.earthlivingonline.org
    Error Level: E_DEPRECATED
    Message: Required parameter $amount follows optional parameter $form_id
    File: /customers/f/8/d/earthlivingonline.org/httpd.www/wp-content/plugins/give/includes/deprecated/deprecated-functions.php
    Line: 780
    Request: /wp-cron.php?doing_wp_cron=1662734447.2861559391021728515625
    Referrer: https%3A%2F%2Fwww.earthlivingonline.org%2Fwp-cron.php%3Fdoing_wp_cron%3D1662734447.2861559391021728515625`

    This is the warning from the Browser;

    Warning: Undefined variable $blockattr in /customers/f/8/d/earthlivingonline.org/httpd.www/wp-content/plugins/ultimate-addons-for-gutenberg/classes/class-uagb-post-assets.php on line 785 Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /customers/f/8/d/earthlivingonline.org/httpd.www/wp-content/plugins/ultimate-addons-for-gutenberg/classes/class-uagb-block-module.php:175 Stack trace: #0 /customers/f/8/d/earthlivingonline.org/httpd.www/wp-content/plugins/ultimate-addons-for-gutenberg/classes/class-uagb-block-module.php(175): array_merge(Array, NULL) #1 /customers/f/8/d/earthlivingonline.org/httpd.www/wp-content/plugins/ultimate-addons-for-gutenberg/classes/class-uagb-post-assets.php(785): UAGB_Block_Module::get_frontend_css('section', NULL, '') #2 /customers/f/8/d/earthlivingonline.org/httpd.www/wp-content/plugins/ultimate-addons-for-gutenberg/classes/class-uagb-post-assets.php(969): UAGB_Post_Assets->get_block_css_and_js(Array) #3 /customers/f/8/d/earthlivingonline.org/httpd.www/wp-content/plugins/ultimate-addons-for-gutenberg/classes/class-uagb-post-assets.php(899): UAGB_Post_Assets->get_blocks_assets(Array) #4 /customers/f/8/d/earthlivingonline.org/httpd.www/wp-content/plugins/ultimate-addons-for-gutenberg/classes/class-uagb-post-assets.php(881): UAGB_Post_Assets->common_function_for_assets_preparation('

    And lastly here is my system info;

    `### WordPress Environment ###

    Home URL: https://www.earthlivingonline.org
    Site URL: https://www.earthlivingonline.org
    WP Version: 6.0.2
    WP Multisite: –
    WP Memory Limit: 819 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_GB
    Permalink Structure: /%postname%/
    Show on Front: page
    Page on Front: Home (#25264)
    Page for Posts: Unset
    Table Prefix Length: www_
    Table Prefix Length: 4
    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, wc-pending, wc-processing, wc-on-hold, wc-completed, wc-cancelled, wc-refunded, wc-failed, wc-checkout-draft, refunded, failed, revoked, cancelled, abandoned, processing, preapproval

    ### Server Environment ###

    Hosting Provider: DBH: earthlivingonline.org.mysql.service.one.com, SRV: https://www.earthlivingonline.org
    TLS Connection: Connection uses TLS 1.3
    TLS Connection: Probably Okay
    Server Info: Apache
    PHP Version: 8.0.23
    PHP Post Max Size: 256 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 5000
    PHP Max Upload Size: 256 MB
    cURL Version: 7.68.0, OpenSSL/1.1.1f
    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.22.0
    GiveWP Cache: Enabled
    Database Updates: All DB Updates Completed.
    Database Updates: All database migrations completed.
    Database Tables: ? www_give_donors? www_give_donormeta? www_give_comments? www_give_commentmeta? www_give_sessions? www_give_formmeta? www_give_sequential_ordering? www_give_donationmeta? www_give_revenue? www_give_migrations? www_give_log
    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
    Upgraded From: –
    Test Mode: Enabled
    Currency Code: GBP
    Currency Position: Before
    Decimal Separator: .
    Thousands Separator: ,
    Success Page: https://www.earthlivingonline.org/donation-confirmation/
    Failure Page: https://www.earthlivingonline.org/donation-failed/
    Donation History Page: https://www.earthlivingonline.org/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 ###

    Astra Pro: by Brainstorm Force – 3.9.2
    Elementor: by Elementor.com – 3.7.4
    Elementor Header & Footer Builder: by Brainstorm Force, Nikhil Chavan – 1.6.13
    Fatal Error Notify: by Very Good Plugins – 1.4.5
    one.com: by one.com – 4.1.1
    one.com Spam Protection: by one.com – 1.0.4
    Performance Cache: by one.com – 3.0.1
    Premium Starter Templates: by Brainstorm Force – 3.1.15
    Spectra: by Brainstorm Force – 2.0.11
    Ultimate Addons for Elementor: by Brainstorm Force – 1.36.10
    WooCommerce: by Automattic – 6.8.2
    WPForms Lite: by WPForms – 1.7.6

    ### Inactive Plugins ###

    ### Theme ###

    Name: Astra
    Version: 3.9.2
    Author URL: https://wpastra.com/about/?

    Thanks in Advance for your help – the plugin rocks as well as the support!

    regards Tony

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Rick Alday

    (@mrdaro)

    Hi @tonyoseman,

    Glad you reached out.

    I tested Spectra with the latest version of GiveWP but I could not reproduce the error. Here’s a quick video to demonstrate: https://somup.com/c3QQoaUtQ5

    Are there any specific steps I need to take in order to trigger the fatal error?

    Thread Starter tonyoseman

    (@tonyoseman)

    Hi Rick, thanks for the swift reply. I see you are using Divi ( i’ve had no problems with Divi by the way)

    The challenge is with the astra theme, to test this I just installed a fresh wordress installation on another domain. I installed the free Astra theme and loaded up a free template ( entrepreneur ) using the default block editor which in turn loads the Spectra plugin during installation.

    Then I loaded the Give Wp plugin , changed permalinks – ensured the form was published and I’m recieving the same challenges as above.

    https://www.ashembi.com/donation/

    Happy to create a login for you if thats easier?

    Many thanks and appreciated – Tony

    Thread Starter tonyoseman

    (@tonyoseman)

    Hi Rick,

    I’ve also asked my hosting company to look into this from their end to see if it was a server issue.

    This was their response

    We have now heard back from the Technical Tema and they said that since you have enabled the WP debug log, the error messages can be seen in the /wp-content/debug.log file. They can see 2 errors there, one from ultimate-addons-for-gutenberg and another from Elementor. The error message in ultimate-addons-for-gutenberg is due to PHP compatibility and can be fixed if the plugin has available updates for PHP 8.0 whereas the error for the Elementor plugin is caused by what seems to be incorrect data passed by the astra-pro-sites plugin. You should look into updating the astra-pro-sites plugin and Elementor, or check issues with the astra-pro-sites plugin Developer.
     
    The error with the Give WP plugin which is shown on the page ( https://www.earthlivingonline.org/donations/donation-form/%20) is due to outdated scripts, which means that this plugin is not fully compatible with PHP 8.0 but those are just warnings so those should still work and might just be affected by the errors encountered in Elementor and astra-pro-sites plugin.
     
    ===== FROM DEBUG LOG =====
     
    [09-Sep-2022 14:20:24 UTC] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /customers/f/8/d/earthlivingonline.org/httpd.www/wp-content/plugins/ultimate-addons-for-gutenberg/classes/class-uagb-block-module.php:175
     
    [10-Sep-2022 00:30:27 UTC] PHP Fatal error: Uncaught Exception: Invalid data: {"data":["Array","Array","Array"],"element":"Array"} in /customers/f/8/d/earthlivingonline.org/httpd.www/wp-content/plugins/elementor/core/base/document.php:942
    Stack trace:
    #0 /customers/f/8/d/earthlivingonline.org/httpd.www/wp-content/plugins/astra-pro-sites/inc/importers/batch-processing/class-astra-sites-batch-processing-elementor.php(122): Elementor\Core\Base\Document->get_elements_raw_data(Array, true)
    #1 /customers/f/8/d/earthlivingonline.org/httpd.www/wp-content/plugins/astra-pro-sites/inc/importers/batch-processing/class-astra-sites-batch-processing-elementor.php(66): Elementor\TemplateLibrary\Astra_Sites_Batch_Processing_Elementor->import_single_post(859)
    #2 /customers/f/8/d/earthlivingonline.org/httpd.www/wp-content/plugins/astra-pro-sites/inc/importers/batch-processing/helpers/class-wp-background-process-astra.php(41): Elementor\TemplateLibrary\Astra_Sites_Batch_Processing_Elementor->import()
    #3 /customers/f/8/d/earthlivingonline.org/httpd.www/wp-content/plugins/astra-addon/classes/library/batch-processing/wp-background-process.php(303): WP_Background_Process_Astra->task(Object(Elementor\TemplateLibrary\Astra_Sites_Batch_Processing_Elementor))
    #4 /customers/f/8/d/earthlivingonline.org/httpd.www/wp-content/plugins/astra-addon/classes/library/batch-processing/wp-background-process.php(449): WP_Background_Process->handle()
    #5 /customers/f/8/d/earthlivingonline.org/httpd.www/wp-includes/class-wp-hook.php(307): WP_Background_Process->handle_cron_healthcheck()
    #6 /customers/f/8/d/earthlivingonline.org/httpd.www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #7 /customers/f/8/d/earthlivingonline.org/httpd.www/wp-includes/plugin.php(524): WP_Hook->do_action(Array)
    #8 /customers/f/8/d/earthlivingonline.org/httpd.www/wp-cron.php(138): do_action_ref_array('wp_image_proces...', Array)
    #9 {main}

    So It would seem the errors are with “ultimate-addons-for-gutenberg/spectra”?

    Regards

    Tony

    Plugin Support Rick Alday

    (@mrdaro)

    Hi Tony,

    I tested again with Astra and Spectra + GiveWP but I still cannot reproduce any errors. Here’s a quick screencast to demonstrate: https://somup.com/c3Q2lPUxSx

    Plugin Support Rick Alday

    (@mrdaro)

    Hi there,

    Just checking in on this issue. Did you have a chance to look at the video I sent last week? Can you reproduce the issue with those steps?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Clash with ultimate-addons-for-gutenberg/Spectra plugin’ is closed to new replies.