• Resolved scotlandtravel

    (@scotlandtravel)


    Dear Square Support Team,

    I hope this message finds you well. I’m writing to report an issue with the WooCommerce Square Payment Gateway plugin, where I’m seeing several PHP deprecated warnings related to dynamic properties. These warnings appear in my logs during the integration of the WooCommerce cart and checkout process with my site’s Chauffeur Booking System plugin.

    Here’s a detailed description of the issue:Overview:

    I am using the WooCommerce Square Payment Gateway plugin to handle payments on my WordPress site. We’ve implemented a Chauffeur Booking System plugin, which integrates with WooCommerce to manage booking-related data (such as pickup dates, locations, and pricing) and passes this data to the WooCommerce cart. The workflow includes a form for users to submit booking details, and the data is then carried through to the WooCommerce cart and checkout process.The Problem:

    While navigating between different pages—particularly from booking pages to WooCommerce cart and checkout pages—we’re encountering the following deprecated warnings, which are filling up our logs:

    [25-Sep-2024 22:52:34 UTC] PHP Deprecated: Creation of dynamic property WooCommerce\Square\Gateway\Gift_Card::$placeholder_id is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway.php on line 428

    [25-Sep-2024 22:52:54 UTC] PHP Deprecated: Creation of dynamic property WooCommerce\Square\Gateway\Gift_Card::$is_default_placeholder is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway.php on line 428[25-Sep-2024 22:52:34 UTC] PHP Deprecated: Creation of dynamic property WooCommerce\Square\Gateway\Gift_Card::$placeholder_id is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway.php on line 428[25-Sep-2024 22:52:34 UTC] PHP Deprecated: Creation of dynamic property CHBSLogManager::$type is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/chauffeur-booking-system/class/CHBS.LogManager.class.php on line 12[25-Sep-2024 22:52:34 UTC] On non-WooCommerce page. Cart cleared.[25-Sep-2024 22:52:52 UTC] PHP Deprecated: Creation of dynamic property CHBSLogManager::$type is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/chauffeur-booking-system/class/CHBS.LogManager.class.php on line 12[25-Sep-2024 22:52:52 UTC] On cart page. Cart not cleared.[25-Sep-2024 22:52:54 UTC] PHP Deprecated: Creation of dynamic property WooCommerce\Square\Gateway\Gift_Card::$placeholder_id is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway.php on line 428[25-Sep-2024 22:52:54 UTC] On non-WooCommerce page. Cart cleared.[25-Sep-2024 22:52:54 UTC] PHP Deprecated: Creation of dynamic property CHBSBookingDriver::$bookingDriverEvent is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/chauffeur-booking-system/class/CHBS.BookingDriver.class.php on line 12[25-Sep-2024 22:52:54 UTC] PHP Deprecated: Creation of dynamic property CHBSValidation::$Notice is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/chauffeur-booking-system/class/CHBS.Validation.class.php on line 12[25-Sep-2024 22:52:54 UTC] PHP Deprecated: Creation of dynamic property CHBSExchangeRateProvider::$provider is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/chauffeur-booking-system/class/CHBS.ExchangeRateProvider.class.php on line 12[25-Sep-2024 22:52:54 UTC] PHP Deprecated: Creation of dynamic property CHBSPaymentStripe::$apiVersion is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/chauffeur-booking-system/class/CHBS.PaymentStripe.class.php on line 12[25-Sep-2024 22:52:54 UTC] PHP Deprecated: Creation of dynamic property CHBSPaymentStripe::$paymentMethod is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/chauffeur-booking-system/class/CHBS.PaymentStripe.class.php on line 14[25-Sep-2024 22:52:54 UTC] PHP Deprecated: Creation of dynamic property CHBSPaymentStripe::$event is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/chauffeur-booking-system/class/CHBS.PaymentStripe.class.php on line 29[25-Sep-2024 22:52:54 UTC] PHP Deprecated: Creation of dynamic property CHBSLogManager::$type is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/chauffeur-booking-system/class/CHBS.LogManager.class.php on line 12[25-Sep-2024 22:52:54 UTC] PHP Deprecated: Creation of dynamic property WooCommerce\Square\Gateway\Gift_Card::$is_default_placeholder is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway.php on line 428[25-Sep-2024 22:52:54 UTC] PHP Deprecated: Creation of dynamic property WooCommerce\Square\Gateway\Gift_Card::$placeholder_id is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway.php on line 428[25-Sep-2024 22:52:54 UTC] On non-WooCommerce page. Cart cleared.[25-Sep-2024 23:01:47 UTC] PHP Deprecated: Creation of dynamic property CHBSLogManager::$type is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/chauffeur-booking-system/class/CHBS.LogManager.class.php on line 12[25-Sep-2024 23:01:47 UTC] On non-WooCommerce, non-Booking page. Cart cleared.[25-Sep-2024 23:03:25 UTC] PHP Deprecated: Creation of dynamic property WooCommerce\Square\Gateway\Gift_Card::$is_default_placeholder is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway.php on line 428[25-Sep-2024 23:03:25 UTC] PHP Deprecated: Creation of dynamic property WooCommerce\Square\Gateway\Gift_Card::$placeholder_id is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway.php on line 428[25-Sep-2024 23:03:25 UTC] PHP Deprecated: Creation of dynamic property CHBSLogManager::$type is deprecated in /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/chauffeur-booking-system/class/CHBS.LogManager.class.php on line 12[25-Sep-2024 23:03:25 UTC] On WooCommerce cart, checkout, or endpoint page. Cart not cleared.

    Expand

    NOTE: I HAVE DISABLED SQUARE FOR NOW AND IT FIXED MY PROBLEM, but I need solution so I can use square. Also note that even tho log shows that my ccustom code snippet is working fine yet it clears the cart from transferring from cart page to checkout page:
    MY CODE:

    add_action( ‘template_redirect’, ‘bryce_clear_cart’ );
    function bryce_clear_cart() {
    // Check if WooCommerce is active
    if ( ! class_exists( ‘WooCommerce’ ) ) {
    error_log( ‘WooCommerce is not active.’ );
    return;
    }

    // Do not clear the cart if it's an AJAX request (e.g., booking interaction, adding/removing items)if ( wp_doing_ajax() ) {    error_log( 'AJAX request detected. Cart not cleared.' );    return;}// Do not clear the cart if the user is submitting the checkout formif ( isset( $_POST['woocommerce_checkout_place_order'] ) ) {    error_log( 'Checkout form submission detected. Cart not cleared.' );    return;}// Do not clear the cart on WooCommerce-specific pagesif ( is_cart() || is_checkout() || is_wc_endpoint_url() ) {    error_log( 'On WooCommerce cart, checkout, or endpoint page. Cart not cleared.' );    return;}// Do not clear the cart on other WooCommerce-related pages (like product, shop, etc.)if ( is_woocommerce() ) {    error_log( 'On general WooCommerce page. Cart not cleared.' );    return;}// If we're not on any WooCommerce or booking-related page, clear the carterror_log( 'On non-WooCommerce, non-Booking page. Cart cleared.' );WC()->cart->empty_cart( true );

    Expand

    }



    These warnings are generated whenever the system transitions from the booking pages or while interacting with WooCommerce’s checkout process.What We Are Trying to Achieve:

    We are working on ensuring a smooth user experience for customers booking chauffeur services, where the following workflow is critical:

    1. A customer selects booking details (pickup date, location, etc.) using the?Chauffeur Booking System?plugin.
    2. These booking details are passed to the?WooCommerce cart, and the user proceeds to checkout.
    3. The?WooCommerce Square Payment Gateway?processes the payment for the booking.

    While this flow works well functionally, these deprecated warnings clutter the log, potentially impacting future site performance, especially as the volume of transactions grows.



    WordPress Environment

    WordPress address (URL): https://scotlandtravelsolution.com
    Site address (URL): https://scotlandtravelsolution.com
    WC Version: 9.3.3
    Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.
    Action Scheduler Version: ? 3.8.1
    Log Directory Writable: ?
    WP Version: 6.6.2
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: ? Server Environment

    Server Info: Apache
    PHP Version: 8.2.23
    PHP Post Max Size: 256 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    cURL Version: 8.2.1
    OpenSSL/3.1.4

    SUHOSIN Installed: –
    MySQL Version: 8.0.36-28
    Max Upload Size: 256 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? Database

    WC Database Version: 9.3.3
    WC Database Prefix: uhj_
    Total Database Size: 48.37MB
    Database Data Size: 40.08MB
    Database Index Size: 8.29MB
    uhj_woocommerce_sessions: Data: 0.11MB + Index: 0.02MB + Engine InnoDB
    uhj_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    uhj_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_woocommerce_order_itemmeta: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    uhj_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    uhj_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_actionscheduler_actions: Data: 0.23MB + Index: 0.22MB + Engine InnoDB
    uhj_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_actionscheduler_logs: Data: 0.17MB + Index: 0.14MB + Engine InnoDB
    uhj_addonlibrary_addons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_addonlibrary_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_aioseo_blc_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_aioseo_blc_link_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_aioseo_blc_links: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    uhj_aioseo_blc_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    uhj_aioseo_blc_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_aioseo_cache: Data: 0.14MB + Index: 0.03MB + Engine InnoDB
    uhj_aioseo_crawl_cleanup_blocked_args: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_aioseo_crawl_cleanup_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    uhj_aioseo_posts: Data: 0.20MB + Index: 0.02MB + Engine InnoDB
    uhj_cartflows_ca_cart_abandonment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_chaty_contact_form_leads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_comments: Data: 0.16MB + Index: 0.09MB + Engine InnoDB
    uhj_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_eb_form_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_ff_scheduled_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_fluentform_entry_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_fluentform_form_analytics: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_fluentform_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_fluentform_forms: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    uhj_fluentform_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_fluentform_submission_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_fluentform_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_frmt_form_entry: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    uhj_frmt_form_entry_meta: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    uhj_frmt_form_reports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_frmt_form_views: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    uhj_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_gla_budget_recommendations: Data: 0.19MB + Index: 0.14MB + Engine InnoDB
    uhj_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_hfcm_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    uhj_jetpack_waf_blocklog: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_mclean_refs: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    uhj_mclean_scan: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_options: Data: 9.08MB + Index: 0.17MB + Engine InnoDB
    uhj_postmeta: Data: 17.34MB + Index: 3.77MB + Engine InnoDB
    uhj_posts: Data: 7.34MB + Index: 0.22MB + Engine InnoDB
    uhj_rm_custom_status: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_fields: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_front_users: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_login: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_login_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_paypal_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_paypal_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_reports_notifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_rows: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_sent_mails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_sessions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_submission_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_tabs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_task_exe_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_rm_tasks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_sgs_log_events: Data: 1.02MB + Index: 0.20MB + Engine InnoDB
    uhj_sgs_log_visitors: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    uhj_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_trp_gettext_en_us: Data: 0.31MB + Index: 0.33MB + Engine InnoDB
    uhj_trp_gettext_original_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_trp_gettext_original_strings: Data: 0.28MB + Index: 0.17MB + Engine InnoDB
    uhj_user_registration_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_usermeta: Data: 0.17MB + Index: 0.06MB + Engine InnoDB
    uhj_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    uhj_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    uhj_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    uhj_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    uhj_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    uhj_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    uhj_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_wc_orders: Data: 0.05MB + Index: 0.11MB + Engine InnoDB
    uhj_wc_orders_meta: Data: 0.16MB + Index: 0.28MB + Engine InnoDB
    uhj_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_wc_product_meta_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    uhj_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uhj_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_wdr_order_item_discounts: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    uhj_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    uhj_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB
    uhj_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_wpml_mails: Data: 0.34MB + Index: 0.02MB + Engine InnoDB
    uhj_wsal_metadata: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    uhj_wsal_occurrences: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uhj_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uhj_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts

    attachment: 329
    brtpmj_review: 6
    chbs_booking: 289
    chbs_booking_extra: 1
    chbs_booking_form: 5
    chbs_coupon: 1
    chbs_driver: 2
    chbs_email_account: 1
    chbs_location: 5
    chbs_price_rule: 8
    chbs_route: 7
    chbs_tax_rate: 5
    chbs_vehicle: 6
    chbs_vehicle_attr: 8
    chbs_vehicle_company: 1
    custom_css: 2
    custom-css-js: 1
    customize_changeset: 1
    elementor_library: 36
    elementor-hf: 1
    flamingo_contact: 1
    forminator_forms: 10
    mptbm_booking: 3
    mptbm_extra_services: 1
    mptbm_rent: 10
    nav_menu_item: 28
    order_status: 1
    page: 42
    post: 1
    product: 285
    revision: 33
    shop_coupon: 32
    shop_order: 11
    shop_order_placehold: 51
    user_registration: 2
    whatsapp-accounts: 1
    wmpc-trash: 112
    wp_font_face: 33
    wp_font_family: 12
    wp_global_styles: 2
    wp_navigation: 1
    wpforms: 4
    yaymail_template: 11 Security

    Secure connection (HTTPS): ?
    Hide errors from visitors: ? Active Plugins (35)

    Unlimited Elements for Elementor: by Unlimited Elements – 1.5.124
    3r Elementor Timeline Widget: by B.M. Rafiul Alam – 2.3
    Better Business Reviews – Trustpilot WordPress Plugin.: by Better Business Reviews – 0.0.6
    Chaty: by Premio – 3.3
    Chauffeur Taxi Booking System for WordPress: by QuanticaLabs – 7.8
    Code Snippets: by Code Snippets Pro – 3.6.5.1
    Simple Custom CSS and JS: by SilkyPress.com – 3.47
    Elementor: by Elementor.com – 3.24.0
    Essential Addons for Elementor: by WPDeveloper – 6.0.5
    Flexible Checkout Fields: by WP Desk – 4.1.14
    Forminator: by WPMU DEV – 1.35.1
    GA Google Analytics: by Jeff Starr – 20240820
    Site Kit by Google: by Google – 1.136.0
    GTM Kit: by GTM Kit – 1.23.3
    Header Footer Code Manager: by DraftPress – 1.1.38
    Make Connector: by Celonis s.r.o. – 1.5.8
    Jetpack Protect: by Automattic – Jetpack Security team – 3.0.2
    Jetpack: by Automattic – 13.8.1
    Loco Translate: by Tim Whitlock – 2.6.11
    Members: by MemberPress – 3.2.10
    Notibar – WordPress Notification Bar: by Ninja Team – 2.1.4
    Order Export & Order Import for WooCommerce: by WebToffee – 2.5.6
    Royal Elementor Addons: by WP Royal – 1.3.986
    Speed Optimizer: by SiteGround – 7.6.6
    Tawk.to Live Chat: by Tawkto – 0.8.6
    Templately: by Templately – 3.1.5
    The Plus Addons for Elementor: by POSIMYTH – 5.6.10
    Trustpilot-reviews: by Trustpilot – 2.5.925
    WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.3.0
    WooCommerce.com Update Manager: by Automattic – 1.0.3
    WooPayments: by WooCommerce – 8.2.2
    WooCommerce: by Automattic – 9.3.3
    WP Mail Logging: by WP Mail Logging Team – 1.12.0
    WP Mail SMTP: by WP Mail SMTP – 4.1.1
    WP Activity Log: by Melapress – 5.2.1 Inactive Plugins (2)

    Security Optimizer: by SiteGround – 1.5.5
    WooCommerce Square: by WooCommerce – 4.8.1 Dropin Plugins ()

    object-cache.php: Memcached Settings

    Legacy API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)

    Connected to WooCommerce.com: ?
    Enforce Approved Product Download Directories: ?
    HPOS feature enabled: ?
    Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
    HPOS data sync enabled: – Logging

    Enabled: ?
    Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
    Retention period: 30 days
    Level threshold: –
    Log directory size: 7 MB WC Pages

    Shop base: #1439 – /shop/
    Cart: #1440 – /cart/ – Contains the [woocommerce_cart] shortcode
    Checkout: #1441 – /checkout/ – Contains the [woocommerce_checkout] shortcode
    My account: #1442 – /my-account/
    Terms and conditions: #24226 – /terms-conditions/ Theme

    Name: Astra
    Version: 4.8.1
    Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ? Templates

    Overrides: /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/royal-elementor-addons/includes/woocommerce/templates/cart/cart.php
    /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/royal-elementor-addons/includes/woocommerce/templates/cart/mini-cart.php version 7.9.0 is out of date. The core version is 9.2.0
    /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/royal-elementor-addons/includes/woocommerce/templates/notices/error.php version 3.9.0 is out of date. The core version is 8.6.0
    /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/royal-elementor-addons/includes/woocommerce/templates/notices/notice.php version 3.9.0 is out of date. The core version is 8.6.0
    /home/customer/www/scotlandtravelsolution.com/public_html/wp-content/plugins/royal-elementor-addons/includes/woocommerce/templates/notices/success.php version 3.9.0 is out of date. The core version is 8.6.0

    Outdated Templates: ?

                        Learn how to update                  |
    
    
    
    
                        Clear system status theme info cache

    WooPayments

    Version: 8.2.2
    Connected to WPCOM: Yes
    WPCOM Blog ID: 233644029
    Account ID: acct_1PLvsKCRvY2CkqJN
    Payment Gateway: Enabled
    Test Mode: Disabled
    Enabled APMs: card
    WooPay: Not eligible
    Apple Pay / Google Pay: Enabled (cart,checkout,product)
    Fraud Protection Level: basic
    Multi-currency: Disabled
    Auth and Capture: Enabled
    Documents: Enabled
    Logging: Enabled Admin

    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customize-store
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    pattern-toolkit-full-composability
    product-custom-fields
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    printful
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    launch-your-store

    Disabled Features: experimental-blocks
    minified-js
    product-pre-publish-modal
    settings
    async-product-editor-category-field
    product-editor-template-system
    blueprint
    reactify-classic-payments-settings

    Daily Cron: ? Next scheduled: 2024-09-25 23:14:58 +01:00
    Options: ?
    Notes: 80
    Onboarding: skipped Action Scheduler

    Canceled: 15
    Oldest: 2024-08-26 10:23:08 +0000
    Newest: 2024-09-16 18:36:36 +0000

    Complete: 655
    Oldest: 2024-08-26 02:18:14 +0000
    Newest: 2024-09-25 23:11:08 +0000

    Failed: 54
    Oldest: 2024-05-22 23:16:27 +0000
    Newest: 2024-08-30 19:51:30 +0000

    Pending: 10
    Oldest: 2024-09-25 23:12:08 +0000
    Newest: 2024-10-02 21:41:32 +0000 Status report information

    Generated at: 2024-09-26 00:11:46 +01:00
    `

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello scotlandtravel,

    Thank you for contacting WooCommerce support.

    Please note that deprecated warnings are typically aimed at developers, signaling that certain parts of the code will need to be updated in future versions. These warnings generally won’t affect the current functionality of your site.

    It should be safe to continue using the WooCommerce Square plugin and proceed with your business operations as usual.

    If you notice anything wrong with the functionality, let me know and I will be happy to investigate it.

    Best regards.

    Thread Starter scotlandtravel

    (@scotlandtravel)

    yes, im not able to use it as it clears cart,please read first topic again i have mentioned everything and my code as well

    leaving its snippet here:

    While navigating between different pages—particularly from?booking pages?to?WooCommerce cart and checkout pages—we’re encountering the following deprecated warnings, which are filling up our logs:

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello scotlandtravel,

    Thank you for the clarification.

    I understand the issue you’re facing with the cart being cleared when using your custom code.
    However, since this issue is related to custom coding, it falls outside the scope of our support policy.

    I recommend reaching out to a developer who can assist with troubleshooting and adjusting your code.
    You can find a good developer at WooExperts and Codeable.

    I hope this helps.

    Best regards.

    Thread Starter scotlandtravel

    (@scotlandtravel)

    nah, the issue is with some code in plugin, as this same code works fine with woo payments and square plugin isnt working.

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello scotlandtravel,

    Thank you for your reply.

    I understand that custom code may work with other plugins, but it’s possibly not compatible with the WooCommerce Square plugin.

    Please note that custom code-related issues fall outside our support’s scope.
    I would recommend reaching out to a developer to review the code for compatibility with Square.

    Appreciate your understanding.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.