• I have problems with my woocommerce PDF invoices free version automatic emails.At firs I install woocommerce PDF invoices free version and emails was working and generated PDF with out problems. then I decided to try other plugin – “WooCommerce PDF Invoices & Packing Slips”, but I uninstall it. after that I installed back WooCommerce PDF Invoices. And now woocommerce dont send any emails to client and shop owner. so I dont know where is the problem.

    after that I even deactivated my woocommerce and set up all shop page again. but still I have the same problem woocommerce PDF invoices free dont send any emails to client and shop owner.. but other plugin – “WooCommerce PDF Invoices & Packing Slips” is working and sending.

    can you please help me with my problem with WooCommerce PDF Invoices emails ?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • I am having the same problem. There is no email sent after someone orders a product.

    Hey guys,

    Literally same issue here as @purehalv, only with the Premium. Would really appreciate some help on that.

    Plugin Author Bas Elbers

    (@baaaaas)

    Hi,

    You can send me your WooCommerce System Status and your debug.log file and I will be able to help you out.

    @filip4husaria you can send me an email since you are using the premium version.

    Thread Starter purehalv

    (@purehalv)

    hi thanks for your answer.

    System status:

    
    ### WordPress Environment ###
    
    Home URL: http://pureha.lv
    Site URL: http://pureha.lv
    WC Version: 3.2.2
    Log Directory Writable: ✔
    WP Version: 4.8.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: lv
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.1.11
    PHP Post Max Size: 8 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 5000
    cURL Version: 7.54.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    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.2.2
    WC Database Prefix: wpbk_
    Total Database Size: 28.86MB
    Database Data Size: 28.31MB
    Database Index Size: 0.55MB
    wpbk_woocommerce_sessions: Data: 0.00MB + Index: 0.00MB
    wpbk_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
    wpbk_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
    wpbk_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wpbk_woocommerce_order_items: Data: 0.01MB + Index: 0.01MB
    wpbk_woocommerce_order_itemmeta: Data: 0.06MB + Index: 0.05MB
    wpbk_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB
    wpbk_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wpbk_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wpbk_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB
    wpbk_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    wpbk_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    wpbk_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
    wpbk_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    wpbk_commentmeta: Data: 0.00MB + Index: 0.01MB
    wpbk_comments: Data: 0.01MB + Index: 0.01MB
    wpbk_links: Data: 0.00MB + Index: 0.00MB
    wpbk_options: Data: 0.47MB + Index: 0.04MB
    wpbk_postmeta: Data: 24.78MB + Index: 0.29MB
    wpbk_posts: Data: 2.97MB + Index: 0.08MB
    wpbk_termmeta: Data: 0.00MB + Index: 0.01MB
    wpbk_terms: Data: 0.00MB + Index: 0.01MB
    wpbk_term_relationships: Data: 0.00MB + Index: 0.01MB
    wpbk_term_taxonomy: Data: 0.00MB + Index: 0.00MB
    wpbk_usermeta: Data: 0.01MB + Index: 0.01MB
    wpbk_users: Data: 0.00MB + Index: 0.01MB
    wpbk_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    amn_envira-lite: 1
    attachment: 137
    customize_changeset: 6
    custom_css: 1
    easingslider: 1
    elementor_library: 6
    envira: 2
    fl-builder-template: 39
    nav_menu_item: 26
    page: 17
    polylang_mo: 1
    post: 2
    product: 2
    revision: 801
    shop_order: 73
    tt_font_control: 1
    wpcf7_contact_form: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (15) ###
    
    Polylang: by Frédéric Demarle – 2.2.3
    Beaver Builder Plugin (Lite Version): by The Beaver Builder Team – 1.10.9.2
    Contact Form 7: by Takayuki Miyoshi – 4.9.1
    Easing Slider: by Matthew Ruddy – 3.0.8
    Elementor: by Elementor.com – 1.7.12
    Envira Gallery Lite: by Envira Gallery Team – 1.6.1.7
    Estonian Shipping Methods for WooCommerce: by Konekt OÜ – 1.5.1 – Not tested with the active version of WooCommerce
    Loco Translate: by Tim Whitlock – 2.0.16
    Sticky Menu (or Anything!) on Scroll: by Mark Senff – 2.0.1
    Woo Checkout Field Editor Pro: by ThemeHiGH – 1.2.3 – Not tested with the active version of WooCommerce
    grozs: by Sh Shanker
    RiteshShakya – 3.1.3 – Not tested with the active version of WooCommerce
    
    WooCommerce PDF Invoices: by Bas Elbers – 2.9.9 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.2.2
    WP Google Fonts: by Noah Kagan – v3.1.4
    Custom Product Tabs for WooCommerce: by YIKES
    Inc. – 1.6.3
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right
    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)
    
    ### WC Pages ###
    
    Shop base: #102 - /shop/
    Cart: #556 - /grozs/
    Checkout: #106 - /checkout/
    My account: #108 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: TESSERACT
    Version: 3.6.0
    Author URL: http://tesseracttheme.com/theme-details/
    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: tesseract-free-theme/woocommerce/archive-product.php
    tesseract-free-theme/woocommerce/content-product.php
    tesseract-free-theme/woocommerce/content-single-product.php
    tesseract-free-theme/woocommerce/emails/admin-new-order.php
    tesseract-free-theme/woocommerce/emails/customer-invoice.php
    tesseract-free-theme/woocommerce/loop/sale-flash.php
    tesseract-free-theme/woocommerce/single-product/add-to-cart/grouped.php
    tesseract-free-theme/woocommerce/single-product/add-to-cart/simple.php
    tesseract-free-theme/woocommerce/single-product/rating.php
    tesseract-free-theme/woocommerce/single-product/review-rating.php
    tesseract-free-theme/woocommerce/single-product/review.php
    tesseract-free-theme/woocommerce/single-product-reviews.php
    tesseract-free-theme/woocommerce/single-product.php
    
    

    I hope I found the real one debug.log File (if not then where to find it?)

    
    <?php
    /**
     * Simple logging class that writes to wp-content/debug.log file.
     *
     * @author      Bas Elbers
     * @category    Class
     * @package     BE_WooCommerce_PDF_Invoices/Class
     * @version     0.0.1
     */
    
    defined( 'ABSPATH' ) or exit;
    
    if ( ! class_exists( 'BEWPI_Debug_Log' ) ) {
    	/**
    	 * Class BEWPI_Debug_Log.
    	 */
    	class BEWPI_Debug_Log {
    
    		/** Main instance.
    		 *
    		 * @var BEWPI_Debug_Log The single instance of the class.
    		 */
    		protected static $_instance = null;
    
    		/**
    		 * Detailed debug information
    		 */
    		const DEBUG = 100;
    
    		/**
    		 * Interesting events
    		 *
    		 * Examples: Visitor subscribed
    		 */
    		const INFO = 200;
    
    		/**
    		 * Exceptional occurrences that are not errors
    		 *
    		 * Examples: User already subscribed
    		 */
    		const WARNING = 300;
    
    		/**
    		 * Runtime errors
    		 */
    		const ERROR = 400;
    
    		/**
    		 * Logging levels from syslog protocol defined in RFC 5424
    		 *
    		 * @var array $levels Logging levels
    		 */
    		protected static $levels = array(
    			self::DEBUG   => 'DEBUG',
    			self::INFO    => 'INFO',
    			self::WARNING => 'WARNING',
    			self::ERROR   => 'ERROR',
    		);
    
    		/**
    		 * Main BEWPI_Debug_Log Instance.
    		 *
    		 * Ensures only one instance of BEWPI_Debug_Log is loaded or can be loaded.
    		 *
    		 * @since 2.7.2
    		 * @static
    		 * @return BEWPI_Debug_Log Main instance
    		 */
    		public static function instance() {
    			if ( is_null( self::$_instance ) ) {
    				self::$_instance = new self();
    			}
    
    			return self::$_instance;
    		}
    
    		/**
    		 * Log to wp-content/debug.log file.
    		 *
    		 * @param string $level Log level.
    		 * @param string $message Log message.
    		 *
    		 * @return bool true on success and false on failure.
    		 */
    		private function log( $level, $message ) {
    			$level = self::to_level( $level );
    
    			// Generate line.
    			$level_name = self::get_level_name( $level );
    			$message    = sprintf( 'WooCommerce PDF Invoices %s: %s', $level_name, $message );
    
    			return error_log( $message );
    		}
    
    		/**
    		 * Log warning.
    		 *
    		 * @param string $message Log message.
    		 *
    		 * @return bool true on success and false on failure.
    		 */
    		public function warning( $message ) {
    			return $this->log( self::WARNING, $message );
    		}
    
    		/**
    		 * Log information.
    		 *
    		 * @param string $message Log message.
    		 *
    		 * @return bool true on success and false on failure.
    		 */
    		public function info( $message ) {
    			return $this->log( self::INFO, $message );
    		}
    
    		/**
    		 * Log error.
    		 *
    		 * @param string $message Log message.
    		 *
    		 * @return bool true on success and false on failure.
    		 */
    		public function error( $message ) {
    			return $this->log( self::ERROR, $message );
    		}
    
    		/**
    		 * Log debug information.
    		 *
    		 * @param string $message Log message.
    		 *
    		 * @return bool true on success and false on failure.
    		 */
    		public function debug( $message ) {
    			return $this->log( self::DEBUG, $message );
    		}
    
    		/**
    		 * Converts PSR-3 levels to local ones if necessary.
    		 *
    		 * @param string|int $level Level number or name (PSR-3).
    		 *
    		 * @return int
    		 */
    		public static function to_level( $level ) {
    
    			if ( is_string( $level ) ) {
    
    				$level = strtoupper( $level );
    				if ( defined( __CLASS__ . '::' . $level ) ) {
    					return constant( __CLASS__ . '::' . $level );
    				}
    
    				throw new InvalidArgumentException( 'Level "' . $level . '" is not defined, use one of: ' . implode( ', ', array_keys( self::$levels ) ) );
    			}
    
    			return $level;
    		}
    
    		/**
    		 * Gets the name of the logging level.
    		 *
    		 * @param  int $level Log level.
    		 *
    		 * @return string
    		 */
    		public static function get_level_name( $level ) {
    
    			if ( ! isset( self::$levels[ $level ] ) ) {
    				throw new InvalidArgumentException( 'Level "' . $level . '" is not defined, use one of: ' . implode( ', ', array_keys( self::$levels ) ) );
    			}
    
    			return self::$levels[ $level ];
    		}
    	}
    }
    
    • This reply was modified 6 years, 5 months ago by Marius L. J.. Reason: Fixed formatting
    Plugin Author Bas Elbers

    (@baaaaas)

    Hi,

    In order to get a debug.log file you need to enable debugging. See readme first topic on how to enable it.

    Hi

    Was this resolved as I just installed the PDF plugin hours ago to test the free plugin and then deactivated it and NOW my emails are NOT sending out to customers etc like it did hours before.

    This plugin has caused a strange issue with EMAIL notifications not working after installation …

    URGENT help required !!

    Thx
    Kristin

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not sending email’ is closed to new replies.