• Resolved Ranjith Siji

    (@ranjithsiji)


    I am running a wordpress in php8.0 and I got

    Fatal error: Uncaught ValueError: Unknown format specifier """ in ---wp-content/plugins/shortcodes-ultimate/inc/core/assets.php:125 
    Stack trace: 
    #0 ---wp-content/plugins/shortcodes-ultimate/inc/core/assets.php(125): sprintf() #1 ---wp-includes/class-wp-hook.php(287): Su_Assets::register() 
    #2 ---wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() 
    #3 ---wp-includes/plugin.php(484): WP_Hook->do_action() 
    #4 ---wp-admin/admin-header.php(147): do_action() 
    #5 ---wp-admin/index.php(115): require_once('...') 
    #6 {main} thrown in ---wp-content/plugins/shortcodes-ultimate/inc/core/assets.php on line 125

    Due to this I now disabled the plugin and trying to fix it. Any help to fix this error and running again will be very good help. Expecting some comments in this issue.

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Fatal error: Uncaught Error: Failed opening required '/wp-content/plugins/shortcodes-ultimate/admin/class-shortcodes-ultimate-admin-top-level.php' (include_path='.:/usr/local/Cellar/php/8.0.0_1/share/php/pear') in /wp-content/plugins/shortcodes-ultimate/includes/class-shortcodes-ultimate.php:146 Stack trace: #0 /wp-content/plugins/shortcodes-ultimate/includes/class-shortcodes-ultimate.php(116): Shortcodes_Ultimate->load_dependencies() #1 /wp-content/plugins/shortcodes-ultimate/shortcodes-ultimate.php(54): Shortcodes_Ultimate->__construct('/Users/...', '5.9.6', 'shortcodes-ulti...') #2 /wp-content/plugins/shortcodes-ultimate/shortcodes-ultimate.php(60): run_shortcodes_ultimate() #3 /wp-admin/includes/plugin.php(2299): include('/Users/...') #4 /wp-admin/plugins.php(191): plugin_sandbox_scrape('shortcodes-ulti...') #5 {main} thrown in /wp-content/plugins/shortcodes-ultimate/includes/class-shortcodes-ultimate.php on line 146

    That’s in php 8 version, in php 7 it’s ok

    • This reply was modified 3 years, 11 months ago by zbralex.
    Thread Starter Ranjith Siji

    (@ranjithsiji)

    A very short and quick fix to get things working in PHP 8. is

    Just replace the line 125 in —wp-content/plugins/shortcodes-ultimate/inc/core/assets.php

    to

    'error' => sprintf( __('%1$s. <a href="%3$s" target="_blank"><u>%2$s</u></a>'), __( 'Failed to load content.', 'shortcodes-ultimate' ), __( 'Open link', 'shortcodes-ultimate' ), '%url%' ),

    And it works. If the owner of this plugin can update the code then that will be great.

    Fatal error: Uncaught ValueError: Unknown format specifier “a” in D:\xampp\htdocs\wp_chanbus1122\wp-content\plugins\woosidebars\classes\class-woo-sidebars.php:170 Stack trace: #0 D:\xampp\htdocs\wp_chanbus1122\wp-content\plugins\woosidebars\classes\class-woo-sidebars.php(170): sprintf(‘Search %a’, ‘Widget Areas’) #1 D:\xampp\htdocs\wp_chanbus1122\wp-includes\class-wp-hook.php(287): Woo_Sidebars->register_post_type(”) #2 D:\xampp\htdocs\wp_chanbus1122\wp-includes\class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 D:\xampp\htdocs\wp_chanbus1122\wp-includes\plugin.php(484): WP_Hook->do_action(Array) #4 D:\xampp\htdocs\wp_chanbus1122\wp-settings.php(557): do_action(‘init’) #5 D:\xampp\htdocs\wp_chanbus1122\wp-config.php(90): require_once(‘D:\\xampp\\htdocs…’) #6 D:\xampp\htdocs\wp_chanbus1122\wp-load.php(37): require_once(‘D:\\xampp\\htdocs…’) #7 D:\xampp\htdocs\wp_chanbus1122\wp-admin\admin.php(34): require_once(‘D:\\xampp\\htdocs…’) #8 D:\xampp\htdocs\wp_chanbus1122\wp-admin\plugins.php(10): require_once(‘D:\\xampp\\htdocs…’) #9 {main} thrown in D:\xampp\htdocs\wp_chanbus1122\wp-content\plugins\woosidebars\classes\class-woo-sidebars.php on line 170

    I encounter this fatal error and cannot continue unless I delete the whole plugin..

    ines ngono

    (@lentreprenante)

    Bonjour,
    dans la plage réglage du plugin Dukan, j’ai ce message qui s’affiche, et m’empêche d’ouvrir la page réglage du plugin que j’ai installé sur wordpress :

    atal error: Uncaught ValueError: Unknown format specifier " " in /homepages/35/d787990896/htdocs/clickandbuilds/LENTREPRENANTEBOUTIQUE/wp-content/plugins/dokan-lite/includes/Admin/UserProfile.php:125 Stack trace: #0 /homepages/35/d787990896/htdocs/clickandbuilds/LENTREPRENANTEBOUTIQUE/wp-content/plugins/dokan-lite/includes/Admin/UserProfile.php(125): sprintf('T\xC3\xA9l\xC3\xA9chargez u...', '625', '300') #1 /homepages/35/d787990896/htdocs/clickandbuilds/LENTREPRENANTEBOUTIQUE/wp-includes/class-wp-hook.php(292): WeDevs\Dokan\Admin\UserProfile->add_meta_fields(Object(WP_User)) #2 /homepages/35/d787990896/htdocs/clickandbuilds/LENTREPRENANTEBOUTIQUE/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #3 /homepages/35/d787990896/htdocs/clickandbuilds/LENTREPRENANTEBOUTIQUE/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #4 /homepages/35/d787990896/htdocs/clickandbuilds/LENTREPRENANTEBOUTIQUE/wp-admin/user-edit.php(812): do_action('show_user_profi...', Object(WP_User)) #5 /homepages/35/d787990896/htdocs/clickandbuilds/LENTREPRENANTEBOUTIQUE/wp-admin/profile.php(18): require_once('/homepages/35/d...') #6 {main} thrown in /homepages/35/d787990896/htdocs/clickandbuilds/LENTREPRENANTEBOUTIQUE/wp-content/plugins/dokan-lite/includes/Admin/UserProfile.php on line 125
    Une erreur critique est survenue sur ce site. Veuillez consulter la boite de réception de l’e-mail d’administration de votre site pour plus d’informations.

    Hello everyone, After WordPress update i have this problem in my WordPress page, how can I fix it?
    Fatal error: Uncaught ValueError: Unknown format specifier “<” in /customers/5/5/7/kmmk.info/httpd.www/ku/wp-admin/options-permalink.php:37 Stack trace: #0 /customers/5/5/7/kmmk.info/httpd.www/ku/wp-admin/options-permalink.php(37): sprintf(‘\xD8\xA6\xDB\x95\xDA\xAF\xDB\x95\xD8\xB1 \xD9\x87\xDB\x95…’, ‘%’) #1 {main} thrown in /customers/5/5/7/kmmk.info/httpd.www/ku/wp-admin/options-permalink.php on line 37.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Uncaught ValueError: Unknown format specifier’ is closed to new replies.