• For some orders, we are unable to download labels from the order page.

    We get this error:
    AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Exception: File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini file or by post_max_size being defined as smaller than upload_max_filesize in php.ini. in /data/sites/web/examplebe/www/wp-content/plugins/bpost-shipping/classes/label/class-wc-bpost-shipping-label-attachment.php:84\nStack trace:\n#0 /data/sites/web/examplebe/www/wp-content/plugins/bpost-shipping/classes/label/class-wc-bpost-shipping-label-attachment.php(113): WC_BPost_Shipping\Label\WC_BPost_Shipping_Label_Attachment->create_attachment(‘/data/sites/web…’)\n#1 /data/sites/web/examplebe/www/wp-content/plugins/bpost-shipping/classes/label/class-wc-bpost-shipping-label-retriever.php(132): WC_BPost_Shipping\Label\WC_BPost_Shipping_Label_Attachment->get_url()\n#2 /data/sites/web/examplebe/www/wp-content/plugins/bpost-shipping/classes/label/class-wc-bpost-shipping-label-retriever.php(107): WC_BPost_Shipping\Label\WC_BPost_Shipping_Lab…’

    Server Info: Apache
    
    PHP Version: 8.0.28
    
    PHP Post Max Size: 256 MB
    
    PHP Time Limit: 300
    
    PHP Max Input Vars: 20000
    
    cURL Version: 7.74.0
    
    OpenSSL/1.1.1n
    
    SUHOSIN Installed: –
    
    MySQL Version: 5.7.40-43-log
    
    Max Upload Size: 256 MB
    
    Default Timezone is UTC: ?
    
    fsockopen/cURL: ?
    
    SoapClient: ?
    
    DOMDocument: ?
    
    GZip: ?
    
    Multibyte String: ?
    
    Remote Post: ?
    
    Remote Get: ?

    The temporary file /data/sites/web/examplebe/tmp/64141d6128a16-sURtX8.tmp is indeed empty.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bpost_shipping

    (@bpost_shipping)

    Dear,

    Thank you for your message.

    To be able analyse the issue in detail, can you send us your findings, if possible with some screenshots of the order where you have the issue to our mailbox :?[email protected]

    Regards,

    Bpost esolutions team

    Hi, I encounter the same issue as described by @tompoezie when I create a label. Is there a fix for this? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error when display label’ is closed to new replies.