Error message (translation issue??)
-
Hi,
I’ve started getting this message on backend, at the header of woocommerce related sections on the backend. It won’t appear at front, just on backend for now.Warning: sprintf(): Too few arguments in /home/duran/public_html/asisshop/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-help.php on line 49
Warning: sprintf(): Too few arguments in /home/duran/public_html/asisshop/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-help.php on line 55
The error disappears at the moment I switch from es_AR translation to English (in wordpress settings).
Does anyone experience the same issue? Can someone help me?Thanks in advance
-
Hi there!
In order to troubleshoot this further, would you mind sharing a copy of your system status report? You can find that under **WooCommerce > System Status**
Thanks!
Hi, here you have it. Thanks!
### WordPress Environment ### WordPress address (URL): https://www.santeriaasis.com.ar/asisshop Site address (URL): https://www.santeriaasis.com.ar/asisshop WC Version: 3.6.4 Log Directory Writable: ? WP Version: 5.2.1 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: es_AR External object cache: – ### Server Environment ### Server Info: Apache/2.4.39 (cPanel) OpenSSL/1.0.2r mod_bwlimited/1.4 Phusion_Passenger/5.3.7 PHP Version: 5.6.40 - Recomendamos usar la versión 7.2 o superior de PHP para un mayor rendimiento y seguridad. Cómo actualizar tu versión de PHP PHP Post Max Size: 64 MB PHP Time Limit: 180 PHP Max Input Vars: 1000 cURL Version: 7.62.0 OpenSSL/1.0.2k SUHOSIN Installed: – MySQL Version: ? 5.5.62-cll - Recomendamos como versión mínima de MySQL la 5.6. Ver: Requisitos de WordPress Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.6.4 WC Database Prefix: wp_ MaxMind GeoIP Database: ? Tama?o total de la base de datos: 12.98MB Tama?o de los datos de la base de datos: 10.09MB Tama?o del índice de la base de datos: 2.89MB wp_woocommerce_sessions: Datos: 0.02MB + índice: 0.00MB wp_woocommerce_api_keys: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_attribute_taxonomies: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_downloadable_product_permissions: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_order_items: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_order_itemmeta: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_tax_rates: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_tax_rate_locations: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_shipping_zones: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_shipping_zone_locations: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_shipping_zone_methods: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_payment_tokens: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_payment_tokenmeta: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_log: Datos: 0.00MB + índice: 0.00MB wp_commentmeta: Datos: 0.00MB + índice: 0.00MB wp_comments: Datos: 0.01MB + índice: 0.01MB wp_et_bloom_stats: Datos: 0.00MB + índice: 0.00MB wp_et_social_stats: Datos: 0.00MB + índice: 0.00MB wp_ewwwio_images: Datos: 0.76MB + índice: 0.37MB wp_ewwwio_queue: Datos: 0.01MB + índice: 0.01MB wp_links: Datos: 0.00MB + índice: 0.00MB wp_nm_personalized: Datos: 0.02MB + índice: 0.00MB wp_options: Datos: 0.89MB + índice: 0.06MB wp_postmeta: Datos: 5.33MB + índice: 1.37MB wp_posts: Datos: 2.39MB + índice: 0.33MB wp_termmeta: Datos: 0.04MB + índice: 0.03MB wp_terms: Datos: 0.02MB + índice: 0.05MB wp_term_relationships: Datos: 0.22MB + índice: 0.48MB wp_term_taxonomy: Datos: 0.03MB + índice: 0.03MB wp_tinvwl_analytics: Datos: 0.00MB + índice: 0.00MB wp_tinvwl_items: Datos: 0.00MB + índice: 0.00MB wp_tinvwl_lists: Datos: 0.00MB + índice: 0.00MB wp_usermeta: Datos: 0.27MB + índice: 0.02MB wp_users: Datos: 0.00MB + índice: 0.01MB wp_wc_admin_notes: Datos: 0.00MB + índice: 0.00MB wp_wc_admin_note_actions: Datos: 0.00MB + índice: 0.00MB wp_wc_customer_lookup: Datos: 0.00MB + índice: 0.00MB wp_wc_download_log: Datos: 0.00MB + índice: 0.00MB wp_wc_order_coupon_lookup: Datos: 0.00MB + índice: 0.00MB wp_wc_order_product_lookup: Datos: 0.00MB + índice: 0.00MB wp_wc_order_stats: Datos: 0.00MB + índice: 0.00MB wp_wc_order_tax_lookup: Datos: 0.00MB + índice: 0.00MB wp_wc_product_meta_lookup: Datos: 0.08MB + índice: 0.12MB wp_wc_webhooks: Datos: 0.00MB + índice: 0.00MB wp_woof_query_cache: Datos: 0.00MB + índice: 0.00MB ### Post Type Counts ### attachment: 1243 custom_css: 1 customize_changeset: 20 et_pb_layout: 20 nav_menu_item: 17 page: 11 post: 2 product: 1366 product_variation: 4 revision: 250 scheduled-action: 17 shop_order: 1 wcbd_archive_layout: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (18) ### Bloom: por Elegant Themes – 1.3.10 Divi Builder: por Elegant Themes – 2.23.3 Duplicate Post: por Enrico Battocchi – 3.2.2 Fast Velocity Minify: por Raul Peixoto – 2.6.5 Health Check & Troubleshooting: por La comunidad de www.remarpro.com – 1.3.2 reSmush.it Image Optimizer: por reSmush.it – 0.1.22 Super Socializer: por Team Heateor – 7.12.25 TI WooCommerce Wishlist Plugin: por TemplateInvaders – 1.12.3 Title Remover: por WPGurus – 1.2 WooCommerce Builder For Divi: por Abdou Aboelgit | DiviKingdom.Com – 2.1.11 WPC Fly Cart for WooCommerce: por WPclever.net – 1.6.5 WooCommerce Blocks: por Automattic – 2.1.0 WooCommerce Variation Swatches: por Emran Ahmed – 1.0.57 WooCommerce Customizer: por SkyVerge – 2.6.0 – No probado con la versión activa de WooCommerce WooCommerce MercadoPago: por Mercado Pago – 3.0.17 – No probado con la versión activa de WooCommerce N-Media WooCommerce PPOM: por Najeeb Ahmad – 17.5 WooCommerce: por Automattic – 3.6.4 WP Fastest Cache: por Emre Vona – 0.8.9.4 ### Inactive Plugins (12) ### Akismet Anti-Spam: por Automattic – 4.1.2 Beeketing For WooCommerce: por Beeketing – 3.8.12 EWWW Image Optimizer: por Exactly WWW – 4.7.4 Hello Dolly: por Matt Mullenweg – 1.7.2 Max Mega Menu: por megamenu.com – 2.6 Monarch Plugin: por Elegant Themes – 1.4.12 TodoPago para WooCommerce: por Todo Pago – 1.13.0 – No probado con la versión activa de WooCommerce WooCommerce Admin: por WooCommerce – 0.12.0 WooCommerce Oca Shipping: por Wanderlust Web Design – 1.0.4 – No probado con la versión activa de WooCommerce WOOF - WooCommerce Products Filter: por realmag777 – 1.2.2.1 – No probado con la versión activa de WooCommerce Woo Facturante: por Fuego Yámana – 0.1.56 – No probado con la versión activa de WooCommerce WPB Accordion Menu or Category: por wpbean – 1.2.5 – No probado con la versión activa de WooCommerce ### Must Use Plugins (1) ### Health Check Troubleshooting Mode: por – 1.6.0 ### Settings ### API Enabled: – Force SSL: – Currency: ARS ($) Currency Position: left Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Base de la tienda: #12 - /shop/ Carrito: #13 - /cart/ Finalizar compra: #14 - /checkout/ Mi cuenta: #15 - /my-account/ Terms and conditions: ? Página sin definir ### Theme ### Name: Santeria Asis Version: 1.0.0 Author URL: https://www.abwd.com.ar Child Theme: ? Parent Theme Name: Divi Parent Theme Version: 3.23.3 Parent Theme Author URL: https://www.elegantthemes.com WooCommerce Support: ? ### Templates ### Overrides: – ### TI WooCommerce Wishlist Templates ### Overrides: – ### Action Scheduler ### Complete: 16 Oldest: 2019-05-08 21:35:29 +0000 Newest: 2019-05-29 01:11:27 +0000 Pending: 0 Oldest: – Newest: – Canceled: 1 Oldest: 2019-05-27 22:48:38 +0000 Newest: 2019-05-27 22:48:38 +0000 In-progress: 0 Oldest: – Newest: – Failed: 0 Oldest: – Newest: –
Hi @andriub
I had a look at this and there seems to be an issue with the es_AR translations file from here.
I made some changes to it and if you replace the
.mo
file you are currently using with this one, that error should not show anymore – https://cld.wthms.co/78kXC0What you will need to do is download the current
woocommerce-es_AR.mo
file in yourwp-content/languages/woocommerce/
folder as a backup and then replace it with the one from my link above in the same folder.Hi EtienneP!
Thanks for your answer! I did what you said and the error message disappeared, but now I get another one, in back and front end.Inside Woocommerce Admin the error that appears is this one (I’m not using PayPal so it’s not even activated):
Warning: sprintf(): Too few arguments in?/home/duran/public_html/asisshop/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/settings-paypal.php?on line?136And the Account page in frontend is this one (looks to be the same):
* Warning: sprintf(): Too few arguments in?/home/duran/public_html/asisshop/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/settings-paypal.php?on line?136Here I’m attaching the System status:
### WordPress Environment ### WordPress address (URL): https://www.santeriaasis.com.ar/asisshop Site address (URL): https://www.santeriaasis.com.ar/asisshop WC Version: 3.6.4 Log Directory Writable: ? WP Version: 5.2.1 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: es_AR External object cache: – ### Server Environment ### Server Info: Apache/2.4.39 (cPanel) OpenSSL/1.0.2r mod_bwlimited/1.4 Phusion_Passenger/5.3.7 PHP Version: 5.6.40 - Recomendamos usar la versión 7.2 o superior de PHP para un mayor rendimiento y seguridad. Cómo actualizar tu versión de PHP PHP Post Max Size: 64 MB PHP Time Limit: 180 PHP Max Input Vars: 1000 cURL Version: 7.62.0 OpenSSL/1.0.2k SUHOSIN Installed: – MySQL Version: ? 5.5.62-cll - Recomendamos como versión mínima de MySQL la 5.6. Ver: Requisitos de WordPress Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.6.4 WC Database Prefix: wp_ MaxMind GeoIP Database: ? Tama?o total de la base de datos: 13.08MB Tama?o de los datos de la base de datos: 10.18MB Tama?o del índice de la base de datos: 2.90MB wp_woocommerce_sessions: Datos: 0.02MB + índice: 0.00MB wp_woocommerce_api_keys: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_attribute_taxonomies: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_downloadable_product_permissions: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_order_items: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_order_itemmeta: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_tax_rates: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_tax_rate_locations: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_shipping_zones: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_shipping_zone_locations: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_shipping_zone_methods: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_payment_tokens: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_payment_tokenmeta: Datos: 0.00MB + índice: 0.00MB wp_woocommerce_log: Datos: 0.00MB + índice: 0.00MB wp_commentmeta: Datos: 0.00MB + índice: 0.00MB wp_comments: Datos: 0.01MB + índice: 0.01MB wp_et_bloom_stats: Datos: 0.00MB + índice: 0.00MB wp_et_social_stats: Datos: 0.00MB + índice: 0.00MB wp_ewwwio_images: Datos: 0.76MB + índice: 0.37MB wp_ewwwio_queue: Datos: 0.01MB + índice: 0.01MB wp_links: Datos: 0.00MB + índice: 0.00MB wp_nm_personalized: Datos: 0.02MB + índice: 0.00MB wp_options: Datos: 0.89MB + índice: 0.06MB wp_postmeta: Datos: 5.34MB + índice: 1.37MB wp_posts: Datos: 2.47MB + índice: 0.34MB wp_termmeta: Datos: 0.04MB + índice: 0.03MB wp_terms: Datos: 0.02MB + índice: 0.05MB wp_term_relationships: Datos: 0.22MB + índice: 0.48MB wp_term_taxonomy: Datos: 0.03MB + índice: 0.03MB wp_tinvwl_analytics: Datos: 0.00MB + índice: 0.00MB wp_tinvwl_items: Datos: 0.00MB + índice: 0.00MB wp_tinvwl_lists: Datos: 0.00MB + índice: 0.00MB wp_usermeta: Datos: 0.27MB + índice: 0.02MB wp_users: Datos: 0.00MB + índice: 0.01MB wp_wc_admin_notes: Datos: 0.00MB + índice: 0.00MB wp_wc_admin_note_actions: Datos: 0.00MB + índice: 0.00MB wp_wc_customer_lookup: Datos: 0.00MB + índice: 0.00MB wp_wc_download_log: Datos: 0.00MB + índice: 0.00MB wp_wc_order_coupon_lookup: Datos: 0.00MB + índice: 0.00MB wp_wc_order_product_lookup: Datos: 0.00MB + índice: 0.00MB wp_wc_order_stats: Datos: 0.00MB + índice: 0.00MB wp_wc_order_tax_lookup: Datos: 0.00MB + índice: 0.00MB wp_wc_product_meta_lookup: Datos: 0.08MB + índice: 0.12MB wp_wc_webhooks: Datos: 0.00MB + índice: 0.00MB wp_woof_query_cache: Datos: 0.00MB + índice: 0.00MB ### Post Type Counts ### attachment: 1238 custom_css: 1 customize_changeset: 27 et_pb_layout: 20 nav_menu_item: 29 page: 11 post: 1 product: 1366 product_variation: 4 revision: 256 scheduled-action: 17 shop_order: 1 wcbd_archive_layout: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (18) ### Bloom: por Elegant Themes – 1.3.10 Divi Builder: por Elegant Themes – 2.23.3 Duplicate Post: por Enrico Battocchi – 3.2.2 Fast Velocity Minify: por Raul Peixoto – 2.6.5 Health Check & Troubleshooting: por La comunidad de www.remarpro.com – 1.3.2 reSmush.it Image Optimizer: por reSmush.it – 0.1.22 Super Socializer: por Team Heateor – 7.12.25 TI WooCommerce Wishlist Plugin: por TemplateInvaders – 1.12.3 Title Remover: por WPGurus – 1.2 WooCommerce Builder For Divi: por Abdou Aboelgit | DiviKingdom.Com – 2.1.11 WPC Fly Cart for WooCommerce: por WPclever.net – 1.6.5 WooCommerce Blocks: por Automattic – 2.1.0 WooCommerce Variation Swatches: por Emran Ahmed – 1.0.57 WooCommerce Customizer: por SkyVerge – 2.6.0 – No probado con la versión activa de WooCommerce WooCommerce MercadoPago: por Mercado Pago – 3.0.17 – No probado con la versión activa de WooCommerce N-Media WooCommerce PPOM: por Najeeb Ahmad – 17.5 WooCommerce: por Automattic – 3.6.4 WP Fastest Cache: por Emre Vona – 0.8.9.4 ### Inactive Plugins (12) ### Akismet Anti-Spam: por Automattic – 4.1.2 Beeketing For WooCommerce: por Beeketing – 3.8.12 EWWW Image Optimizer: por Exactly WWW – 4.7.4 Hello Dolly: por Matt Mullenweg – 1.7.2 Max Mega Menu: por megamenu.com – 2.6 Monarch Plugin: por Elegant Themes – 1.4.12 TodoPago para WooCommerce: por Todo Pago – 1.13.0 – No probado con la versión activa de WooCommerce WooCommerce Admin: por WooCommerce – 0.12.0 WooCommerce Oca Shipping: por Wanderlust Web Design – 1.0.4 – No probado con la versión activa de WooCommerce WOOF - WooCommerce Products Filter: por realmag777 – 1.2.2.1 – No probado con la versión activa de WooCommerce Woo Facturante: por Fuego Yámana – 0.1.56 – No probado con la versión activa de WooCommerce WPB Accordion Menu or Category: por wpbean – 1.2.5 – No probado con la versión activa de WooCommerce ### Must Use Plugins (1) ### Health Check Troubleshooting Mode: por – 1.6.0 ### Settings ### API Enabled: – Force SSL: – Currency: ARS ($) Currency Position: left Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Base de la tienda: #12 - /shop/ Carrito: #13 - /cart/ Finalizar compra: #14 - /checkout/ Mi cuenta: #15 - /my-account/ Terms and conditions: ? Página sin definir ### Theme ### Name: Santeria Asis Version: 1.0.0 Author URL: https://www.abwd.com.ar Child Theme: ? Parent Theme Name: Divi Parent Theme Version: 3.23.3 Parent Theme Author URL: https://www.elegantthemes.com WooCommerce Support: ? ### Templates ### Overrides: – ### TI WooCommerce Wishlist Templates ### Overrides: – ### Action Scheduler ### Complete: 16 Oldest: 2019-05-08 21:35:29 +0000 Newest: 2019-05-29 01:11:27 +0000 Pending: 0 Oldest: – Newest: – Canceled: 1 Oldest: 2019-05-27 22:48:38 +0000 Newest: 2019-05-27 22:48:38 +0000 In-progress: 0 Oldest: – Newest: – Failed: 0 Oldest: – Newest: –
Hi, sorry I insist, but I didn’t got an answer. The first error message disappeared, but after installing your patch, I’m getting this new one (you can read it in my previous message). Please, could you help me with this? Thanks
Hi @andriub
Sorry to hear about the error messages.
As you rightly said, the latest error messages seem to be coming from the built-in PayPal method.
Would it be possible for you to do a full conflict test to see if that fixes the problem? I’d recommend doing the steps listed here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/
I also noticed that you have the following plugins installed. Can you clear the cache within these plugins, and then try testing if the error goes away?
Fast Velocity Minify: por Raul Peixoto – 2.6.5 WP Fastest Cache: por Emre Vona – 0.8.9.4
Let us know what happens when you do these tests.
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
- The topic ‘Error message (translation issue??)’ is closed to new replies.