Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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, 2 months ago by ceesenco.
    #1322772

    This 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_>

    #1322780

    Hi,

    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ünter

    #1322785

    Thanks @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.10

    Anyway,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, andrea

    #1322789

    Hi,

    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ünter

    #1324059

    Hi Günter,

    We’re using PHP 8.0.10.
    I indeed applied the changes you suggested and that solved the issue.

    #1324138

    Hi,

    Thanks for the update!

    We have already included the fix in Enfold 4.8.6.5 :)

    Let us know if you have any other questions and enjoy your weekend!

    Best regards,
    Yigit

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Uncaught ValueError: Unknown format specifier "S" (Enfold 4.8.6.3 + PHP 8)’ is closed to new replies.