Follow up: Uncaught ValueError: Unknown format specifier āCā in
-
Hello,
I’m following up on another post because it’s already been a week and I can’t work on my website if the problem persists. Last week I posted this query:
When trying to edit either my pages or posts with Elementor, I get a message saying āThe preview could not be loadedā. If I click on āLearn moreā I get an Uncaught ValueError probably due to ElementsKit after enabling JetPack on my website. The?website?becomes entirely blank and I can only see my logo.
This is the error I get:
Uncaught ValueError: Unknown format specifier āCā in /home2/aurorazh/public_html/wp-includes/nav-menu-template.php:291
Stack trace:
#0 /home2/aurorazh/public_html/wp-includes/nav-menu-template.php(291): sprintf(ā
I have to deactivate either ElementsKit or JetPack to fix the issue.
I am not familiar with HTML, so any basic explanation on how to solve the problem would be appreciated.
Thank you!
I received your response, but, as I subsequently said, the website was working when you checked it because I had momentarily deactivated Jetpack (I had previously conducted a conflict test and it worked only if I deactivated either Jetpack or Elementskit). The default theme is Hello Elementor, but I added some templates from Envato Elements. Now I reactivated Jetpack, so you can see what the website looks like.
Thank you very much in advance,
Aurora
-
Hi @aurorazhubiz,
Thanks for reaching out.
Could you please send us your website’s system info from Elementor > System Info for further investigation? We will take a closer look at this issue and help you to find a solution as soon as possible.
Looking forward to your response.
Regards,
AmirHi Ahmed,
Thanks for getting back to me. Here’s the website’s system info as requested:
== Server Environment == Operating System: Linux Software: Apache MySQL version: Percona Server (GPL), Release 23, Revision 500fcf5 v5.7.23-23 PHP Version: 8.1.17 PHP Memory Limit: 512M PHP Max Input Vars: 1000 PHP Max Post Size: 516M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected == WordPress Environment == Version: 6.2 Site URL: https://aurorazhu.com Home URL: https://aurorazhu.com WP Multisite: No Max Upload Size: 512 MB Memory limit: 40M Max Memory limit: 512M Permalink Structure: /%category%/%postname%/ Language: en-US Timezone: 0 Admin Email: [email protected] Debug Mode: Inactive == Theme == Name: Hello Elementor Version: 2.7.1 Author: Elementor Team Child Theme: No == User == Role: administrator WP Profile lang: en_US User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 == Active Plugins == Copy & Delete Posts Version: 1.3.9 Author: Copy Delete Posts Elementor Version: 3.12.0 Author: Elementor.com ElementsKit Lite Version: 2.8.5 Author: Wpmet Jetpack Version: 11.9.1 Author: Automattic Jetpack Boost Version: 1.7.0 Author: Automattic - Jetpack Site Speed team Jetpack Protect Version: 1.3.0 Author: Automattic - Jetpack Security team MetForm Version: 3.2.4 Author: Wpmet Qi Addons For Elementor Version: 1.5.8 Author: Qode Interactive == Must-Use Plugins == Endurance Page Cache Version: 2.2 Author: Mike Hansen SSO Version: 0.4 Author: Garth Mortensen, Mike Hansen == Elements Usage == page : 7 button : 3 divider : 3 google_maps : 1 heading : 14 icon : 6 icon-box : 7 icon-list : 2 image : 3 image-box : 9 metform : 1 qi_addons_for_elementor_banner : 8 qi_addons_for_elementor_call_to_action : 2 qi_addons_for_elementor_faq : 1 qi_addons_for_elementor_image_gallery_pinterest : 2 qi_addons_for_elementor_info_cards : 3 qi_addons_for_elementor_interactive_banner : 8 qi_addons_for_elementor_pricing_table : 3 qi_addons_for_elementor_tabs_vertical : 1 star-rating : 1 text-editor : 5 section : 7 button : 3 divider : 1 ekit-nav-menu : 1 heading : 14 icon : 6 icon-list : 8 image : 4 metform : 1 mf-button : 2 mf-email : 2 mf-listing-fname : 1 mf-select : 1 mf-telephone : 1 mf-text : 1 mf-textarea : 1 qi_addons_for_elementor_banner : 2 qi_addons_for_elementor_blog_list : 4 qi_addons_for_elementor_blog_slider : 2 qi_addons_for_elementor_call_to_action : 1 qi_addons_for_elementor_info_cards : 1 qi_addons_for_elementor_interactive_banner : 4 qi_addons_for_elementor_parallax_images : 1 qi_addons_for_elementor_text_marquee : 1 social-icons : 1 text-editor : 8 wp-post : 1 button : 4 divider : 1 ekit-nav-menu : 1 elementskit-header-search : 1 heading : 73 icon : 6 icon-list : 5 image : 4 image-gallery : 1 metform : 1 mf-button : 1 mf-email : 1 mf-listing-fname : 1 qi_addons_for_elementor_blog_list : 2 qi_addons_for_elementor_blog_slider : 2 qi_addons_for_elementor_call_to_action : 1 qi_addons_for_elementor_interactive_banner : 4 qi_addons_for_elementor_parallax_images : 1 qi_addons_for_elementor_text_marquee : 1 social-icons : 1 text-editor : 18 toggle : 1 wp-page : 7 button : 2 divider : 2 google_maps : 1 heading : 13 icon : 6 icon-box : 18 icon-list : 1 image : 3 qi_addons_for_elementor_banner : 4 qi_addons_for_elementor_call_to_action : 4 qi_addons_for_elementor_image_gallery_pinterest : 1 qi_addons_for_elementor_interactive_banner : 24 qi_addons_for_elementor_tabs_vertical : 1 text-editor : 7 == Settings == cpt_support: post, page, e-landing-page, elementskit_content disable_color_schemes: yes disable_typography_schemes: yes allow_tracking: yes font_display: swap == Elementor Experiments == Optimized DOM Output: Active by default Improved Asset Loading: Active by default Improved CSS Loading: Active by default Inline Font Icons: Inactive by default Accessibility Improvements: Active by default Additional Custom Breakpoints: Active by default admin_menu_rearrangement: Inactive by default Flexbox Container: Inactive by default Upgrade Swiper Library: Active by default Hello Theme Header & Footer: Active by default Editor Top Bar: Inactive by default Landing Pages: Active by default Nested Elements: Inactive by default Lazy Load Background Images: Inactive by default == Log == JS: showing 4 of 4JS: 2023-03-16 16:24:52 [error X 2][https://aurorazhu.com/wp-admin/load-scripts.php?c=0&loadchunk_0=jquery-core,jquery-migrate,utils&ver=6.1.1:2:31703] e.dispatchEvent is not a function JS: 2023-03-16 16:44:05 [error X 2][https://aurorazhu.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.11.5:3:899294] elementorFrontend is not defined JS: 2023-03-16 17:20:26 [error X 7][https://aurorazhu.com/wp-admin/load-scripts.php?c=0&loadchunk_0=jquery-core,jquery-migrate,regenerator-runtime,wp-polyfill,jquery-ui-core,jquery-ui-mouse,underscore,backbone,wp-api-request,wp-&loadchunk_1=hooks&ver=6.1.1:2:51824] Cannot read properties of undefined (reading 'replace') JS: 2023-03-19 14:46:53 [error X 2][https://aurorazhu.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.11.5:3:791668] Cannot read properties of undefined (reading 'localized') PHP: showing 1 of 1PHP: 2023-03-16 21:06:49 [warning X 1][/home2/aurorazh/public_html/wp-content/plugins/elementor/core/common/modules/ajax/module.php::175] Undefined array key "data" [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] Log: showing 5 of 52023-03-29 15:01:14 [info] elementor::elementor_updater Started 2023-03-29 15:01:14 [info] Elementor/Upgrades - _on_each_version Start 2023-03-29 15:01:15 [info] Elementor/Upgrades - _on_each_version Finished 2023-03-29 15:01:15 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor', 'from' => '3.11.5', 'to' => '3.12.0', )] 2023-03-29 15:01:15 [info] Elementor data updater process has been queued. [array ( 'plugin' => 'Elementor', 'from' => '3.11.5', 'to' => '3.12.0', )] == Elementor - Compatibility Tag == Qi Addons For Elementor: Compatible
Thank you very much in advance.
Best,
AuroraHi @aurorazhubiz,
Hope you are fine and extremely sorry for taking the time in getting back to you. Please replace this fixed plugin with the existing ElementsKit lite plugin. Hopefully, this issue will be solved. Let us know if you need further assistance.
Regards,
AmirHi Amir,
I tried to replace the plugin but I still experience the same issue. What should I do now?
Thank you in advance.
Best regards,
AuroraHi @aurorazhubiz,
Hope you are doing great. Please update the plugin and check again. Hopefully, the issue will be fixed. Let us know if you need further assistance.
Regards,
AmirHi @ahmedamir,
I updated the plugin but I still have the same problem. Anything else I can do?
Thanks,
AuroraHi @ahmedamir,
Do you have any news? Yesterday I downloaded the PHP error logs file and this is the latest error I receive:
[13-Apr-2023 21:49:01 UTC] PHP Fatal error: Uncaught ValueError: Unknown format specifier "C" in /home2/aurorazh/public_html/wp-includes/nav-menu-template.php:285
Stack trace: 0 /home2/aurorazh/public_html/wp-includes/nav-menu-template.php(285): sprintf('<ul id="%1$s" cā¦', 'menu-main', 'elementskit-navā¦', '<li id="menu-itā¦') 1 /home2/aurorazh/public_html/wp-content/plugins/elementskit-lite/widgets/nav-menu/nav-menu.php(1603): wp_nav_menu(Object(stdClass)) 2 /home2/aurorazh/public_html/wp-content/plugins/elementskit-lite/widgets/nav-menu/nav-menu.php(1520): Elementor\ElementsKit_Widget_Nav_Menu->render_raw() 3 /home2/aurorazh/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2268): Elementor\ElementsKit_Widget_Nav_Menu->render() 4 /home2/aurorazh/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode() 5 /home2/aurorazh/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(750): Elementor\Widget_Base->render_content() 6 /home2/aurorazh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Widget_Base->print_content() 7 /home2/aurorazh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(1354): Elementor\Element_Base->print_element() 8 /home2/aurorazh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Element_Base->print_content() 9 /home2/aurorazh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(1354): Elementor\Element_Base->print_element() 10 /home2/aurorazh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Element_Base->print_content() 11 /home2/aurorazh/public_html/wp-content/plugins/elementor/core/base/document.php(1680): Elementor\Element_Base->print_element() 12 /home2/aurorazh/public_html/wp-content/plugins/elementor/core/base/document.php(1106): Elementor\Core\Base\Document->print_elements(Array) 13 /home2/aurorazh/public_html/wp-content/plugins/elementor/includes/frontend.php(1179): Elementor\Core\Base\Document->print_elements_with_wrapper(Array) 14 /home2/aurorazh/public_html/wp-content/plugins/elementor/includes/frontend.php(1247): Elementor\Frontend->get_builder_content(133, false) 15 /home2/aurorazh/public_html/wp-content/plugins/elementskit-lite/helpers/utils.php(303): Elementor\Frontend->get_builder_content_for_display(133, false) 16 /home2/aurorazh/public_html/wp-content/plugins/elementskit-lite/modules/header-footer/views/theme-support-header.php(19): ElementsKit_Lite\Utils::render_elementor_content(133) 17 /home2/aurorazh/public_html/wp-content/plugins/elementskit-lite/modules/header-footer/theme-hooks/theme-support.php(25): require('/home2/aurorazhā¦') 18 /home2/aurorazh/public_html/wp-includes/class-wp-hook.php(310): ElementsKit_Lite\Modules\Header_Footer\Theme_Hooks\Theme_Support->get_header(NULL) 19 /home2/aurorazh/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 20 /home2/aurorazh/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 21 /home2/aurorazh/public_html/wp-includes/general-template.php(38): do_action('get_header', NULL, Array) 22 /home2/aurorazh/public_html/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(9): get_header() 23 /home2/aurorazh/public_html/wp-includes/template-loader.php(106): include('/home2/aurorazhā¦') 24 /home2/aurorazh/public_html/wp-blog-header.php(19): require_once('/home2/aurorazhā¦') 25 /home2/aurorazh/public_html/index.php(17): require('/home2/aurorazhā¦') 26 {main} thrown in /home2/aurorazh/public_html/wp-includes/nav-menu-template.php on line 285Hope you can solve the issue soon because in the meantime I can’t use Jetpack and therefore I can’t even backup my site.
Thanks,
Aurora- This reply was modified 1 year, 7 months ago by Aurora.
Hi @aurorazhubiz,
Hope you are doing fine and am extremely sorry for taking the time in getting back to you. We have tried to reproduce this issue at our development end but didn’t get any issue like think. Please update the plugin with the latest version. Hopefully, the issue will be fixed.
Let me know if you need further assistance.
Regards,
Amir
Hi Amir,
Thanks for getting back to me. In the meantime, I solved the issue by switching from the ElementsKit Nav Menu to another menu. I will try to re-implement your menu after the next update and see if there are any errors.
Thank you for your support.
Best,
AuroraHi, this happened to me as well. I tried the alternative plugin but that didn’t work as well.
Then I dig deep and found the origin of the issue.
This error occur when I try to add image to Mobile Menu Logo.If I don’t use it then everything is working fine.
@yasirahmedsidd Thanks for identifying! It’s the only one solution for me too. Waiting for fix from authors ??
- The topic ‘Follow up: Uncaught ValueError: Unknown format specifier āCā in’ is closed to new replies.