Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter purehalv

    (@purehalv)

    hi thanks for your answer.

    System status:

    
    ### WordPress Environment ###
    
    Home URL: https://pureha.lv
    Site URL: https://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: https://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 7 years ago by Marius L. J.. Reason: Fixed formatting
Viewing 1 replies (of 1 total)