rickski
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Cannot read properties of undefined (reading ‘title’)The Uncaught TypeError: Cannot read properties of undefined (reading ‘title’) which prevents the Setup Wizard from running was introduced in WooCommerce v9.9.0.
Currently not resolved in v10.5.3.
Hi @frankremmy ,
Have reverted to the latest PHP version 8.5.1, and tested older versions of WooCommerce to check if the Setup Wizard runs and the Console for Uncaught TypeError: Cannot read properties of undefined (reading ‘title’).
Your developers introduced this bug in version 9.9.0. Here is a list of tested versions and Uncaught TypeError / Setup Wizard
10.1.0 no
10.0.0 no
9.9.7 no
8.5.2 works
8.9.5 works
9.0.4 works
9.5.4 works
9.7.3 works
9.8.7 works
9.9.7 no
9.9.0 noPlease resolve ASAP. It is disappointing that others have reported this Uncaught TypeError and there has been no resolution to date.
Cheers!
BTW Why do you support / release updates for many old versions of WooCommerce, back to version 5.4? Other software developers have abandoned the strategy of trying to support / release security updates for old versions, to simplify development by having all on the same codebase.
Ho @shahzeenfarooq ,
I am running a local development server. A really simple setup. Windows 11 Pro, IIS and PHP 8.4. I can inspect all the logfiles from IIS Server, PHP and WordPress debug. The IIS web.config file has a couple of params greater than the default, as does php.ini. The logfiles are clear.
At this time there is no point / nothing to be gained from setting up a subdomain staging site on the hosting environment. If it does not work on a simple setup, a more complex one is pointless.
When this error occurred on a development site with different theme and many plugins, I decided to test on a bare bones WordPress install and I have now installed WooCommerce 10.5.3, with identical problem as to 10.5.2.
There are no issues in WordPress site health.
This problem not only occurs when clicking upon WooCommerce in the WP Menu, but also when clicking on Products > All Products, as you can see in the video link below. Does this need to be logged as a second problem?
NOTE: After installing the Loom extension to the Chrome browser, when I click on Loom to setup a recording, it generates many duplicate messages in the Chrome console being ‘Multiple versions of FeatureGateClients found on the current page’. This happens before the recording starts.
The Chrome console message that WooCommerce setup wizard generates (right at the start) is Uncaught TypeError: Cannot read properties of undefined (reading ‘title’). You can see this twice in the video when the WP menu options start the wizard.
Latest System Status Report is https://gist.github.com/rickski-au/b4c47ccc46f6739fc1605b0f110eefc5
Loom video is https://www.loom.com/share/90ca764f0d2f4baca400dca87e142b1f
Hi @frankremmy
Tried Chrome, Edge and Edge Dev browsers. Complete clear of cache.
All browsers generate the same Network error when the WooCommerce setup wizard starts…
Uncaught TypeError: Cannot read properties of undefined (reading ‘title’)
624.js at core-profiler.jsThe Edge browser has many more lines/information about the Network error. Can send screenshot if you require.
Hi @lovingbro
Started from scratch with PHP 8.4. Installed WordPress 6.9.1. Changed Setting, Permalinks to Post name. Installed WooCommerce. Activate and Setup Wizard runs with same behaviour.
REST API requests are working.
Console displays error – Uncaught TypeError: Cannot read properties of undefined (reading ‘title’)
624.js at core-profiler.jsSee system report and screenshots at https://gist.github.com/rickski-au/1f8d8b373feb0e6f416c617a4ae667ab
Status Report
http://<script src=”https://gist.github.com/rickski-au/6188aca985b72cb35784a14f5b165dbc.js”></script>
<br>### WordPress Environment ###<br><br>WordPress address (URL): https://f1rc.local<br>Site address (URL): https://f1rc.local<br>WC Version: 10.5.2<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ✔ 3.9.3<br>Log Directory Writable: ✔<br>WP Version: 6.9.1<br>WP Multisite: –<br>WP Memory Limit: 2 GB<br>WP Debug Mode: ✔<br>WP Cron: ✔<br>WP Environment Type: production<br>Language: en_AU<br>External object cache: –<br><br>### Server Environment ###<br><br>Server Info: Microsoft-IIS/10.0<br>Server Architecture: Windows NT 10.0 AMD64<br>PHP Version: 8.5.1<br>PHP Post Max Size: 1 GB<br>PHP Time Limit: 0<br>PHP Max Input Vars: 1000<br>cURL Version: 8.17.0<br>OpenSSL/3.5.4<br><br>SUHOSIN Installed: –<br>MySQL Version: 9.6.0<br>Max Upload Size: 1 GB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔<br><br>### Database ###<br><br>WC Database Version: 10.5.2<br>WC Database Prefix: f1rc_<br>Total Database Size: 5.35MB<br>Database Data Size: 3.53MB<br>Database Index Size: 1.82MB<br>f1rc_woocommerce_sessions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>f1rc_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>f1rc_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>f1rc_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>f1rc_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>f1rc_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>f1rc_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>f1rc_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>f1rc_actionscheduler_actions: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>f1rc_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>f1rc_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>f1rc_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>f1rc_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>f1rc_options: Data: 2.47MB + Index: 0.06MB + Engine InnoDB<br>f1rc_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_posts: Data: 0.06MB + Index: 0.08MB + Engine InnoDB<br>f1rc_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>f1rc_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>f1rc_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>f1rc_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>f1rc_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>f1rc_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>f1rc_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_wc_order_product_lookup: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>f1rc_wc_order_stats: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>f1rc_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>f1rc_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>f1rc_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>f1rc_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>f1rc_wc_product_meta_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>f1rc_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>f1rc_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>f1rc_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>f1rc_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br><br>### Post Type Counts ###<br><br>attachment: 1<br>page: 7<br>post: 2<br>wp_navigation: 1<br><br>### Security ###<br><br>Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔<br><br>### Active Plugins (1) ###<br><br>WooCommerce: by Automattic – 10.5.2<br><br>### Inactive Plugins (2) ###<br><br>Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.6<br>Hello Dolly: by Matt Mullenweg – 1.7.2<br><br>### Settings ###<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ✔<br>HPOS feature enabled: ✔<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: –<br>Enabled Features: analytics<br>marketplace<br>order_attribution<br>site_visibility_badge<br>remote_logging<br>email_improvements<br>blueprint<br>point_of_sale<br>custom_order_tables<br><br><br>### Logging ###<br><br>Enabled: ✔<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 174 B<br><br>### WC Pages ###<br><br>Shop base: #7 - /shop/<br>Cart: #8 - /cart/ - Contains the woocommerce/cart block<br>Checkout: #9 - /checkout/ - Contains the woocommerce/checkout block<br>My account: #10 - /my-account/ - Contains the [woocommerce_my_account] shortcode<br>Terms and conditions: ❌ Page not set<br><br>### Theme ###<br><br>Name: Twenty Twenty-Five<br>Version: 1.4<br>Author URL: https://ww.wp.xz.cn<br>Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build<br>personally we recommend using a child theme. See: How to create a child theme<br><br>Theme type: Block theme<br>WooCommerce Support: ❌ Not declared<br><br>### Templates ###<br><br>Overrides: –<br><br>### Admin ###<br><br>Enabled Features: activity-panels<br>analytics<br>analytics-scheduled-import<br>product-block-editor<br>experimental-iapi-mini-cart<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: product-data-views<br>experimental-blocks<br>experimental-iapi-runtime<br>coming-soon-newsletter-template<br>minified-js<br>product-pre-publish-modal<br>products-catalog-api<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>use-wp-horizon<br>rest-api-v4<br><br>Daily Cron: ❌ Not scheduled<br>Options: ✔<br>Notes: 55<br>Onboarding: -<br><br>### Action Scheduler ###<br><br>Complete: 8<br>Oldest: 2026-03-01 14:08:31 +1100<br>Newest: 2026-03-01 14:09:36 +1100<br><br>Pending: 12<br>Oldest: 2026-03-01 15:08:31 +1100<br>Newest: 2026-03-02 14:09:35 +1100<br><br><br>### Status report information ###<br><br>Generated at: 2026-03-01 14:49:39 +11:00<br>NOTE: Running Windows 11 and a localhost dev environment.
After completing the following steps I was able to complete the Google Authorisation and finish the WP Mail SMTP setup wizard.
1 Download cacert.pem from https://curl.se/docs/caextract.html
2 Copy cacert.pem to PHP folder extras\ssl OR new folder certificates
ie. C:\Program Files\PHP\v8.5\extras\ssl
ie. C:\Program Files\PHP\v8.5\certificates3 Edit php.ini
; cURL error 60: SSL certificate problem: unable to get local issuer certificate
curl.cainfo = “C:/Program Files/PHP/v8.5/certificates/cacert.pem”; cURL error 77: error adding trust anchors from file: ”C:/Program Files/PHP/v8.5/certificates/cacert.pem”
openssl.cafile = “C:/Program Files/PHP/v8.5/certificates/cacert.pem”4 IIS Restart server