CRITICAL Uncaught TypeError: Unsupported operand types: int – string
-
Hi there
I have an issue that is logged as follows:
CRITICAL Uncaught TypeError: Unsupported operand types: int - string in /wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/NoteTraits.php:32 Stack trace: #0 /wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/MobileApp.php(34): Automattic\WooCommerce\Admin\Notes\MobileApp::wc_admin_active_for(172800) #1 /wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/NoteTraits.php(74): Automattic\WooCommerce\Admin\Notes\MobileApp::get_note() #2 /wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Events.php(88): Automattic\WooCommerce\Admin\Notes\MobileApp::possibly_add_note() #3 /wp-includes/class-wp-hook.php(287): Automattic\WooCommerce\Admin\Events->do_wc_admin_daily() #4 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #5 /wp-includes/plugin.php(551): WP_Hook->do_action(Array) #6 /wp-cron.php(138): do_action_ref_array('wc_admin_daily', Array) #7 {main} thrown in /wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/NoteTraits.php on line 32
I have updated WP to 5.7.2 and WooCommerce to 5.3.0
I noted your response to another user which involved disabling WooCommerce Admin, but there is no such option in the current version.
I found elsewhere that someone had solved their issue by rolling back their PHP version from 8 to 7.4. This worked for me too. However, I need to address the issue so that I can update PHP again in the near future.
Can you offer any assistance?
Thanks!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘CRITICAL Uncaught TypeError: Unsupported operand types: int – string’ is closed to new replies.