Closed adamziel closed 3 weeks ago
There's more nuance to the type of the returned value than #117 antitipated. With that PR in, WooCommerce wouldn't work:
[06-Jun-2024 16:21:26 UTC] PHP Fatal error: Uncaught TypeError: get_object_vars(): Argument #1 ($object) must be of type object, string given in /wordpress/wp-includes/class-wpdb.php:3 Stack trace: #0 /wordpress/wp-includes/class-wpdb.php(3): get_object_vars('wp_wc_product_a...') #1 /wordpress/wp-content/plugins/woocommerce/src/Internal/ProductAttributesLookup/LookupDataStore.php(69): wpdb->get_var('SHOW TABLES LIK...') #2 /wordpress/wp-content/plugins/woocommerce/src/Internal/ProductAttributesLookup/LookupDataStore.php(650): Automattic\WooCommerce\Internal\ProductAttributesLookup\LookupDataStore->check_lookup_table_exists()
Let's revert and revisit later on
cc @bgrgicak @wojtekn
There's more nuance to the type of the returned value than #117 antitipated. With that PR in, WooCommerce wouldn't work:
Let's revert and revisit later on
cc @bgrgicak @wojtekn