Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1327496

    Hi,
    Just updated my Enfold theme (on WordPress) and got a critical error. This is the message.
    Could you please help me out?

    Een fout van het type E_ERROR werd veroorzaakt op regelnummer 311 van het bestand /var/www/vhosts/doc33.nl/httpdocs/wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php. Foutmelding: Uncaught ValueError: Unknown format specifier “S” in /var/www/vhosts/doc33.nl/httpdocs/wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php:311
    Stack trace:
    #0 /var/www/vhosts/doc33.nl/httpdocs/wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php(311): sprintf()
    #1 /var/www/vhosts/doc33.nl/httpdocs/wp-content/themes/enfold/includes/admin/register-admin-options.php(293): include(‘/var/www/vhosts…’)
    #2 /var/www/vhosts/doc33.nl/httpdocs/wp-content/themes/enfold/framework/php/class-superobject.php(246): include(‘/var/www/vhosts…’)
    #3 /var/www/vhosts/doc33.nl/httpdocs/wp-content/themes/enfold/framework/php/class-superobject.php(197): avia_superobject->_create_option_arrays()
    #4 /var/www/vhosts/doc33.nl/httpdocs/wp-content/themes/enfold/framework/php/class-superobject.php(146): avia_superobject->init()
    #5 /var/www/vhosts/doc33.nl/httpdocs/wp-content/themes/enfold/framework/php/class-superobject.php(482): avia_superobject::instance()
    #6 /var/www/vhosts/doc33.nl/httpdocs/wp-content/themes/enfold/framework/avia_framework.php(108): AviaSuperobject()
    #7 /var/www/vhosts/doc33.nl/httpdocs/wp-content/themes/enfold/functions.php(196): require_once(‘/var/www/vhosts…’)
    #8 /var/www/vhosts/doc33.nl/httpdocs/wp-settings.php(546): include(‘/var/www/vhosts…’)
    #9 /var/www/vhosts/doc33.nl/httpdocs/wp-config.php(98): require_once(‘/var/www/vhosts…’)
    #10 /var/www/vhosts/doc33.nl/httpdocs/wp-load.php(50): require_once(‘/var/www/vhosts…’)
    #11 /var/www/vhosts/doc33.nl/httpdocs/wp-admin/admin.php(34): require_once(‘/var/www/vhosts…’)
    #12 {main}
    thrown

    #1327504

    Hey andrea_werkhoven,

    Thank you for using Enfold and sorry for the problem.
    It is a PHP bug on a few client servers.

    I changed the text string a little – I hope this fixes the problem.

    Please update enfold\includes\admin\option_tabs\avia_blog.php with the content of

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_7_1/includes/avia_blog.php

    Do not forget to make a copy of the original file and clear server and browser cache.

    If you need help let us know and we can do it for you.

    Best regards,
    Günter

    #1327506

    Thank you so much Günter, that worked out pretty good. Everthing is fine again. I hope it will not happen again tough… It is the second time… Is there anything I can do on this side to prevent it? Otherwise I’ll keep my fingers crossed ;-)
    Best regards, andrea

    #1327514

    Hi,

    Thank you for the feedback.

    I added this fix to core already (4.8.7.2). So hopefully there should not be any more problems.

    Seems to be PHP 8.0.11 related – but we cannot reproduce it (also not on 8.0.12, I’m working on 8.0.0).

    Best regards,
    Günter

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.