• Resolved Jakours2

    (@jakours2)


    Hello Team! We got that warning into the server log.

    [10-Nov-2023 04:11:40 UTC] PHP Warning: sprintf(): Too few arguments in /home/xxx/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 855

    what de we need to do to correct the situation? We have the latest version of woo and wp. All is up to date.

Viewing 3 replies - 1 through 3 (of 3 total)
  • hrn1995 (woo-hc)

    (@aguinaldodarla)

    Hi @jakours2

    For us to further investigate and better understand your site’s current environment, kindly share the following:

    • System Status Report: navigate to WooCommerceStatus → select Get system report and then Download for support. This will download a TXT file that has the contents of the SSR to share with us.
    • Fatal Error log: Share a copy of any fatal error log found under WooCommerceStatusLogs.
    Thread Starter Jakours2

    (@jakours2)

    Hello. I’m sorry about my very late reply. So, here are the status report followed by the Log.

    Report status :

    WordPress Environment
    
    WordPress address (URL): https://ftgq.qc.ca
    Site address (URL): https://ftgq.qc.ca
    WC Version: 8.2.2
    REST API Version: ? 8.2.2
    WC Blocks Version: ? 11.1.3
    Action Scheduler Version: ? 3.6.3
    Log Directory Writable: ?
    WP Version: 6.4.1
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: –
    WP Cron: ?
    Language: fr_FR
    External object cache: – Server Environment Server Info: Apache
    PHP Version: 7.4.33
    PHP Post Max Size: 1 GB
    PHP Time Limit: 3000
    PHP Max Input Vars: 1000
    cURL Version: 7.61.1
    OpenSSL/1.1.1k SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.39-MariaDB
    Max Upload Size: 1 GB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? Database WC Database Version: 8.2.2
    WC Database Prefix: dev2_
    Total Database Size: 268.30MB
    Database Data Size: 231.96MB
    Database Index Size: 36.34MB
    dev2_woocommerce_sessions: Data: 2.23MB + Index: 0.02MB + Engine MyISAM
    dev2_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_woocommerce_order_items: Data: 0.82MB + Index: 0.42MB + Engine MyISAM
    dev2_woocommerce_order_itemmeta: Data: 70.35MB + Index: 4.93MB + Engine MyISAM
    dev2_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    dev2_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_actionscheduler_actions: Data: 0.38MB + Index: 0.50MB + Engine InnoDB
    dev2_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dev2_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dev2_actionscheduler_logs: Data: 0.22MB + Index: 0.19MB + Engine InnoDB
    dev2_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    dev2_comments: Data: 2.82MB + Index: 1.10MB + Engine MyISAM
    dev2_cpwebservice_shipments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dev2_cpwebservice_tracking: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dev2_duplicator_pro_entities: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_duplicator_pro_packages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_import_detail_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_import_log_detail: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_import_postID: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_options: Data: 16.70MB + Index: 0.42MB + Engine MyISAM
    dev2_postmeta: Data: 32.49MB + Index: 13.61MB + Engine MyISAM
    dev2_posts: Data: 45.20MB + Index: 1.13MB + Engine MyISAM
    dev2_post_smtp_logmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_post_smtp_logs: Data: 3.02MB + Index: 0.00MB + Engine InnoDB
    dev2_quform_entries: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_quform_entry_data: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    dev2_quform_entry_entry_labels: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_quform_entry_labels: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_quform_forms: Data: 0.11MB + Index: 0.00MB + Engine MyISAM
    dev2_quform_sessions: Data: 13.83MB + Index: 6.39MB + Engine MyISAM
    dev2_simple_history: Data: 1.02MB + Index: 0.17MB + Engine InnoDB
    dev2_simple_history_contexts: Data: 7.02MB + Index: 3.03MB + Engine InnoDB
    dev2_smackcsv_file_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_smackuci_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    dev2_terms: Data: 0.01MB + Index: 0.04MB + Engine MyISAM
    dev2_term_relationships: Data: 0.07MB + Index: 0.17MB + Engine MyISAM
    dev2_term_taxonomy: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    dev2_ultimate_csv_importer_acf_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_ultimate_csv_importer_mappingtemplate: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_ultimate_csv_importer_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_ultimate_csv_importer_shortcode_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_usermeta: Data: 1.28MB + Index: 0.69MB + Engine MyISAM
    dev2_users: Data: 0.07MB + Index: 0.08MB + Engine MyISAM
    dev2_wcpdf_invoice_number: Data: 0.17MB + Index: 0.00MB + Engine InnoDB
    dev2_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_wc_admin_notes: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
    dev2_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    dev2_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_wc_customer_lookup: Data: 0.50MB + Index: 0.39MB + Engine InnoDB
    dev2_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    dev2_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dev2_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    dev2_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dev2_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dev2_wc_order_product_lookup: Data: 1.52MB + Index: 0.69MB + Engine InnoDB
    dev2_wc_order_stats: Data: 1.42MB + Index: 0.52MB + Engine InnoDB
    dev2_wc_order_tax_lookup: Data: 0.09MB + Index: 0.11MB + Engine InnoDB
    dev2_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dev2_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dev2_wc_product_meta_lookup: Data: 0.02MB + Index: 0.04MB + Engine MyISAM
    dev2_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dev2_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    dev2_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dev2_wfblockediplog: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    dev2_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    dev2_wfconfig: Data: 1.30MB + Index: 0.00MB + Engine InnoDB
    dev2_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_wffilemods: Data: 16.55MB + Index: 0.00MB + Engine InnoDB
    dev2_wfhits: Data: 2.02MB + Index: 0.22MB + Engine InnoDB
    dev2_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dev2_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    dev2_wfknownfilelist: Data: 7.52MB + Index: 0.00MB + Engine InnoDB
    dev2_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dev2_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_wflogins: Data: 1.36MB + Index: 0.16MB + Engine InnoDB
    dev2_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dev2_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY
    dev2_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_wfnotifications: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    dev2_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    dev2_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_wfsecurityevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    dev2_wfstatus: Data: 0.14MB + Index: 0.09MB + Engine InnoDB
    dev2_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dev2_yoast_indexable: Data: 0.25MB + Index: 0.22MB + Engine InnoDB
    dev2_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    dev2_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dev2_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dev2_yoast_seo_links: Data: 0.16MB + Index: 0.13MB + Engine InnoDB
    dev2_yoast_seo_meta: Data: 0.09MB + Index: 0.00MB + Engine InnoDB Post Type Counts ajde_events: 281
    attachment: 503
    br_force_sell: 1
    custom_css: 1
    dflip: 49
    igmap: 1
    nav_menu_item: 55
    oembed_cache: 47
    page: 36
    pec-events: 2
    post: 19
    postman_sent_mail: 250
    product: 45
    product_variation: 219
    revision: 2403
    rp_sub_log_entry: 2399
    rp_sub_subscription: 626
    shop_coupon: 2
    shop_order: 5587
    shop_order_refund: 46
    tablepress_table: 2
    tm_product_cp: 1 Security Secure connection (HTTPS): ?
    Hide errors from visitors: ? Active Plugins (42) TablePress: by Tobias B?thge – 2.2.3
    Ajax Search Lite: by Ernest Marcinko – 4.11.4
    BBQ Pro: by Jeff Starr – 3.7
    Blackhole Pro: by Jeff Starr – 3.4
    Change Mail Sender: by WP Mail SMTP – 1.3.0
    Content Control: by Code Atlantic – 2.0.12
    dflip: by DearHive – 1.5.6
    Disable Gutenberg: by Jeff Starr – 3.1
    Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5
    EventON: by AshanJay – 4.5.3
    EventON - Event Lists Ext: by Ashan Jay – 0.20
    Force Sell for WooCommerce: by BeRocket – 3.5.7.9
    Hide Admin Bar: by Shelby DeNike – 0.4.7
    Interactive Geo Maps: by Carlos Moreira – 1.6.6.2
    Salient WPBakery Page Builder: by Michael M - WPBakery.com | Modified by ThemeNectar – 6.13.1
    Loco Translate: by Tim Whitlock – 2.6.6
    Login or Logout Menu Item: by cartpauj – 1.2.3
    Minimal Coming Soon & Maintenance Mode: by WebFactory Ltd – 2.37
    Pay in Store WooCommerce Payment Gateway: by Papaki – 1.2.6
    Post SMTP: by Post SMTP – 2.8.2
    Quform: by ThemeCatcher – 2.19.0
    Remove Dashboard Access: by TrustedLogin – 1.1.5
    reSmush.it Image Optimizer: by reSmush.it – 0.4.13
    Salient Core: by ThemeNectar – 2.0.3
    Salient Shortcodes: by ThemeNectar – 1.5.3
    Salient Social: by ThemeNectar – 1.2.3
    Salient Widgets: by ThemeNectar – 1.2
    Simple History: by P?r Thernstr?m – 4.7.2
    Subscriptio: by RightPress – 3.0.7
    Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. – 1.8.39
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.23.12 User Switching: by John Blackbourn & contributors – 1.7.0
    WooCommerce Dynamic Pricing & Discounts: by RightPress – 2.4.6
    WooCommerce Canada Post Webservice Method: by Jamez Picard – 1.7.18
    WooCommerce Stripe Gateway: by WooCommerce – 7.7.0
    PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.7.2
    Extra Product Options & Add-Ons for WooCommerce: by ThemeComplete – 6.3.2
    WooCommerce: by Automattic – 8.2.2
    Wordfence Security: by Wordfence – 7.10.7
    Yoast SEO: by Team Yoast – 21.5
    WP Fastest Cache: by Emre Vona – 1.2.2
    WPS Hide Login: by WPServeur
    NicolasKulka
    wpformation – 1.9.9 Inactive Plugins (0) Dropin Plugins (2) advanced-cache.php: advanced-cache.php
    maintenance.php: maintenance.php Settings API Enabled: –
    Force SSL: –
    Currency: CAD ($)
    Currency Position: right_space
    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: –
    Enforce Approved Product Download Directories: –
    HPOS feature screen enabled: –
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: – WC Pages Shop base: #81 - /boutique/
    Cart: #82 - /panier/
    Checkout: #83 - /commande/
    My account: #84 - /mon-compte/
    Terms and conditions: ? Page not set Theme Name: Salient Child Theme
    Version: 1.0
    Author URL: https://themeforest.net/user/themenectar
    Child Theme: ?
    Parent Theme Name: Salient
    Parent Theme Version: 16.0.5
    Parent Theme Author URL: https://themeforest.net/user/themenectar
    WooCommerce Support: ? Templates Overrides: salient/woocommerce/cart/mini-cart.php
    salient/woocommerce/checkout/form-checkout.php
    salient/woocommerce/checkout/review-order.php
    salient/woocommerce/checkout/terms.php
    salient/woocommerce/content-product.php
    salient/woocommerce/content-single-product.php
    salient/woocommerce/loop/add-to-cart.php
    salient/woocommerce/loop/loop-start.php
    salient/woocommerce/myaccount/form-login.php
    salient/woocommerce/single-product/product-image.php
    salient/woocommerce/single-product/rating.php
    salient/woocommerce/single-product/tabs/description.php
    salient/woocommerce/single-product/tabs/tabs.php
    salient/woocommerce/single-product/title.php
    salient/woocommerce/single-product-reviews.php Admin Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    product-variation-management
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page Disabled Features: customize-store
    minified-js
    new-product-management-experience
    settings
    async-product-editor-category-field Daily Cron: ? Next scheduled: 2023-11-16 04:28:03 -05:00
    Options: ?
    Notes: 191
    Onboarding: completed Action Scheduler Complete: 654
    Oldest: 2023-10-15 09:21:05 -0400
    Newest: 2023-11-14 20:06:02 -0500 Failed: 56
    Oldest: 2022-08-31 10:59:25 -0400
    Newest: 2023-08-07 11:51:56 -0400 Pending: 487
    Oldest: 2023-11-15 08:37:37 -0500
    Newest: 2024-11-14 14:34:24 -0500 Status report information Generated at: 2023-11-15 06:53:14 -05:00


    Log

    2023-10-19T16:22:49+00:00 CRITICAL require_once(): Failed opening required ‘/home/xxx/public_html/wp-content/plugins/post-smtp/Postman/PostmanAdminController.php’ (include_path=’.:/opt/cpanel/ea-php74/root/usr/share/pear’) dans /home/ftgq/public_html/wp-content/plugins/post-smtp/Postman/Postman.php à la ligne 448

    • This reply was modified 1 year ago by Jakours2.
    hrn1995 (woo-hc)

    (@aguinaldodarla)

    Hi @jakours2

    No worries! The critical error you shared recently is related to the ‘Post SMTP’ plugin on your WordPress site. Could you please try to deactivate it and see if the error persists?

    Regarding the first error with the PHP Warning, I suggest performing a conflict test by switching to a default WordPress theme, and then deactivating all plugins except WooCommerce to see if the issue is gone, if yes, that means a theme or a plugin is contributing to the issue. Re-enable each to see which one causes it. You can find a more detailed explanation of how to do a conflict test here.

    Let us know how it goes!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘template-functions.php on line 855’ is closed to new replies.