Support » Plugin: WooCommerce PDF Invoices » Woocommerce Update

  • Hi there,

    I recently updated to the latest version of Woocomerce and it’s broken your awesome plugin. I’ve had to disable it for now as it breaks the site altogether

    This is the error I get?

    Parse error: syntax error, unexpected ‘::’ (T_PAAMAYIM_NEKUDOTAYIM), expecting ‘)’ in /home/domains/co.nz/docs.inkcare/wp-content/plugins/woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php on line 395

    Cheers,
    Cory

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

    (@baaaaas)

    I’m on it, but I cannot seem to reproduce the error.
    Could you send me your WooCommerce System Status Report?

    
    ### WordPress Environment ###
    
    WC Version: 3.6.1
    Log Directory Writable: ✔
    WP Version: 5.1.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_NZ
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.30 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 50 MB
    PHP Time Limit: 160
    PHP Max Input Vars: 1000
    cURL Version: 7.52.1
    OpenSSL/1.0.1e
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.18
    Max Upload Size: 50 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.6.1
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ✔
    Total Database Size: 10.90MB
    Database Data Size: 8.83MB
    Database Index Size: 2.07MB
    wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_order_itemmeta: Data: 0.09MB + Index: 0.09MB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    wp_ac_abandoned_cart_history_lite: Data: 0.05MB + Index: 0.00MB
    wp_ac_email_templates_lite: Data: 0.02MB + Index: 0.00MB
    wp_ac_guest_abandoned_cart_history_lite: Data: 0.02MB + Index: 0.00MB
    wp_ac_sent_history_lite: Data: 0.02MB + Index: 0.00MB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB
    wp_comments: Data: 0.08MB + Index: 0.09MB
    wp_et_bloom_stats: Data: 0.14MB + Index: 0.00MB
    wp_et_social_stats: Data: 0.02MB + Index: 0.00MB
    wp_failed_jobs: Data: 0.02MB + Index: 0.00MB
    wp_itsec_distributed_storage: Data: 0.02MB + Index: 0.02MB
    wp_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB
    wp_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB
    wp_itsec_lockouts: Data: 0.02MB + Index: 0.08MB
    wp_itsec_logs: Data: 1.02MB + Index: 0.09MB
    wp_itsec_temp: Data: 0.02MB + Index: 0.06MB
    wp_links: Data: 0.02MB + Index: 0.02MB
    wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB
    wp_options: Data: 2.06MB + Index: 0.06MB
    wp_postmeta: Data: 1.44MB + Index: 0.47MB
    wp_posts: Data: 2.08MB + Index: 0.22MB
    wp_queue: Data: 0.02MB + Index: 0.00MB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB
    wp_terms: Data: 0.02MB + Index: 0.03MB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB
    wp_usermeta: Data: 0.09MB + Index: 0.06MB
    wp_users: Data: 0.02MB + Index: 0.05MB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB
    wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.05MB
    wp_yoast_seo_links: Data: 0.02MB + Index: 0.02MB
    wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 265
    custom_css: 2
    customize_changeset: 1
    flamingo_contact: 118
    flamingo_inbound: 126
    nav_menu_item: 27
    nectar_slider: 4
    page: 17
    post: 6
    product: 13
    product_variation: 1
    revision: 223
    scheduled-action: 32
    shop_coupon: 7
    shop_order: 57
    shop_order_refund: 1
    wpcf7_contact_form: 1
    ywcm_message: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (27) ###
    
    Akismet Anti-Spam: by Automattic – 4.1.1
    iThemes Security: by iThemes – 7.3.3
    Bloom: by Elegant Themes – 1.3.10
    Contact Form 7: by Takayuki Miyoshi – 5.1.1
    Disable Gutenberg: by Jeff Starr – 1.7
    Duplicate Page: by mndpsingh287 – 3.5
    Envato Elements: by Envato – 1.0.2
    Envato Market: by Envato – 2.0.1
    Flamingo: by Takayuki Miyoshi – 1.9
    GetBowtied Tools: by GetBowtied – 2.3.3
    Hello Dolly: by Matt Mullenweg – 1.7
    HookMeUp – Additional Content for WooCommerce: by GetBowtied – 1.2.2 – Not tested with the active version of WooCommerce
    Instagram Feed: by Smash Balloon – 1.12
    WPBakery Page Builder: by Michael M - WPBakery.com – 5.7
    Mailchimp for WooCommerce: by Mailchimp – 2.1.15 – Not tested with the active version of WooCommerce
    Monarch Plugin: by Elegant Themes – 1.4.12
    Shopkeeper Deprecated Features: by GetBowtied – 1.0
    Shopkeeper Extender: by GetBowtied – 1.4.5
    Shopkeeper Portfolio Addon: by GetBowtied – 1.1
    UpdraftPlus - Backup/Restore: by UpdraftPlus.com
    DavidAnderson – 1.16.12
    
    Abandoned Cart Lite for WooCommerce: by Tyche Softwares – 5.3.4
    WooCommerce Stripe Gateway: by WooCommerce – 4.1.16
    WooCommerce Google Analytics Integration: by WooCommerce – 1.4.9
    WooCommerce: by Automattic – 3.6.1
    Yoast SEO: by Team Yoast – 11.0 – Not tested with the active version of WooCommerce
    YITH WooCommerce Wishlist: by YITH – 2.2.9
    
    ### Inactive Plugins (4) ###
    
    Enhanced E-commerce for Woocommerce store: by Tatvic – 2.1.6 – Not tested with the active version of WooCommerce
    WooCommerce PDF Invoices: by Bas Elbers – 3.0.0
    WooCommerce PDF Invoices: by Bas Elbers – 3.0.0
    YITH WooCommerce Cart Messages: by YITH – 1.3.8
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: NZD ($)
    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 ###
    
    Shop base: #5 - /shop/
    Cart: #4050 - /cart/
    Checkout: #4051 - /checkout/
    My account: #4052 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Shopkeeper Child
    Version: 1.0
    Author URL: http:%20//www.getbowtied.com/
    Child Theme: ✔
    Parent Theme Name: Shopkeeper
    Parent Theme Version: 2.8.2
    Parent Theme Author URL: https://www.getbowtied.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: shopkeeper/woocommerce/archive-product.php
    shopkeeper/woocommerce/cart/cart-empty.php
    shopkeeper/woocommerce/cart/mini-cart.php
    shopkeeper/woocommerce/checkout/form-coupon.php
    shopkeeper/woocommerce/checkout/form-login.php
    shopkeeper/woocommerce/content-product.php
    shopkeeper/woocommerce/content-product_cat.php
    shopkeeper/woocommerce/content-single-product.php
    shopkeeper/woocommerce/global/quantity-input.php
    shopkeeper/woocommerce/global/sidebar.php
    shopkeeper/woocommerce/global/wrapper-end.php
    shopkeeper/woocommerce/global/wrapper-start.php
    shopkeeper/woocommerce/loop/loop-end.php
    shopkeeper/woocommerce/loop/loop-start.php
    shopkeeper/woocommerce/loop/no-products-found.php
    shopkeeper/woocommerce/myaccount/form-login.php
    shopkeeper/woocommerce/order/form-tracking.php
    shopkeeper/woocommerce/single-product/add-to-cart/simple.php
    shopkeeper/woocommerce/single-product/product-image.php
    shopkeeper/woocommerce/single-product/product-thumbnails.php
    shopkeeper/woocommerce/single-product/tabs/tabs.php
    shopkeeper/woocommerce/single-product.php
    
    ### Action Scheduler ###
    
    Complete: 31
    Oldest: 2019-04-19 11:16:42 +1200
    Newest: 2019-04-19 11:20:44 +1200
    
    Pending: 1
    Oldest: 2019-04-26 11:16:43 +1200
    Newest: 2019-04-26 11:16:43 +1200
    
    Canceled: 0
    Oldest: –
    Newest: –
    
    In-progress: 0
    Oldest: –
    Newest: –
    
    Failed: 0
    Oldest: –
    Newest: –
    
    
    Plugin Author Bas Elbers

    (@baaaaas)

    I’ve updated the plugin. Could you try again?
    Let me know if it works.

    Issue fixed for me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce Update’ is closed to new replies.