impress-org / givewp-elementor-widgets

Adding all GiveWP shortcodes as Elementor widgets
GNU General Public License v3.0
2 stars 0 forks source link

Register hooks should use updated function #18

Open mathetos opened 2 years ago

mathetos commented 2 years ago

User Story

As a user, I want to use this addon without warnings.

Details

When installed, a warning appears: Deprecated: Function _register_controls is deprecated since version 3.1.0! Use Elementor\Controls_Stack::register_controls() instead. in /chroot/home/jDHGtMwA/tamemarten.build067.wpsandbox.app/html/wp-includes/functions.php on line 5379

image

Expected Behavior

No warnings appear.

Steps to Reproduce

  1. Install GiveWP and Elementor Free
  2. Install this add-on
  3. Create a form and embed it via the Give Elementor widget on a page
  4. View error

Visuals

Additional Context

As seen on this page https://tamemarten.build067.wpsandbox.app/sample-page/

Login available via WP Sandbox

System Information

### WordPress Environment ### Home URL: https://tamemarten.build067.wpsandbox.app Site URL: https://tamemarten.build067.wpsandbox.app WP Version: 6.0 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: ✔ WP Cron: ✔ Language: en_US Permalink Structure: /%postname%/ Show on Front: posts Table Prefix Length: 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, refunded, failed, revoked, cancelled, abandoned, processing, preapproval, give_subscription ### Server Environment ### Hosting Provider: DBH: gpc067-db1-int, SRV: tamemarten.build067.wpsandbox.app TLS Connection: Connection uses TLS 1.2 TLS Connection: Bad Server Info: Apache PHP Version: 7.4.22 PHP Post Max Size: 2 GB PHP Time Limit: 600 PHP Max Input Vars: 16384 PHP Max Upload Size: 2 GB cURL Version: ❌ 7.29.0, NSS/3.53.1 - We recommend a minimum cURL version of 7.40. 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.20.1 GiveWP Cache: Enabled Database Updates: All DB Updates Completed. Database Updates: 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 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❌Admin Renewal Receipt Email❌Subscription Cancelled Email❌Admin Subscription Cancelled Email❌Subscription Completed Email❌Subscription Reminder Email✔Subscriptions Email Access✔Subscription Payment Failed Email Upgraded From: 2.20.0 Test Mode: Enabled Currency Code: USD Currency Position: Before Decimal Separator: . Thousands Separator: , Success Page: https://tamemarten.build067.wpsandbox.app/donation-confirmation/ Failure Page: https://tamemarten.build067.wpsandbox.app/donation-failed/ Donation History Page: https://tamemarten.build067.wpsandbox.app/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 ### Give - Recurring Donations: ❌ Unlicensed – by GiveWP – 1.15.0 ### Other Active Plugins ### Code Snippets: by Code Snippets Pro – 3.1.0 Elementor: by Elementor.com – 3.6.5 Email Log: by Sudar – 2.4.8 ### Inactive Plugins ### Akismet Anti-Spam: by Automattic – 4.2.4 Hello Dolly: by Matt Mullenweg – 1.7.2 Query Monitor: by John Blackbourn – 3.9.0 ### Active MU Plugins ### WP Sandbox: by StellarWP – 2.0.0 ### Theme ### Name: Go Version: 1.6.0 Author URL: https://www.godaddy.com Child Theme: No – 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

Acceptance Criteria