wordpress - Woocommerce issue -
so due business change have un-installed woo commerce plugin , re-installed it. on products create throws me error( becaus public on webpage no matter do)
warning: sprintf(): few arguments in /home/xxxx/public_html/wp/wp-includes/functions.php on line 3829
notice: in /home/xxxxxx/public_html/wp/wp-includes/functions.php on line 3829
notice: id called incorrectly. product properties should not accessed directly. please see debugging in wordpress more information. (this message added in version 3.0.) in /home/xxxx/public_html/wp/wp-includes/functions.php on line 4137
the code @ line 3289
* filters whether trigger error deprecated functions. * * @since 2.5.0 * * @param bool $trigger whether trigger error deprecated functions. default true. */ if ( wp_debug && apply_filters( 'deprecated_function_trigger_error', true ) ) { if ( function_exists( '__' ) ) { if ( ! is_null( $replacement ) ) { /* translators: 1: php function name, 2: version number, 3: alternative function name */ trigger_error( sprintf( __('%1$s <strong>deprecated</strong> since version %2$s! use %3$s instead.'), $function, $version, $replacement ) ); } else { /* translators: 1: php function name, 2: version number */ trigger_error( sprintf( __('%1$s <strong>deprecated</strong> since version %2$s no alternative available.'), $function, $version ) ); } } else { if ( ! is_null( $replacement ) ) { trigger_error( sprintf( '%1$s <strong>deprecated</strong> since version %2$s! use %3$s instead.', $function, $version, $replacement ) ); } else { trigger_error( sprintf( '%1$s <strong>deprecated</strong> since version %2$s no alternative available.', $function, $version ) ); } and @ page 4137
@param bool $trigger whether trigger error _doing_it_wrong() calls. default true. */ if ( wp_debug && apply_filters( 'doing_it_wrong_trigger_error', true ) ) { if ( function_exists( '__' ) ) { if ( is_null( $version ) ) { $version = ''; } else { /* translators: %s: version number */ $version = sprintf( __( '(this message added in version %s.)' ), $version ); } /* translators: %s: codex url */ $message .= ' ' . sprintf( __( 'please see <a href="%s">debugging in wordpress</a> more information.' ), __( 'https://codex.wordpress.org/debugging_in_wordpress' ) ); /* translators: developer debugging message. 1: php function name, 2: explanatory message, 3: version information message */ trigger_error( sprintf( __( '%1$s called <strong>incorrectly</strong>. %2$s %3$s' ), $function, $message, $version ) ); } else { if ( is_null( $version ) ) { $version = ''; } else { $version = sprintf( '(this message added in version %s.)', $version ); } $message .= sprintf( ' please see <a href="%s">debugging in wordpress</a> more information.', 'https://codex.wordpress.org/debugging_in_wordpress' ); trigger_error( sprintf( '%1$s called <strong>incorrectly</strong>. %2$s %3$s', $function, $message, $version ) ); } could hint possible resolution?
Comments
Post a Comment