WooCommerce 10.5 removes AccessiblePrivateMethods: the fix
WooCommerce 10.5 drops the AccessiblePrivateMethods trait that let private methods act as hook callbacks. Extensions still using it will throw a fatal error. The replacement is a public method carrying an @internal annotation.