Undefined array
-
On my new test site at art-auction.cromer-artspace.uk when a returning user logs on they get an error
Warning: Undefined array key “uwa-new-redirect” in?/homepages/…/ultimate-woocommerce-auction/includes/class-uwa-front.php?on line?1133
How do I avoid that?
The page I need help with: [log in to see the link]
-
Hi @walkcromer,
We have read your query but do not understand it properly. Please explain your query in detail. So, we will get a clear idea about it.?
1) Please share the exact test steps to reproduce this issue.
2) Could you please share the WooCommerce System Report? It can be found – in WP Admin > WooCommerce > Status > Get System Report.
3) Could you also share which theme you are using and share its zip if it is paid so that we can install and test it in-house?
Once you answer the above questions, we will check and let you know.
Thank You
On an auction product page, not being logged in, the user is prompted to log in. This opens up a new window for the user to login, On entering their correct username and password they get the error quoted. I suspect this is because the login is from a new window with no referer. As a temporary bypass I have amended the code to set the variable $uwa_new_redirect to NULL rather than the formula which solves the problem.
Theme is Inspiro
WordPress Environment WordPress address (URL): https://art-auction.cromer-artspace.uk Site address (URL): https://art-auction.cromer-artspace.uk WC Version: 7.3.0 REST API Version: ?</img> 7.3.0 WC Blocks Version: ?</img> 9.1.5 Action Scheduler Version: ?</img> 3.5.2 Log Directory Writable: ?</img> WP Version: 6.1.1 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: ?</img> Language: en_US External object cache: – Server Environment Server Info: Apache PHP Version: 8.1.14 PHP Post Max Size: 128 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.64.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 10.6.10-MariaDB-1:10.6.10+maria~deb11-log Max Upload Size: 128 MB Default Timezone is UTC: ?</img> fsockopen/cURL: ?</img> SoapClient: ?</img> DOMDocument: ?</img> GZip: ?</img> Multibyte String: ?</img> Remote Post: ?</img> Remote Get: ?</img> Database WC Database Version: 7.3.0 WC Database Prefix: sgfPXHOv Total Database Size: 6.81MB Database Data Size: 5.29MB Database Index Size: 1.52MB sgfPXHOvwoocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sgfPXHOvwoocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB sgfPXHOvwoocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sgfPXHOvwoocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB sgfPXHOvwoocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sgfPXHOvwoocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB sgfPXHOvwoocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB sgfPXHOvwoocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB sgfPXHOvwoocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB sgfPXHOvwoocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB sgfPXHOvwoocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB sgfPXHOvwoocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sgfPXHOvwoocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB sgfPXHOvwoocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sgfPXHOvactionscheduler_actions: Data: 0.05MB + Index: 0.11MB + Engine InnoDB sgfPXHOvactionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sgfPXHOvactionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sgfPXHOvactionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB sgfPXHOvcommentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB sgfPXHOvcomments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB sgfPXHOvlinks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sgfPXHOvmailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB sgfPXHOvmailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB sgfPXHOvmoppm_user_report_table: Data: 0.02MB + Index: 0.00MB + Engine InnoDB sgfPXHOvoptions: Data: 4.03MB + Index: 0.08MB + Engine InnoDB sgfPXHOvpostmeta: Data: 0.09MB + Index: 0.06MB + Engine InnoDB sgfPXHOvposts: Data: 0.14MB + Index: 0.06MB + Engine InnoDB sgfPXHOvtermmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB sgfPXHOvterms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB sgfPXHOvterm_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sgfPXHOvterm_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB sgfPXHOvusermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB sgfPXHOvusers: Data: 0.02MB + Index: 0.05MB + Engine InnoDB sgfPXHOvwc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB sgfPXHOvwc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sgfPXHOvwc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB sgfPXHOvwc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB sgfPXHOvwc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB sgfPXHOvwc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB sgfPXHOvwc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB sgfPXHOvwc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB sgfPXHOvwc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB sgfPXHOvwc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sgfPXHOvwc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sgfPXHOvwc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB sgfPXHOvwc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sgfPXHOvwc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB sgfPXHOvwc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sgfPXHOvwc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sgfPXHOvwoo_ua_auction_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts attachment: 15 custom_css: 1 customize_changeset: 26 nav_menu_item: 7 page: 7 post: 2 product: 9 revision: 16 shop_order: 1 Security Secure connection (HTTPS): ?</img> Hide errors from visitors: ?</img> Active Plugins (9) Easy WP SMTP: by Easy WP SMTP team – 1.5.3 IONOS Performance: by IONOS – 2.0.1 Kadence Blocks – Gutenberg Blocks for Page Builder Features: by Kadence WP – 2.4.22 Mailchimp for WooCommerce: by Mailchimp – 2.7.6 Password Policy Manager: by miniOrange – 1.4.6 Ultimate Auction For WooCommerce: by Nitesh Singh – 2.2.8 Shipping Method Description for WooCommerce: by Thomas Charbit – 1.2.6 WooCommerce Payments: by Automattic – 5.3.0 WooCommerce: by Automattic – 7.3.0 Inactive Plugins (4) Child Theme Configurator: by Lilaea Media – 2.6.0 IONOS Assistant: by IONOS – 8.4.2 IONOS Journey: by IONOS – 1.0.2 Ultimate Auction For WooCommerce: by Nitesh Singh – 2.2.8 Must Use Plugins (1) 1&1 Product Subdomain: by 1&1 – 1.1.0 Settings API Enabled: – Force SSL: – Currency: GBP (£) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: auction (auction) 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: ?</img> Order datastore: WC_Order_Data_Store_CPT WC Pages Shop base: #5 - / Cart: #6 - /cart Checkout: #7 - /checkout My account: #8 - /my-account Terms and conditions: ?</img> Page not set Theme Name: Inspiro Child Version: 1.7.8.1674564975 Author URL: https://www.wpzoom.com/ Child Theme: ?</img> Parent Theme Name: Inspiro Parent Theme Version: 1.7.8 Parent Theme Author URL: https://www.wpzoom.com/ WooCommerce Support: ?</img> Templates Overrides: inspiro/woocommerce/archive-product.php inspiro/woocommerce/single-product.php Admin Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-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 woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ?</img> Next scheduled: 2023-01-30 12:36:49 +00:00 Options: ?</img> Notes: 45 Onboarding: completed WooCommerce Payments Version: 5.3.0 Connected to WPCOM: Yes Blog ID: 214822237 Account ID: acct_1MU7vP2EFaoSqtUW Action Scheduler Complete: 74 Oldest: 2023-01-24 15:22:49 +0000 Newest: 2023-01-29 14:28:01 +0000 Failed: 1 Oldest: 2023-01-25 12:48:02 +0000 Newest: 2023-01-25 12:48:02 +0000 Pending: 2 Oldest: 2023-01-30 10:55:08 +0000 Newest: 2023-01-30 14:28:01 +0000 Status report information Generated at: 2023-01-30 10:55:22 +00:00 `
Hi @walkcromer,
1) We have tested your query on our server. But we did not find any errors on your site. When a user logged in to the my-account page, it redirects properly to the auction product. Please review the attached?video for it.?
https://we.tl/t-stPvADduEO2) We are not able to replicate this issue on our server. Please record a video of your issue and share it with us.
3) Have you customized the Ultimate Auction for the WooCommerce plugin? Let us know.
4) It might be the case where this issue might be occurring due to Javascript code conflict with some other plugin or current theme. Could you please do the following and let us know its result:
Activate the auction plugin. Then one by one, please deactivate other plugins installed on your website and see if this error goes away. When you find the plugin on whose deactivation, this error goes away, then please share with us the plugin name so that we can test ourselves and check the issue. Do this process by changing your current theme.
Please use this contact form for answering?the above query. We will check it and let you know.
Thank You
- The topic ‘Undefined array’ is closed to new replies.