Unknown format specifier “C” in /home/

Fixed or solved problems on WordPress

Uncaught ValueError: Unknown format specifier “C” in /home/

public_html/wp-includes/nav-menu-template.php:277

Uncaught ValueError: Unknown format specifier “C” in /home/xxxxxx/public_html/wp-includes/nav-menu-template.php:277 Stack trace: #0 /home/tomgc333/public_html/wp-includes/nav-menu-template.php(277): sprintf(‘<ul id=”%1$s” c…’, ‘menu-primary-me…’, ‘elementskit-nav…’, ‘<li id=”menu-it…’) #1 /home/xxxxxx/public_html/wp-

Easy to Solve

This problem comes while the PHP version does not match.

change your PHP version from your PHP version change option,

if you are used to or have cPanel then go MultiPhp manager option

and click it, then select the domain of your website and change older version PHP 7.4 so on from the right side.

If you are using another than cPanel, then that is good, you can find it like this, if you don’t know to ask for your host provider.

Thank you.

Leave a Reply