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
- This topic has 12 replies, 2 voices, and was last updated 3 years, 1 month ago by Artem Temos.
-
AuthorPosts
-
November 4, 2021 at 12:30 pm #329604
dokansaParticipant2021-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 في السطر 23November 4, 2021 at 12:32 pm #329605
Artem TemosKeymasterHello,
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
November 4, 2021 at 12:40 pm #329606
dokansaParticipantThe 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 templateNovember 4, 2021 at 12:56 pm #329614
Artem TemosKeymasterPlease, 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.
November 4, 2021 at 1:21 pm #329630
dokansaParticipantNovember 4, 2021 at 1:22 pm #329631
Artem TemosKeymasterWe need your FTP access as well.
Thank you
November 4, 2021 at 1:25 pm #329633
dokansaParticipantAPPLICATION CREDENTIALS
You can create and use multiple Application credentials for SFTP or SSH access to this Application. More DetailsPublic IP:
136.244.119.75November 4, 2021 at 1:45 pm #329643
Artem TemosKeymasterTry 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(); } }
November 4, 2021 at 1:48 pm #329644
dokansaParticipantImportant 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.November 4, 2021 at 3:28 pm #329658
Artem TemosKeymasterJust click on the button and resave it. It should fix the problem.
November 5, 2021 at 11:27 pm #329872
dokansaParticipantNovember 7, 2021 at 4:33 pm #330052
dokansaParticipant??????????
November 8, 2021 at 7:23 am #330124
Artem TemosKeymasterHello,
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
-
AuthorPosts
- You must be logged in to create new topics. Login / Register