Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter macronkulwinder

    (@macronkulwinder)

    Hi,

    I have installed premium theme which use CMB2 Library.

    Here is the link to file that creates meta boxes. https://we.tl/t-XYLl6ykKFY

    For me everything seems to fine. Hope you can find out what is wrong. It just related to date.

    Thread Starter macronkulwinder

    (@macronkulwinder)

    I got another fetal error email while edit page. When i switched to recovery mode i got below error.

     This plugin failed to load properly and is paused during recovery mode.

    An error of type E_ERROR was caused in line 315 of the file /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Base.php. Error message: Uncaught ArgumentCountError: date() expects at most 2 arguments, 3 given in /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Base.php:315 Stack trace: #0 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Base.php(315): date() #1 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Base.php(273): CMB2_Base->do_callback() #2 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Field.php(1345): CMB2_Base->get_param_callback_result() #3 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Field.php(778): CMB2_Field->get_default() #4 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Field.php(756): CMB2_Field->val_or_default() #5 /var/www/html/wp-content/plugins/cmb2/includes/types/CMB2_Type_Multi_Base.php(77): CMB2_Field->escaped_value() #6 /var/www/html/wp-content/plugins/cmb2/includes/types/CMB2_Type_Select.php(21): CMB2_Type_Multi_Base->concat_items() #7 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Types.php(605): CMB2_Type_Select->render() #8 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Types.php(101): CMB2_Types->select() #9 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Types.php(90): CMB2_Types->_render() #10 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Field.php(934): CMB2_Types->render() #11 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Base.php(315): CMB2_Field->render_field_callback() #12 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Base.php(273): CMB2_Base->do_callback() #13 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Base.php(249): CMB2_Base->get_param_callback_result() #14 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Field.php(872): CMB2_Base->peform_param_callback() #15 /var/www/html/wp-content/plugins/cmb2/includes/CMB2.php(472): CMB2_Field->render_field() #16 /var/www/html/wp-content/plugins/cmb2/includes/CMB2.php(268): CMB2->render_field() #17 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Hookup.php(736): CMB2->show_form() #18 /var/www/html/wp-admin/includes/template.php(1456): CMB2_Hookup->metabox_callback() #19 /var/www/html/wp-admin/includes/post.php(2384): do_meta_boxes() #20 /var/www/html/wp-admin/edit-form-blocks.php(319): the_block_editor_meta_boxes() #21 /var/www/html/wp-admin/post.php(187): require('...') #22 {main} thrown

    Thread Starter macronkulwinder

    (@macronkulwinder)

    I am using free plugin. I just have option to activate and deactivate it. The configuration should be default. I just updated php version8.3 couple days ago. After that i am having this issue. also i have WordPress version 6.6 and in plugin it shows Warning:?This plugin?has not been tested?with your current version of WordPress. I am assuming it could be the plugin issue. Below is the complete error log~

    PHP Fatal error: Uncaught ArgumentCountError: date() expects at most 2 arguments, 3 given in /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Base.php:315\nStack trace:\n#0 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Base.php(315): date()\n#1 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Base.php(273): CMB2_Base->do_callback()\n#2 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Field.php(1345): CMB2_Base->get_param_callback_result()\n#3 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Field.php(778): CMB2_Field->get_default()\n#4 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Field.php(756): CMB2_Field->val_or_default()\n#5 /var/www/html/wp-content/plugins/cmb2/includes/types/CMB2_Type_Multi_Base.php(77): CMB2_Field->escaped_value()\n#6 /var/www/html/wp-content/plugins/cmb2/includes/types/CMB2_Type_Select.php(21): CMB2_Type_Multi_Base->concat_items()\n#7 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Types.php(605): CMB2_Type_Select->render()\n#8 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Types.php(101): CMB2_Types->select()\n#9 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Types.php(90): CMB2_Types->_render()\n#10 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Field.php(934): CMB2_Types->render()\n#11 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Base.php(315): CMB2_Field->render_field_callback()\n#12 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Base.php(273): CMB2_Base->do_callback()\n#13 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Base.php(249): CMB2_Base->get_param_callback_result()\n#14 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Field.php(872): CMB2_Base->peform_param_callback()\n#15 /var/www/html/wp-content/plugins/cmb2/includes/CMB2.php(472): CMB2_Field->render_field()\n#16 /var/www/html/wp-content/plugins/cmb2/includes/CMB2.php(268): CMB2->render_field()\n#17 /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Hookup.php(736): CMB2->show_form()\n#18 /var/www/html/wp-admin/includes/template.php(1456): CMB2_Hookup->metabox_callback()\n#19 /var/www/html/wp-admin/includes/post.php(2384): do_meta_boxes()\n#20 /var/www/html/wp-admin/edit-form-blocks.php(319): the_block_editor_meta_boxes()\n#21 /var/www/html/wp-admin/post.php(187): require(‘…’)\n#22 {main}\n thrown in /var/www/html/wp-content/plugins/cmb2/includes/CMB2_Base.php on line 315, referer:

    Same issue~

    wordpress 6.6

    plugin version 5.1.0

    DeprecatedCreation of dynamic property Kirki\Field\Repeater::$compiler is deprecated-

    1. wp-content/plugins/kirki/kirki-packages/compatibility/src/Field.php:305
    2. Kirki\Compatibility\Field->__construct()
      wp-content/plugins/kirki/kirki-packages/compatibility/src/Kirki.php:215
    3. Kirki\Compatibility\Kirki::add_field()
      wp-content/themes/maxstore-pro/lib/theme-config.php:1097

    1Plugin: kirki

    Thread Starter macronkulwinder

    (@macronkulwinder)

    Hello @bruceallen. Thank you for your help. Yes it was fixed. Looks like Jetpack team cleared the old token. I was able to connect it again yesterday.

    Thread Starter macronkulwinder

    (@macronkulwinder)

    It is conflicting with this function in WP Pickup Store….

    function wps_store_get_store_admin($return_id = false, $args = array(), $array_keys = false) {
    	$stores = array();
    	$defaults = array(
    		'post_type' => 'store',
    		'post_status' => 'publish',
    		'posts_per_page' => -1,
    		'orderby' => WPS()->stores_order_by,
    		'order' => WPS()->stores_order,
    		'meta_query' => array(
    			'relation' => 'AND',
    			array(
    				'key' => '_exclude_store',
    				'compare' => 'EXISTS',
    			),
    			array(
    				'key' => '_exclude_store',
    				'value' => '0',
    			)
    		),
    	);
    	$args = apply_filters('wps_store_query_args', wp_parse_args($args, $defaults));
    		
    	$query = new WP_Query($args);
    
    	if($query->have_posts()) {
    		while ($query->have_posts()) : $query->the_post();
    			if ($array_keys) {
    				$stores[] = array(
    					'id' => get_the_ID(),
    					'name' => $query->post->post_title
    				);
    			} else {
    				if(!$return_id) {
    					$stores[$query->post->post_title] = $query->post->post_title;
    				} else {
    					$stores[get_the_ID()] = $query->post->post_title;
    				}
    			}
    		endwhile;
    		wp_reset_postdata();
    	}
    
    	return $stores;
    }
    Thread Starter macronkulwinder

    (@macronkulwinder)

    Hi,

    I found it. it is conflicting with the plugin “WC Pickup Store”. Can you please help me with how I can fix this conflict?

    Thread Starter macronkulwinder

    (@macronkulwinder)

    It is repeating or not showing only in the listing. When Edit/View order tracking number is correct.

    Thread Starter macronkulwinder

    (@macronkulwinder)

    Click Here for screenshot. It is checked in screen options. If I filter shipped orders then it is repeating the tracking number for all orders. If I do not filter data tracking number does not show at all.

Viewing 9 replies - 1 through 9 (of 9 total)