Marcus
Forum Replies Created
-
I have resolved the issue. The root cause was that the plugin was set to automatically change the order status based on a timer, and I had deleted the order manually before this timer expired. As a result, the plugin was throwing an error because it didn’t know which order to update or what status to change it to. The problem can be fixed by simply adding a check in the initial code. When the plugin can’t find the order, it should not generate a critical error but rather should check if the order exists. If it does exist, then it should proceed with its function. If it doesn’t find the order, it should just ignore it, understanding that it has already been manually deleted. This logic needs to be implemented in the code.
Forum: Plugins
In reply to: [Invoices for WooCommerce] Hello. Back again with bugOk. I fixed that
https://www99.zippyshare.com/v/C4cMVZqK/file.htmlWhat i fixed?
Added/**
* Get formatted company address.
*
* @return string
*/
public function get_formatted_company_address() {if ( BEWPI_WC_Core_Compatibility::is_wc_version_gte_3_0() ) {
$formatted_company_address = self::get_formatted_base_address();
} else {
$formatted_company_address = nl2br( self::get_option( ‘template’, ‘company_address’ ) ) . ‘<br>’;
}return $formatted_company_address;
}and
replaced
if ( ! empty( $company_phone ) ) {
$formatted_company_details .= sprintf( __( ‘Phone: %s’, ‘woocommerce-pdf-invoices’ ), $company_phone ) . ‘<br>’;
}if ( ! empty( $company_email_address ) ) {
$formatted_company_details .= sprintf( __( ‘Email: %s’, ‘woocommerce-pdf-invoices’ ), $company_email_address ) . ‘<br>’;Forum: Plugins
In reply to: [Invoices for WooCommerce] Hello. Back again with bugafter
public function get_formatted_company_address() {
$company_phone = self::get_option( ‘template’, ‘company_phone’ );You lost
$formatted_company_details = ”;Fixed.. I disable : Webcraftic Disable Admin Notices Individually
And all worksI try that but not a help me((
Forum: Plugins
In reply to: [Invoices for WooCommerce] Roll Back to version 3.0.11Hello. I fixed this version 3.1.0 for 10 min.. I can’t wait official release (and see notice on v3.0.11) and upload that a now!
Enjoy!
DOWNLOAD: 12.7 MB
https://www48.zippyshare.com/v/xU2hWV6O/file.html- This reply was modified 6 years, 1 month ago by Marcus.
Forum: Plugins
In reply to: [Invoices for WooCommerce] Roll Back to version 3.0.11) Ok
- This reply was modified 6 years, 1 month ago by Marcus.
Forum: Plugins
In reply to: [Invoices for WooCommerce] Roll Back to version 3.0.11We will wait for the fixes of the problem. Thanks
Forum: Plugins
In reply to: [HandMade WooCommerce Order Status Control] Please, make fix or featuresHello. Thanks for answer me) I understand that) If in future you can make a automation control of process be cool)
Forum: Plugins
In reply to: [WooCommerce] How do that. File Size Output for DG Products<?php
$attach_id = 8677;
$meta = wp_get_attachment_metadata( $attach_id );if ( isset( $meta[‘filesize’] ) )
$file_size = $meta[‘filesize’];
elseif ( $file = get_attached_file( $attach_id ) )
if( file_exists( $file ) )
$file_size = filesize( $file );echo size_format( $file_size );
?>that work but needed past ID = 8677 (Manual ..) how do that, get a attached file id (Auto to per Product)?
Please! Fix-it! Nitification banner on all pages about rate, i cant closed him… (javascript:void(0)) closed not work.. I can tap 1 star but i will hope you fixit or i will delete plugin

