• Resolved lemonberry

    (@lemonberry)


    Hi,

    The plugin isn’t generating invoices automatically, and when I create an invoice I get this error message:

    Error message detected – PDF file generation aborted.
    unpack(): Type V: not enough input, need 4, have 0
    File: /home/birthinh/domains/birthinholland.com/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php
    Line: 318

    Thanks,
    Lisa

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

    (@baaaaas)

    Can you temporary deactivate Wordfence and try to generate an invoice?
    Wordfence is blocking the generation of the invoice for some reason I think.

    • This reply was modified 7 years, 11 months ago by Bas Elbers.
    Thread Starter lemonberry

    (@lemonberry)

    Is if Wordfence. What should I do about it? I use Wordfence on all my sites and am hesitant not to use it!

    Thanks,
    Lisa

    Plugin Author Bas Elbers

    (@baaaaas)

    I know. Wordfence is a great plugin to secure your website, but I need to have more information in order find a solution.

    Please also read first topic.

    Can you paste your WooCommerce System Status?

    Thread Starter lemonberry

    (@lemonberry)

    Many thanks Bas.

    Here is the system report:

    
    ### WordPress Environment ###
    
    Home URL: https://birthinholland.com
    Site URL: https://birthinholland.com
    WC Version: 2.6.14
    Log Directory Writable: ?
    WP Version: 4.7.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    
    ### Server Environment ###
    
    Server Info: Apache/2
    PHP Version: ? 5.4.45 - We recommend a minimum PHP version of 5.6. See: How to update your PHP version
    PHP Post Max Size: 16 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 2000
    cURL Version: 7.19.7
    NSS/3.21 Basic ECC
    
    SUHOSIN Installed: –
    MySQL Version: ? 5.5.31 - We recommend a minimum MySQL version of 5.6. See: WordPress Requirements
    Max Upload Size: 16 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 2.6.14
    : 
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    woocommerce_shipping_zones: ?
    woocommerce_shipping_zone_locations: ?
    woocommerce_shipping_zone_methods: ?
    woocommerce_payment_tokens: ?
    woocommerce_payment_tokenmeta: ?
    MaxMind GeoIP Database: ?
    
    ### Active Plugins (15) ###
    
    Antispam Bee: by pluginkollektiv – 2.7.0
    Elegant Themes Updater: by Elegant Themes – 1.2
    Event Tickets Plus: by Modern Tribe
    Inc. – 4.4.3
    
    Event Tickets: by Modern Tribe
    Inc. – 4.4.4
    
    Jetpack by WordPress.com: by Automattic – 4.7.1
    Nice Quotes Rotator: by Robert Wise – 1.0
    Really Simple CAPTCHA: by Takayuki Miyoshi – 1.9
    The Events Calendar: by Modern Tribe
    Inc. – 4.4.4
    
    The Events Calendar: Remove QR Codes: by Modern Tribe – 0.1.1
    WooCommerce Mollie Gateway: by WooThemes / SkyVerge – 2.10.0
    WooCommerce PDF Invoices: by Bas Elbers – 2.6.4
    WooCommerce Stock Manager: by Vladislav Musílek – 1.1.4
    WooCommerce: by WooThemes – 2.6.14
    WooCommerce Helper: by WooCommerce – 1.7.2
    Yoast SEO: by Team Yoast – 4.4
    
    ### Settings ###
    
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ?
    
    ### WC Pages ###
    
    Shop Base: #2667 - /courses-overview/
    Basket: #2726 - /basket/
    Checkout: #2728 - /checkout/
    My Account: #2730 - /my-account/
    
    ### Taxonomies ###
    
    Product Types: booking (booking)
    external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: Divi Child
    Version: 1.0.0
    Author URL: https://www.elegantthemes.com
    Child Theme: ?
    Parent Theme Name: Divi
    Parent Theme Version: 3.0.37
    Parent Theme Author URL: https://www.elegantthemes.com
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Mollie ###
    
    Environment: Production
    

    Lisa

    Thread Starter lemonberry

    (@lemonberry)

    And I meant to write it IS Wordfence in my previous post!!

    Thread Starter lemonberry

    (@lemonberry)

    Hi Bas,

    I wonder if there was any update on the conflict issue with Wordfence?

    I’ve been testing this morning on a test environment I created with ONLY woocommerce and eventcalendar plugins enabled, and when I activate wordfence the invoicing works..? So I then tested it on the live site, and low and behold.. that works too… Any ideas how it is working now? As far as I know neither your plugin or Wordfence has updated again since 2 weeks?

    Thanks,
    Lisa

    Plugin Author Bas Elbers

    (@baaaaas)

    Hi Lisa,

    Well, there is only one explanation left. It is a miracle! Haha. Sorry I really don’t know.

    Happy for you that it works again.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Won’t generate invoices’ is closed to new replies.