Overview of the Issue
When using WooCommerce Quick View Pro in Spanish, German, Dutch, Italian, Polish, Russian, Korean, Norwegian or Chinese, adding a product to the cart from the Quick View gives a PHP fatal error. The plugin’s own translation files cause it, so it also happens on sites with one language.
Workaround
Add this code to your theme’s functions.php file:
PHP
add_filter( 'ngettext', function ( $translation, $single, $plural, $number, $domain ) { if ( 'woocommerce-quick-view-pro' !== $domain || false === strpos( $translation, '|' ) ) { return $translation; } $forms = explode( '|', $translation ); return 1 === (int) $number ? $forms[0] : ( $forms[1] ?? $forms[0] ); }, 10, 5 );