Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter magamatt

    (@magamatt)

    Hi Matheus, thank for your reply, below is the snippet I am using.

    Nnow I would like the additional field ‘cellular’ to be visible only in the form with ID 20023, how do I update my script?

    add_action( ‘give_fields_donation_form_after_personal_info’, function( $group ) {
    $group->append(
    give_field( ‘text’, ‘Cellular’ )
    ->showInReceipt()
    ->minLength(2)
    ->label( ( ‘Numero di cellulare’ )) ->maxLength(30) ->placeholder(‘Inserisci qui il numero di cellulare per facilitare le comunicazioni’) ->storeAsDonorMeta() ->helpText( ( ‘Inserisci qui il numero di cellulare per facilitare le comunicazioni’ ) ) //how this is displayed is up to the template, but if the template has help text displayed, this is how to set it.
    );
    });

    Thread Starter magamatt

    (@magamatt)

    Sorry, your reply email had gone to spam, I will now proceed to provide you with what you requested

    ————————

    I saw that you marked the problem as solved, however, the problem is still there.
    I have contacted support as indicated, but no one has written to me again.
    How can we solve it?
    Thank you

    • This reply was modified 1 year, 3 months ago by magamatt.
    Thread Starter magamatt

    (@magamatt)

    Hi @matheusfd, any update on this issue?

    I need to reactivate the plugin on my site to do some more testing before going online.
    Thank you

    Thread Starter magamatt

    (@magamatt)

    Hi @matheusfd, it’s really simple to recreate…

    1 – In elementor Theme builder I create a new header
    2- Add a new column width the wordpress menu widget and select a menu with sub-menu
    3 – I set horizontal menu and the color of menu e sub-menu so co that they are readable and SAVE

    In backend it works, in frontend i can’t see submenu. As soon as I disable “Give” plugin it starts working again

    Below I attach 2 screenshots in editor mode and in the frontend

    Of course, I have already tried updating both elementor and give, updated the “Hello” theme, and regenerated the css. The problem occurs even on different browsers and with anonymous browsing. I am waiting for your feedback, thank you

    Thread Starter magamatt

    (@magamatt)

    Hi, I followed your steps, but in the third point I saw that there was no update pending yet, as you can see from these 2 screenshots:
    https://www.larchebologna.it/arche_staging/wp-content/uploads/2022/12/update-pag1.png
    https://www.larchebologna.it/arche_staging/wp-content/uploads/2022/12/update-pag2.png

    However, I checked the logs and found 2 pages of errors which I am attaching below:
    https://www.larchebologna.it/arche_staging/wp-content/uploads/2022/12/log1.png
    https://www.larchebologna.it/arche_staging/wp-content/uploads/2022/12/log2.png

    If you need the details of someone in particular, let me know and I’ll copy it here.

    Also in the side menu I have a notification for 2 updates which takes me to a database update page as I am attaching:
    https://www.larchebologna.it/arche_staging/wp-content/uploads/2022/12/menu-with-notice.png
    https://www.larchebologna.it/arche_staging/wp-content/uploads/2022/12/db-update.png

    What to do now?

    Thread Starter magamatt

    (@magamatt)

    Hi, thanks for your support, I’m currently on the staging site, so I’m struggling to test all the features.

    First of all, the donor and the form used are no longer in the donation list

    Furthermore, I find in the dashboard the notification “Updating database – An unexpected problem occurred while updating the database which caused it to stop automatically. Contact support.”

    Is there any way I can provide you with the staging site login credentials so you can verify?

    Thank’s
    Matteo

    Thread Starter magamatt

    (@magamatt)

    Hi, here’s error log:

    Error notification
    
    For site https://www.larchebologna.it/arche_staging
    Error Level: E_ERROR
    Message: Uncaught TypeError: Argument 2 passed to Give\Framework\Support\ValueObjects\Money::fromDecimal() must be of the type string, null given, called in /home/larcheboar/www/arche_staging/wp-content/plugins/give/src/Donations/DataTransferObjects/DonationQueryData.php on line 143 and defined in /home/larcheboar/www/arche_staging/wp-content/plugins/give/src/Framework/Support/ValueObjects/Money.php:155
    Stack trace:
    #0 /home/larcheboar/www/arche_staging/wp-content/plugins/give/src/Donations/DataTransferObjects/DonationQueryData.php(143): Give\Framework\Support\ValueObjects\Money::fromDecimal(NULL, NULL)
    #1 /home/larcheboar/www/arche_staging/wp-content/plugins/give/src/Donations/Models/Donation.php(274): Give\Donations\DataTransferObjects\DonationQueryData::fromObject(Object(stdClass))
    #2 /home/larcheboar/www/arche_staging/wp-content/plugins/give/src/Framework/Models/ModelQueryBuilder.php(91): Give\Donations\Models\Donation::fromQueryBuilderObject(Object(stdClass))
    #3 /home/larcheboar/www/arche_staging/wp-content/plugi
    File: /home/larcheboar/www/arche_staging/wp-content/plugins/give/src/Framework/Support/ValueObjects/Money.php
    Line: 155
    Request: /arche_staging/wp-admin/edit.php?post_type=give_forms&page=give-tools
    Referrer: http%3A%2F%2Fwww.larchebologna.it%2Farche_staging%2Fwp-admin%2Fedit.php%3Fpost_type%3Dgive_forms%26page%3Dgive-forms
    User ID: 1

    And here is site report:

    ### WordPress Environment ###
    
    Home URL: https://www.larchebologna.it/arche_staging
    Site URL: https://www.larchebologna.it/arche_staging
    WP Version: 5.9.5
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: it_IT
    Permalink Structure: 
    Show on Front: page
    Page on Front: Home (#299)
    Page for Posts: Notizie (#435)
    Table Prefix Length: wpstg0_
    Table Prefix Length: 7
    Table Prefix Status: Acceptable
    Admin AJAX: Accessibile
    Registered Post Statuses: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, refunded, failed, revoked, cancelled, abandoned, processing, preapproval, tribe-ea-success, tribe-ea-failed, tribe-ea-schedule, tribe-ea-pending, tribe-ea-draft, tribe-ignored, dp-rewrite-republish
    
    ### Server Environment ###
    
    Hosting Provider: DBH: larcheboar040864.mysql.db, SRV: www.larchebologna.it
    TLS Connection: Connessione usata TLS 1.3
    TLS Connection: Probably Okay
    Server Info: Apache
    PHP Version: 7.4.25
    PHP Post Max Size: 130 MB
    PHP Time Limit: 165
    PHP Max Input Vars: 16000
    PHP Max Upload Size: 128 MB
    cURL Version: 7.64.0, OpenSSL/1.1.1n
    SUHOSIN Installed: –
    MySQL Version: 5.7.40
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    gzip: ?
    GD Graphics Library: ?
    Multibyte String: ?
    Pubblicazione Remota: ?
    Get Remoto: ?
    
    ### GiveWP Configuration ###
    
    GiveWP Version: 2.23.2
    GiveWP Cache: Abilitato
    Database Updates: Ancora 2 aggiornamenti devono essere eseguiti. (In pausa)
    Database Updates: Tutte le migrazioni del database completate.
    Database Tables: ? wpstg0_give_donors? wpstg0_give_donormeta? wpstg0_give_comments? wpstg0_give_commentmeta? wpstg0_give_sessions? wpstg0_give_formmeta? wpstg0_give_sequential_ordering? wpstg0_give_donationmeta? wpstg0_give_revenue? wpstg0_give_migrations? wpstg0_give_log
    GiveWP Cache: Abilitato
    GiveWP Cache: ?Nuova donazione?Ricevuta della donazione?Nuova donazione offline?Istruzioni per la donazione offline?Registrazione di un nuovo utente?Informazioni dell'utente registrato?Note relative alla donazione?Accesso via email
    Upgraded From: 1.8.13
    Test Mode: Disabilitato
    Currency Code: EUR
    Currency Position: Prima
    Decimal Separator: ,
    Thousands Separator: .
    Success Page: https://www.larchebologna.it/arche_staging/?page_id=550
    Failure Page: https://www.larchebologna.it/arche_staging/?page_id=8
    Donation History Page: https://www.larchebologna.it/arche_staging/?page_id=9
    GiveWP Forms Slug: /donations/
    Enabled Payment Gateways: PayPal Standard, Donazione con bonifico
    Default Payment Gateway: PayPal Standard
    PayPal IPN Notifications: IPN ricevuto per #4906 ( 8DY96497V4638271B ) su 11/30/2022 a 16:27. Stato VERIFIED
    Donor Email Access: Disabilitato
    Stripe Webhook Notifications: N/A
    
    ### Active GiveWP Add-ons ###
    
    ### Other Active Plugins ###
    
    Backup Duplicator & Migration - WP STAGING: di WP-STAGING, WPStagingBackup – 2.11.0
    CMP - Coming Soon & Maintenance Plugin: di NiteoThemes – 4.1.3
    Codestar Framework: di Codestar – 1.0.2
    Contact Form 7: di Takayuki Miyoshi – 4.8.1
    Custom Sidebars: di WPMU DEV – 3.1.1
    Download Manager: di W3 Eden, Inc. – 5.4.1
    Duplicator Pro: di Snap Creek – 4.5.8.3
    FlowPaper: di Devaldi Ltd – 1.9.2
    Heaven Hands Custom Post: di CodexCoder – 1.0.0
    Heaven Hands Essntial: di CodexCoder – 1.0.0
    Loco Translate: di Tim Whitlock – 2.6.2
    MC4WP: Mailchimp for WordPress: di ibericode – 4.8.5
    Popup Builder: di Sygnoos – 3.84
    Query Monitor: di John Blackbourn – 3.10.1
    Responsive Lightbox & Gallery: di dFactory – 2.3.2
    Simple Custom CSS and JS: di SilkyPress.com – 3.36
    Site Kit by Google: di Google – 1.75.0
    Smash Balloon Instagram Feed: di Smash Balloon – 2.9.1
    Termly | GDPR/CCPA Cookie Consent Banner: di Termly – 3.0.2
    The Events Calendar: di Modern Tribe, Inc. – 4.6.21
    WPBakery Page Builder: di Michael M - WPBakery.com – 6.6.0
    WPDM - Extended Short-codes: di Shaon – 2.8.8
    WPDM - Page Template: di Shaon – 1.1
    WPDM - TinyMce Button: di Shaon – 2.8.3
    WP Downgrade | Specific Core Version: di Reisetiger – 1.2.5
    Yoast Duplicate Post: di Enrico Battocchi & Team Yoast – 4.1.2
    YouTube Channel: di Aleksandar Uro?evi? – 3.0.12.1
    
    ### Inactive Plugins ###
    
    Recent Facebook Posts: di Danny van Kooten – 2.0.13
    Recent Posts Widget Extended: di Satrya – 1.0.0
    WPBruiser: di Mihai Chelaru – 3.1.43
    WPMU DEV Dashboard: di WPMU DEV – 4.11.13
    WP Rocket: di WP Media – 3.2.6
    
    ### Active MU Plugins ###
    
    WP STAGING Optimizer: di René Hermenau – 1.5.1
    
    ### Theme ###
    
    Name: Heaven Hands-Child
    Version: 1.0.0
    Author URL: https://themeforest.net/user/labartisan
    Child Theme: Sì
    Parent Theme Name: heaven-hands
    Parent Theme Version: 1.1.5
    Parent Theme Author URL: https://www.codexcoder.com

    Thank’s Matteo

    Thread Starter magamatt

    (@magamatt)

    Ben, thank for your reply.

    I know my plugin version is very old, I attempted an update last year but it failed.
    I will definitely do some testing with a stage site to try out some updates.

    Thank’s

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