baselbers / woocommerce-pdf-invoices

Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
http://wcpdfinvoices.com
GNU General Public License v3.0
73 stars 40 forks source link

Error: PDF generation aborted #252

Closed anhducbkhn closed 5 years ago

anhducbkhn commented 5 years ago

This is my env `

WordPress Environment

Home URL: https://domain.com Site URL: https://domain.com WC Version: 3.4.5 Log Directory Writable: ✔ WP Version: 4.9.8 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: ✔ WP Cron: ✔ Language: en_US External object cache: –

Server Environment

Server Info: Apache/2.4.25 (Debian) PHP Version: 7.2.8 PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.52.1 OpenSSL/1.0.2l

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

Database

WC Database Version: 3.4.5 WC Database Prefix: wp_ MaxMind GeoIP Database: ❌ The MaxMind GeoIP Database does not exist - Geolocation will not function. You can download and install it manually from https://dev.maxmind.com/geoip/geoip2/geolite2/ to the path: . Scroll down to "Downloads" and download the "MaxMind DB binary gzipped" file next to "GeoLite2 Country". Please remember to uncompress GeoLite2-Country_xxxxxxxx.tar.gz and upload the GeoLite2-Country.mmdb file only.

Total Database Size: 333.13MB Database Data Size: 205.05MB Database Index Size: 128.08MB wp_woocommerce_sessions: Data: 0.05MB + 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: 6.52MB + Index: 12.59MB 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.05MB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB 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.00MB + Index: 0.00MB setuplog: Data: 3.52MB + Index: 0.00MB woof_query_cache: Data: 0.02MB + Index: 0.00MB wp_commentmeta: Data: 0.02MB + Index: 0.03MB wp_comments: Data: 7.02MB + Index: 9.11MB wp_dynamic_widgets: Data: 0.02MB + Index: 0.02MB wp_elsdb_application: Data: 0.02MB + Index: 0.00MB wp_failed_jobs: Data: 0.00MB + Index: 0.00MB wp_feedmanager_channel: Data: 0.02MB + Index: 0.03MB wp_feedmanager_country: Data: 0.02MB + Index: 0.03MB wp_feedmanager_errors: Data: 0.02MB + Index: 0.00MB wp_feedmanager_feed_status: Data: 0.02MB + Index: 0.03MB wp_feedmanager_field_categories: Data: 0.02MB + Index: 0.00MB wp_feedmanager_product_feed: Data: 0.02MB + Index: 0.02MB wp_feedmanager_product_feedmeta: Data: 0.02MB + Index: 0.03MB wp_feedmanager_source: Data: 0.02MB + Index: 0.03MB wp_layerslider: Data: 0.00MB + Index: 0.00MB wp_links: Data: 0.02MB + Index: 0.02MB wp_litespeed_optimizer: Data: 0.00MB + Index: 0.00MB wp_mailchimp_carts: Data: 0.20MB + Index: 0.00MB wp_mclean_refs: Data: 0.02MB + Index: 0.00MB wp_mclean_scan: Data: 0.02MB + Index: 0.00MB wp_nf3_actions: Data: 0.02MB + Index: 0.00MB wp_nf3_action_meta: Data: 0.05MB + Index: 0.00MB wp_nf3_chunks: Data: 0.02MB + Index: 0.00MB wp_nf3_fields: Data: 0.02MB + Index: 0.00MB wp_nf3_field_meta: Data: 0.08MB + Index: 0.00MB wp_nf3_forms: Data: 0.02MB + Index: 0.00MB wp_nf3_form_meta: Data: 0.02MB + Index: 0.00MB wp_nf3_objects: Data: 0.02MB + Index: 0.00MB wp_nf3_object_meta: Data: 0.02MB + Index: 0.00MB wp_nf3_relationships: Data: 0.02MB + Index: 0.00MB wp_nf3_upgrades: Data: 0.11MB + Index: 0.00MB wp_nf_objectmeta: Data: 0.02MB + Index: 0.00MB wp_nf_objects: Data: 0.02MB + Index: 0.00MB wp_nf_relationships: Data: 0.02MB + Index: 0.00MB wp_ninja_forms_fav_fields: Data: 0.05MB + Index: 0.00MB wp_ninja_forms_fields: Data: 0.02MB + Index: 0.00MB wp_options: Data: 2.47MB + Index: 1.11MB wp_postmeta: Data: 98.47MB + Index: 74.39MB wp_posts: Data: 16.45MB + Index: 8.23MB wp_queue: Data: 32.45MB + Index: 1.21MB wp_quota_subscribe: Data: 0.16MB + Index: 0.00MB wp_state_subscriptions: Data: 0.16MB + Index: 0.00MB wp_termmeta: Data: 0.02MB + Index: 0.03MB wp_terms: Data: 0.02MB + Index: 0.03MB wp_term_relationships: Data: 0.19MB + Index: 0.13MB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB wp_usermeta: Data: 22.09MB + Index: 17.03MB wp_users: Data: 3.02MB + Index: 0.05MB wp_user_oauth: Data: 4.52MB + Index: 0.00MB wp_wc_download_log: Data: 0.28MB + Index: 0.23MB wp_wc_warranty_products: Data: 0.02MB + Index: 0.05MB wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB wp_wfBadLeechers: Data: 0.00MB + Index: 0.00MB wp_wfBlockedIPLog: Data: 0.01MB + Index: 0.01MB wp_wfBlocks: Data: 0.00MB + Index: 0.00MB wp_wfBlocksAdv: Data: 0.00MB + Index: 0.00MB wp_wfConfig: Data: 0.01MB + Index: 0.01MB wp_wfCrawlers: Data: 0.01MB + Index: 0.01MB wp_wfFileMods: Data: 1.21MB + Index: 0.33MB wp_wfHits: Data: 0.66MB + Index: 0.13MB wp_wfHoover: Data: 0.00MB + Index: 0.00MB wp_wfIssues: Data: 0.02MB + Index: 0.00MB wp_wfKnownFileList: Data: 0.79MB + Index: 0.10MB wp_wfLeechers: Data: 0.35MB + Index: 0.39MB wp_wfLockedOut: Data: 0.00MB + Index: 0.00MB wp_wfLocs: Data: 0.00MB + Index: 0.00MB wp_wfLogins: Data: 0.03MB + Index: 0.01MB wp_wfNet404s: Data: 1.76MB + Index: 1.15MB wp_wfNotifications: Data: 0.00MB + Index: 0.00MB wp_wfReverseCache: Data: 0.00MB + Index: 0.00MB wp_wfScanners: Data: 0.11MB + Index: 0.18MB wp_wfSNIPCache: Data: 0.00MB + Index: 0.00MB wp_wfStatus: Data: 0.08MB + Index: 0.04MB wp_wfThrottleLog: Data: 0.00MB + Index: 0.00MB wp_wfVulnScanners: Data: 0.00MB + Index: 0.00MB wp_woocommerce_bundled_itemmeta: Data: 0.00MB + Index: 0.01MB wp_woocommerce_bundled_items: Data: 0.00MB + Index: 0.00MB wp_woocommerce_per_product_shipping_rules: Data: 0.36MB + Index: 0.00MB wp_woo_sr_cart_items: Data: 0.02MB + Index: 0.03MB wp_woo_sr_orders_meta_all: Data: 0.02MB + Index: 0.00MB wp_yoast_seo_links: Data: 0.03MB + Index: 0.01MB wp_yoast_seo_meta: Data: 0.81MB + Index: 0.82MB

Post Type Counts

attachment: 949 blocks: 13 carousels: 13 customize_changeset: 2 nav_menu_item: 47 nf_sub: 3 oembed_cache: 20 page: 49 payment_retry: 648 portfolio_page: 2 post: 130 product: 66 product_variation: 89 revision: 107 scheduled-action: 596 shop_coupon: 185 shop_order: 40 shop_order_refund: 630 shop_subscription: 16 sliced_quote: 1 slides: 3 testimonials: 3 vc-element: 1 warranty_request: 106 wc_order_email: 1 wc_order_status: 11 yith-wccos-ostatus: 5

Security

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

Active Plugins (33)

PW Advanced Woo Reporting: by Proword – 3.0 – Not tested with the active version of WooCommerce S3 Uploads: by Human Made Limited – 2.0.0 Audience Analytics – by Quantcast: by Quantcast – 1.0.0 CardConnect Payment Gateway: by CardConnect – 2.0.8 – Not tested with the active version of WooCommerce Crazy Egg: by Crazy Egg – 2.1 Google Tag Manager for Wordpress: by Thomas Geiger – 1.9 Emotiv get information of the license: by – 0.0.1 Emotiv Hack menu: by – 0.0.0 Emotiv Push Cloud: by – 0.0.3 Hack postcode for dubai: by – 0.0.0 Mailchimp for WooCommerce: by Mailchimp – 2.1.11 – Not tested with the active version of WooCommerce MailChimp: by MailChimp – 1.5.7 Ninja Forms: by The WP Ninjas – 3.3.13 Restrict trial day: by – 0.0.1 Fast Secure Contact Form: by fastsecure – 4.0.56 Simple 301 Redirects: by Scott Nellé – 1.07 WC Coupons by Country: by AxisThemes – 1.0.0 – Not tested with the active version of WooCommerce Advanced Order Export For WooCommerce: by AlgolPlus – 1.5.3 – Not tested with the active version of WooCommerce WooCommerce Conditional Shipping and Payments: by SomewhereWarm – 1.4.1 WooCommerce Dynamic Pricing: by Lucas Stark – 3.0.7 – 3.1.10 is available – Not tested with the active version of WooCommerce WooCommerce First Data Payeezy Gateway: by SkyVerge – 4.3.1 – 4.3.4 is available – Not tested with the active version of WooCommerce WooCommerce PayPal Powered by Braintree Gateway: by WooCommerce – 2.1.1 – Not tested with the active version of WooCommerce WooCommerce AdWords Dynamic Remarketing: by Wolf+Bär Agency – 1.4.7 WooCommerce PDF Invoices: by Bas Elbers – 2.9.16 WooCommerce Shipping Per Product v2: by WooCommerce – 2.2.15 WooCommerce Shipwire: by SkyVerge – 2.3.3 – 2.3.4 is available WooCommerce Subscriptions: by Prospress Inc. – 2.3.6 – 2.4.2 is available WooCommerce: by Automattic – 3.4.5 – 3.5.0 is available Yoast SEO: by Team Yoast – 8.3 WP Crontrol: by John Blackbourn & contributors – 1.6.2 WP Mail SMTP: by WPForms – 1.3.3 WP Product Feed Manager: by Michel Jongbloed – 1.9.4 Zendesk Chat Widget: by Zendesk – 1.4.12

Settings

API Enabled: ✔ Force SSL: ✔ Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: bundle (bundle) external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription)

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)

WC Pages

Shop base: #89 - /store/ Cart: #713 - /cart/ Checkout: #714 - /checkout/ My account: ❌ Page does not contain the shortcode. Terms and conditions: #7441 - /shipping/

Theme

Name: Flatsome Version: 3.5.3 Author URL: http://www.uxthemes.com/ Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ✔

Templates

Overrides: flatsome/woocommerce/archive-product.php version 3.3.0 is out of date. The core version is 3.4.0 flatsome/woocommerce/cart/cart-empty.php flatsome/woocommerce/cart/cart.php version 3.3.0 is out of date. The core version is 3.4.0 flatsome/woocommerce/checkout/form-checkout.php flatsome/woocommerce/checkout/form-coupon.php version 3.3.0 is out of date. The core version is 3.4.4 flatsome/woocommerce/checkout/payment.php version 3.3.0 is out of date. The core version is 3.4.0 flatsome/woocommerce/checkout/terms.php version 3.1.1 is out of date. The core version is 3.4.0 flatsome/woocommerce/checkout/thankyou.php flatsome/woocommerce/content-product.php version 3.0.0 is out of date. The core version is 3.4.0 flatsome/woocommerce/content-product_cat.php flatsome/woocommerce/content-single-product.php version 3.0.0 is out of date. The core version is 3.4.0 flatsome/woocommerce/global/breadcrumb.php flatsome/woocommerce/global/quantity-input.php version 3.3.0 is out of date. The core version is 3.4.0 flatsome/woocommerce/global/wrapper-end.php flatsome/woocommerce/global/wrapper-start.php flatsome/woocommerce/loop/loop-end.php flatsome/woocommerce/loop/loop-start.php flatsome/woocommerce/loop/pagination.php flatsome/woocommerce/loop/price.php flatsome/woocommerce/loop/result-count.php flatsome/woocommerce/loop/sale-flash.php flatsome/woocommerce/myaccount/form-edit-account.php version 3.3.0 is out of date. The core version is 3.4.0 flatsome/woocommerce/myaccount/form-login.php version 3.3.0 is out of date. The core version is 3.4.0 flatsome/woocommerce/myaccount/navigation.php flatsome/woocommerce/notices/error.php flatsome/woocommerce/notices/notice.php flatsome/woocommerce/notices/success.php flatsome/woocommerce/product-searchform.php flatsome/woocommerce/single-product/photoswipe.php flatsome/woocommerce/single-product/price.php flatsome/woocommerce/single-product/product-image.php flatsome/woocommerce/single-product/product-thumbnails.php flatsome/woocommerce/single-product/related.php flatsome/woocommerce/single-product/review.php flatsome/woocommerce/single-product/sale-flash.php flatsome/woocommerce/single-product/share.php flatsome/woocommerce/single-product/short-description.php flatsome/woocommerce/single-product/tabs/tabs.php flatsome/woocommerce/single-product/title.php flatsome/woocommerce/single-product/up-sells.php flatsome/woocommerce/single-product-reviews.php flatsome/woocommerce/single-product.php

Outdated Templates: ❌

                    Learn how to update

Subscriptions

WCS_DEBUG: ✔ No Subscriptions Mode: ❌ Staging Subscriptions Template Theme Overrides: flatsome/woocommerce/myaccount/subscription-details.php Subscription Statuses: wc-active: 9 wc-pending: 3 wc-on-hold: 3 wc-cancelled: 1

WooCommerce Account Connected: ✔ Yes Active Product Key: ✔ Yes Custom Retry Rules: ✔ No Custom Retry Rule Class: ✔ No Custom Raw Retry Rule: ✔ No Custom Retry Rule: ✔ No Report Cache Enabled: ✔ Yes Cache Update Failures: ✔ 0 failure

Store Setup

Country / State: United States (US) — California

Subscriptions by Payment Gateway

Braintree (Credit Card): wc-active: 9 wc-cancelled: 1 wc-on-hold: 3 wc-pending: 3

Payment Gateway Support

Direct bank transfer: products Check payments: products Braintree (Credit Card): products card_types payment_form tokenization charge charge-virtual authorization capture_charge customer_decline_messages refunds voids customer_id add_payment_method token_editor subscriptions subscription_suspension subscription_cancellation subscription_reactivation subscription_amount_changes subscription_date_changes multiple_subscriptions subscription_payment_method_change_customer subscription_payment_method_change_admin

Braintree (PayPal): products card_types payment_form tokenization charge charge-virtual authorization capture_charge customer_decline_messages refunds voids customer_id add_payment_method token_editor subscriptions subscription_suspension subscription_cancellation subscription_reactivation subscription_amount_changes subscription_date_changes multiple_subscriptions subscription_payment_method_change_customer subscription_payment_method_change_admin

Braintree (Credit Card)

Environment: Sandbox Tokenization Enabled: Debug Mode: Save to Log

Braintree (PayPal)

Environment: Sandbox Tokenization Enabled: Debug Mode: Save to Log ` When I click on button "create" on box PDF Invoice in order page. I got error:

WooCommerce PDF Invoices ERROR: PDF generation aborted. Template not found in /var/www/html/wp-content/plugins/woocommerce-pdf-invoices/includes/class-template.php:114

Please help!