Support » Plugin: WooCommerce PDF Invoices » Network error on pdf creation

  • Resolved stob8544

    (@stob8544)


    Hi,

    When i want to create manually my pdf order, the file is generated but i’ got an error “Network failed” and i can’t open the PDF file.

    I activated the debug and the issue is the same. I don’t have any error message.

    Thanks for your time.

    `
    ### WordPress Environment ###

    WordPress address (URL): https://www.flydust.fr
    Site address (URL): https://www.flydust.fr
    WC Version: 3.9.3
    REST API Version: ✔ 1.0.7
    Log Directory Writable: ✔
    WP Version: 5.3.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: fr_FR
    External object cache: –

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 7.2.22
    PHP Post Max Size: 130 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 16000
    cURL Version: 7.38.0
    OpenSSL/1.0.1t

    SUHOSIN Installed: –
    MySQL Version: 5.6.46-log
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Post Type Counts ###

    attachment: 357
    customize_changeset: 3
    nav_menu_item: 39
    page: 76
    popup_theme: 6
    post: 10
    product: 26
    product_variation: 12
    revision: 528
    scheduled-action: 106
    shop_coupon: 1312
    shop_order: 2000
    shop_order_refund: 113
    wc_appointment: 1064
    wc_order_status: 10
    wpcf7_contact_form: 2

    ### Security ###

    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔

    ### Active Plugins (26) ###

    Advanced Custom Fields: Repeater Field: par Elliot Condon – 2.1.0
    Advanced Custom Fields: par Elliot Condon – 5.8.8
    Akismet Anti-Spam: par Automattic – 4.1.3
    Anti-Spam: par CreativeMotion – 6.5.4
    Contact Form DB: par Michael Simpson – 2.10.9
    Contact Form 7: par Takayuki Miyoshi – 5.1.7
    Module CUBE: par Alban Poirier – 0.1
    Custom Sidebars by ProteusThemes: par ProteusThemes – 1.0.1
    Enable Media Replace: par ShortPixel – 3.3.10
    Error Log Monitor: par Janis Elsts – 1.6.9
    Minimal Coming Soon & Maintenance Mode: par WebFactory Ltd – 2.17
    ProteusThemes Shortcodes: par ProteusThemes – 1.5.0
    Redirection: par John Godley – 4.7
    SiteOrigin Page Builder: par SiteOrigin – 2.10.14
    SiteOrigin Widgets Bundle: par SiteOrigin – 1.16.0
    UpdraftPlus – Sauvegarde/Restauration: par UpdraftPlus.Com
    DavidAnderson – 1.16.22

    Advanced Order Export For WooCommerce: par AlgolPlus – 3.1.1 – Non testé avec la version active de WooCommerce
    WooCommerce Monetico Gateway: par Nicolas Maillard – 1.1 – Non testé avec la version active de WooCommerce
    WooCommerce Order Status Manager: par SkyVerge – 1.7.1 – Non testé avec la version active de WooCommerce
    WooCommerce PDF Invoices: par Bas Elbers – 3.0.11 – Non testé avec la version active de WooCommerce
    WooCommerce Smart Coupons: par StoreApps – 3.2 – Non testé avec la version active de WooCommerce
    WooCommerce: par Automattic – 3.9.3 – 4.0.0 est disponible
    Yoast SEO: par L’équipe Yoast – 13.2
    WP Rocket: par WP Media – 3.4.4
    WP User Avatar: par flippercode – 2.2.5
    WP Remote: par WP Remote – 3.4

    ### Settings ###

    API Enabled: ✔
    Force SSL: ✔
    Currency: EUR (€)
    Currency Position: right
    Thousand Separator:
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: appointment (appointment)
    external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    ### Theme ###

    Name: Shaka PT
    Version: 1.6.0
    Author URL: https://www.proteusthemes.com/
    Child Theme: ❌ – Si vous modifiez WooCommerce sur un thème parent que vous n’avez pas construit personnellement
    nous vous recommandons d’utiliser un thème enfant. Voir : Comment créer un thème enfant

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Bas Elbers

    (@baaaaas)

    What browser are you using? There have been some reports that Safari is causing some problems when downloading files.

    Do you have any JavaScript errors in your browser console?

    Hi,

    Thanks for your answer.

    I tried on Chrome and Firefox. same issue. I’got an error message on firefox “ne pourra être enregistré car le fichier source ne peut être lu.”

    Is it possbile that’s coming from rights ? For exmaple is the file : http://flydust.fr/wp-content/uploads/woocommerce-pdf-invoices/attachments/2020/00001-2020.pdf is supposed ti be accessible?

    Thks

    I just have a new ordre ansd i found this in my logs

    [13-Mar-2020 10:38:36 UTC] PHP Notice: outlining_columns_html est obsolète depuis la version WooCommerce PDF Invoices v2.8, aucune alternative n’est disponible. in /home/atesterofm/websites/flydust/wp-includes/functions.php on line 4651
    [13-Mar-2020 10:38:36 UTC] PHP Notice: get_columns_count est obsolète depuis la version WooCommerce PDF Invoices v2.8, aucune alternative n’est disponible. in /home/atesterofm/websites/flydust/wp-includes/functions.php on line 4651
    [13-Mar-2020 10:38:36 UTC] PHP Notice: get_colspan est obsolète depuis la version WooCommerce PDF Invoices v2.8, aucune alternative n’est disponible. in /home/atesterofm/websites/flydust/wp-includes/functions.php on line 4651
    [13-Mar-2020 10:38:36 UTC] PHP Notice: display_purchase_order_number est obsolète depuis la version WooCommerce PDF Invoices v2.8 ! Utilisez WPI()->templater()->get_meta( ‘_po_number’ ) à la place. in /home/atesterofm/websites/flydust/wp-includes/functions.php on line 4648
    [13-Mar-2020 10:38:36 UTC] PHP Notice: display_vat_number est obsolète depuis la version WooCommerce PDF Invoices v2.8 ! Utilisez WPI()->templater()->get_meta( ‘_vat_number’ ) à la place. in /home/atesterofm/websites/flydust/wp-includes/functions.php on line 4648
    [13-Mar-2020 10:38:36 UTC] PHP Notice: WC_Order::has_meta( $order_item_id ) est obsolète depuis la version 3.0 ! Utilisez WC_Order_item::get_meta_data à la place. in /home/atesterofm/websites/flydust/wp-includes/functions.php on line 4648
    [13-Mar-2020 10:38:36 UTC] PHP Notice: get_colspan est obsolète depuis la version WooCommerce PDF Invoices v2.8, aucune alternative n’est disponible. in /home/atesterofm/websites/flydust/wp-includes/functions.php on line 4651
    [13-Mar-2020 10:38:36 UTC] PHP Notice: display_zero_rated_vat est obsolète depuis la version WooCommerce PDF Invoices v2.8, aucune alternative n’est disponible. in /home/atesterofm/websites/flydust/wp-includes/functions.php on line 4651
    [13-Mar-2020 10:38:36 UTC] PHP Notice: display_zero_rated_vat est obsolète depuis la version WooCommerce PDF Invoices v2.8, aucune alternative n’est disponible. in /home/atesterofm/websites/flydust/wp-includes/functions.php on line 4651

    Ok problem solved.

    I deleted the .htaccess file and recreated it.

    I can create manually orders PDF.

    Have a good day !

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.