Home Forums WoodMart support forum there is some error in your theme, check this and send this to your theme provid

there is some error in your theme, check this and send this to your theme provid

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #329604

    dokansa
    Participant

    2021-11-03T10:15:55+00:00 CRITICAL Uncaught Error: Call to undefined function woodmart_admin_scripts_localize() in /home/598638.cloudwaysapps.com/kntqvrzfkb/public_html/wp-content/themes/gems54/inc/integrations/woocommerce/modules/attributes-meta-boxes.php:23
    Stack trace:
    #0 /home/598638.cloudwaysapps.com/kntqvrzfkb/public_html/wp-includes/class-wp-hook.php(303): woodmart_wc_attribute_update()
    #1 /home/598638.cloudwaysapps.com/kntqvrzfkb/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #2 /home/598638.cloudwaysapps.com/kntqvrzfkb/public_html/wp-includes/plugin.php(470): WP_Hook->do_action()
    #3 /home/598638.cloudwaysapps.com/kntqvrzfkb/public_html/wp-content/plugins/woocommerce/includes/wc-attribute-functions.php(559): do_action()
    #4 /home/598638.cloudwaysapps.com/kntqvrzfkb/public_html/wp-content/plugins/woocommerce/includes/wc-attribute-functions.php(651): wc_create_attribute()
    #5 /home/598638.cloudwaysapps.com/kntqvrzfkb/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-pr في /home/598638.cloudwaysapps.com/kntqvrzfkb/public_html/wp-content/themes/gems54/inc/integrations/woocommerce/modules/attributes-meta-boxes.php في السطر 23

    #329605

    Artem Temos
    Keymaster

    Hello,

    Thank you for contacting us!

    Could you please send us a screenshot of where exactly do you see this error on your website now?

    Kind Regards

    #329606

    dokansa
    Participant

    The error is linking the site to the accounts program and because of the template synchronization does not occur
    UltimatePOS
    The technical support of the program was contacted and said that the problem is in the template

    #329614

    Artem Temos
    Keymaster

    Please, provide us with your FTP access. Also, it would be great if you could provide us access to UltimatePOS so we can troubleshoot it and see the problem ourselves.

    #329630

    dokansa
    Participant
    #329631

    Artem Temos
    Keymaster

    We need your FTP access as well.

    Thank you

    #329633

    dokansa
    Participant

    APPLICATION CREDENTIALS
    You can create and use multiple Application credentials for SFTP or SSH access to this Application. More Details

    Public IP:
    136.244.119.75

    #329643

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file to fix this

    	
    add_action( 'woocommerce_attribute_updated', 'woodmart_wc_attribute_update', 20, 3);
    function woodmart_wc_attribute_update( $attribute_id, $attribute, $old_attribute_name ) {
    		$attribute_swatch_size = isset( $_POST['attribute_swatch_size'] ) ? $_POST['attribute_swatch_size'] : '';
    		update_option( 'woodmart_pa_' . $attribute['attribute_name'] . '_swatch_size', sanitize_text_field( $attribute_swatch_size ) );
    
    		$attribute_show_on_product = isset( $_POST['attribute_show_on_product'] ) ? $_POST['attribute_show_on_product'] : '';
    		update_option( 'woodmart_pa_' . $attribute['attribute_name'] . '_show_on_product', sanitize_text_field( $attribute_show_on_product ) );
    
    		// Change value of selected option
    		if( function_exists( 'woodmart_admin_scripts_localize' ) ) {
    			woodmart_admin_scripts_localize();
    		}
    	}
    #329644

    dokansa
    Participant

    Important notice: You have an outdated version of WPBakery Page Builder Design Options. It is required to review and save it.

    Open Design Options

    Attachments:
    You must be logged in to view attached files.
    #329658

    Artem Temos
    Keymaster

    Just click on the button and resave it. It should fix the problem.

    #329872

    dokansa
    Participant
    #330052

    dokansa
    Participant

    ??????????

    #330124

    Artem Temos
    Keymaster

    Hello,

    Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?

    Regards

Viewing 13 posts - 1 through 13 (of 13 total)