• Resolved riverworksbiz

    (@riverworksbiz)


    I just updated my WordPress site. My WordPress version is 6.0, the WooCommerce plugin is version 6.6.0 and the
    Braintree for WooCommerce Payment Gateway plugin is version 2.6.5. My site is currently on PHP 7.4. However, I have a deprecated error —

    Deprecated: Function is_admin_page is deprecated since version 6.3! Use \Automattic\WooCommerce\Admin\PageController::is_admin_page() instead. in /home/woodgallery.riverworksmarketing.net/public_html/wp-includes/functions.php on line 5379

    When I deactivate the Braintree plugin the error goes away. All of my other plugins are up to date as well. Can you please help me figure out what needs to be fixed?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support 3 Sons Development – a11n

    (@3sonsdevelopment)

    Hey there,

    Thanks for reaching out. I tested this on my site and I didn’t run into any deprecated function warnings. I also searched the code for the Braintree extension and I don’t see where is_admin_page is used.

    Do you still have this error when only WooCommerce and Braintree are active?

    Let us know and we’ll go from there.

    Thanks!

    Thread Starter riverworksbiz

    (@riverworksbiz)

    Yes, I deactivated all other plugins except Braintree and WooCommerce, but the error still remains. If I deactivate either one, the error goes away.

    Plugin Support Brad P. a11n

    (@snaacks)

    Hi @riverworksbiz

    Thanks for letting us know that you still see the error when only these two extensions are enabled and that disabling one or the other resolves the problem.

    To help us look into this a little further we’d like to get some additional details, could you please provide us a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it here in your reply.

    Thank you!

    Thread Starter riverworksbiz

    (@riverworksbiz)

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://woodgallery.riverworksmarketing.net
    Site address (URL): https://woodgallery.riverworksmarketing.net
    WC Version: 6.6.0
    REST API Version: ? 6.6.0
    WC Blocks Version: ? 7.6.0
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 6.0
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.4.30
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.34-MariaDB-0ubuntu0.20.04.1
    Max Upload Size: 2 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.6.0
    WC Database Prefix: wp_
    Total Database Size: 56.80MB
    Database Data Size: 50.22MB
    Database Index Size: 6.58MB
    wp_woocommerce_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_order_items: Data: 0.07MB + Index: 0.03MB + Engine MyISAM
    wp_woocommerce_order_itemmeta: Data: 0.42MB + Index: 0.30MB + Engine MyISAM
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_actions: Data: 0.07MB + Index: 0.05MB + Engine MyISAM
    wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_actionscheduler_logs: Data: 0.05MB + Index: 0.04MB + Engine MyISAM
    wp_aioseo_cache: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_aioseo_notifications: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    wp_aioseo_posts: Data: 0.15MB + Index: 0.02MB + Engine MyISAM
    wp_aioseo_terms: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.19MB + Index: 0.16MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_nm_personalized: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_options: Data: 6.38MB + Index: 0.17MB + Engine InnoDB
    wp_postmeta: Data: 20.52MB + Index: 4.03MB + Engine InnoDB
    wp_posts: Data: 11.52MB + Index: 0.47MB + Engine InnoDB
    wp_revisr: Data: 0.20MB + Index: 0.03MB + Engine MyISAM
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.27MB + Index: 0.28MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.04MB + Index: 0.00MB + Engine MyISAM
    wp_wc_admin_note_actions: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_product_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wp_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.03MB + Index: 0.05MB + Engine MyISAM
    wp_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfconfig: Data: 0.47MB + Index: 0.00MB + Engine InnoDB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilemods: Data: 5.52MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfknownfilelist: Data: 3.52MB + Index: 0.00MB + Engine InnoDB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.11MB + Index: 0.09MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_tasks_meta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_yith_wapo_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_yith_wapo_types: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    attachment: 264
    custom_css: 1
    et_pb_layout: 20
    nav_menu_item: 17
    page: 13
    post: 3
    product: 59
    product_variation: 513
    revision: 449
    shop_coupon: 1
    shop_order: 214
    shop_order_refund: 8
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?Error messages should not be shown to visitors.
    
    ### Active Plugins (15) ###
    
    Accelerated Mobile Pages: by Ahmed Kaludi
    Mohammed Kaludi – 1.0.77.45
    
    AddToAny Share Buttons: by AddToAny – 1.8.4
    All in One SEO Pro: by All in One SEO Team – 4.2.2
    Classic Editor: by WordPress Contributors – 1.6.2
    Classic Widgets: by WordPress Contributors – 0.3
    Contact Form 7: by Takayuki Miyoshi – 5.5.6.1
    LiteSpeed Cache: by LiteSpeed Technologies – 4.6
    Really Simple SSL: by Really Simple Plugins – 5.3.2
    WooCommerce UPS Shipping Plugin with Print Label: by PluginHive – 4.5.2
    Braintree for WooCommerce Payment Gateway: by WooCommerce – 2.6.5
    WooCommerce Payments: by Automattic – 4.3.0
    WooCommerce Product Add-ons: by WooCommerce – 5.0.0
    WooCommerce: by Automattic – 6.6.0 (update to version 6.6.1 is available)
    Wordfence Security: by Wordfence – 7.5.11
    WP Mail SMTP: by WPForms – 3.4.0
    
    ### Inactive Plugins (2) ###
    
    UPS WooCommerce Shipping: by Xadapter – 3.9.14
    WooCommerce Product Add-ons: by WooCommerce – 2.8.1
    
    ### Dropin Plugins (1) ###
    
    maintenance.php: maintenance.php
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    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: ?
    
    ### WC Pages ###
    
    Shop base: ? Page not set
    Cart: #29386 - /cart/
    Checkout: #29387 - /checkout/
    My account: #29388 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Divi Child Theme
    Version: 2.5.9.6
    Author URL: 
    Child Theme: ?
    Parent Theme Name: Divi
    Parent Theme Version: 4.17.4
    Parent Theme Author URL: https://www.elegantthemes.com
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Subscriptions ###
    
    WCS_DEBUG: ? No
    Subscriptions Mode: ? Live
    Subscriptions Live URL: https://woodgallery.riverworksmarketing.net
    Subscription Statuses: –
    WooCommerce Account Connected: ? No
    
    ### Store Setup ###
    
    Country / State: United States (US) — Tennessee
    
    ### Payment Gateway Support ###
    
    PayPal Standard: subscriptions
    gateway_scheduled_payments
    subscription_payment_method_change_customer
    subscription_cancellation
    subscription_suspension
    subscription_reactivation
    products
    refunds
    
    PayPal Reference Transactions Enabled: ? No
    
    ### Braintree (PayPal) ###
    
    Environment: 
    Tokenization Enabled: –
    Debug Mode: Off
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    wc-pay-promotion
    wc-pay-welcome-page
    wc-pay-subscriptions-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ? Next scheduled: 2022-06-22 17:46:14 +00:00
    Options: ?
    Notes: 36
    Onboarding: completed
    
    ### WooCommerce Payments ###
    
    Version: 4.3.0
    Connected to WPCOM: No
    Blog ID: -
    Account ID: -
    
    ### Action Scheduler ###
    
    Canceled: 1
    Oldest: 2022-06-21 14:30:10 +0000
    Newest: 2022-06-21 14:30:10 +0000
    
    Complete: 132
    Oldest: 2022-06-08 18:24:06 +0000
    Newest: 2022-06-22 13:58:18 +0000
    
    Pending: 4
    Oldest: 2022-06-22 13:58:30 +0000
    Newest: 2022-06-27 21:21:58 +0000
    
    ### Status report information ###
    
    Generated at: 2022-06-22 13:58:36 +00:00
    
    Plugin Support 3 Sons Development – a11n

    (@3sonsdevelopment)

    Hi @riverworksbiz,

    Thanks for sending that over. Is there any other information listed below the deprecation warning? Sometimes a “stack trace” which shows the functions which handled a request is included. If you have one, it would be great to take a look at that too.

    Thanks

    Thread Starter riverworksbiz

    (@riverworksbiz)

    No, it doesn’t provide any other information.

    Plugin Support 3 Sons Development – a11n

    (@3sonsdevelopment)

    Hi @riverworksbiz,

    Thanks for checking. Could I get you to open up a ticket for us at WooCommerce.com? Make sure to include a link to this thread in your message so we can pick it up from here.

    https://woocommerce.com/my-account/create-a-ticket/

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Deprecated: Function is_admin_page is deprecated since version 6.3!’ is closed to new replies.