-
AuthorPosts
-
September 29, 2021 at 9:15 am #1322754
Fatal error: Uncaught ValueError: Unknown format specifier "S" in /wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php:311 Stack trace: #0 /wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php(311): sprintf() #1 /wp-content/themes/enfold/includes/admin/register-admin-options.php(284): include('...') #2 /wp-content/themes/enfold/framework/php/class-superobject.php(246): include('...') #3 /wp-content/themes/enfold/framework/php/class-superobject.php(197): avia_superobject->_create_option_arrays() #4 /wp-content/themes/enfold/framework/php/class-superobject.php(146): avia_superobject->init() #5 /wp-content/themes/enfold/framework/php/class-superobject.php(482): avia_superobject::instance() #6 /wp-content/themes/enfold/framework/avia_framework.php(108): AviaSuperobject() #7 /wp-content/themes/enfold/functions.php(196): require_once('...') #8 /wp-settings.php(546): include('...') #9 /wp-config.php(98): require_once('...') #10 /wp-load.php(50): require_once('...') #11 /wp-blog-header.php(13): require_once('...') #12 /index.php(17): require('...') #13 {main} thrown in /wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php on line 311
- This topic was modified 3 years, 1 month ago by ceesenco.
September 29, 2021 at 10:27 am #1322772This issue is probably caused by the fact that the word Social is directly connected to %s on line 311.
311 $prof_desc = sprintf( __( 'If you added Social Profile Links at %sSocial Profiles Tab%s the theme allows you to display these profile links at the bottom of your blog posts.', 'avia_>
September 29, 2021 at 10:55 am #1322780Hi,
Thanks for reporting this.
Is a bit strange – what php version do you have?
We work on 8.0 and do not get any error. Seems to be something specific to your system because we do not get any other reports about that.
Can you try to replace
%sSocial Profiles Tab%s
with
%s Social Profiles Tab %s
This should fix the problem. I added this already to core for the next update.
Best regards,
GünterSeptember 29, 2021 at 11:14 am #1322785Thanks @ceesenco and @Günter for your quick response.
These are the version details
WordPress versie 5.8.1
Huidig thema: Enfold (versie 4.8.6.3)
Huidige plugin: (versie )
PHP versie 8.0.10Anyway,I replaced %sSocial Profiles Tab%s with %s Social Profiles Tab %s and this solved the problem. Glad you added this for the next update!
Regards, andreaSeptember 29, 2021 at 11:29 am #1322789Hi,
Thanks for the feedback.
Sems to have started with PHP version 8.0.10 that there must be a space after the formatting parameter (and this is not mentioned in the documentation).
Best regards,
GünterOctober 8, 2021 at 8:31 am #1324059Hi Günter,
We’re using PHP 8.0.10.
I indeed applied the changes you suggested and that solved the issue.October 8, 2021 at 3:48 pm #1324138 -
AuthorPosts
- The topic ‘Uncaught ValueError: Unknown format specifier "S" (Enfold 4.8.6.3 + PHP 8)’ is closed to new replies.