• Resolved Rotti

    (@rotti)


    Hello,

    i’ve upgraded my PHP instance today to PHP 8, and after that my wordpress site stopped working during a fatal error thrown from your plugin.

    The error seems only to be a little problem.

    In the “class-admin-controller.php” on line 214, there is invalid format specifier (%a).
    After i replaced it with %s the fatal error was gone and my website continued working.

    It would be nice if you can include this fix into one of your next versions, and also if you can check if there are another issues that will pop up, when using PHP 8.

    Full-Error-Description:
    PHP Fatal error: Uncaught ValueError: Unknown format specifier “a” in /InstallationFolder/blog/wp-content/plugins/seriously-simple-podcasting/php/classes/controllers/class-admin-controller.php:214
    Stack trace:
    #0 /InstallationFolder/blog/wp-content/plugins/seriously-simple-podcasting/php/classes/controllers/class-admin-controller.php(214): sprintf(‘%a suchen’, ‘Folgen’)
    #1 /InstallationFolder/blog/wp-includes/class-wp-hook.php(287): SeriouslySimplePodcasting\Controllers\Admin_Controller->register_post_type(”)
    #2 /InstallationFolder/blog/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #3 /InstallationFolder/blog/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #4 /InstallationFolder/blog/wp-settings.php(557): do_action(‘init’)
    #5 /InstallationFolder/blog/wp-config.php(88): require_once(‘…’)
    #6 /InstallationFolder/blog/wp-load.php(37): require_once(‘..’)
    #7 /InstallationFolder/blog/wp-blog-header.php(13): require_once(‘…’)
    #8 /InstallationFolder/index.php(17): require(‘…’)
    #9 {main}
    thrown in /InstallationFolder/blog/wp-content/plugins/seriously-simple-podcasting/php/classes/controllers/class-admin-controller.php on line 214

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @rotti

    Thanks for letting us know what you are seeing. The team is currently testing against this newest PHP version, which as you know is a major upgrade. We invite you to add your findings to the repo over in Github where we will be keeping track of related issues.

    We’ve used your plugin for years and love it. I’m in the process of unwinding a group of MU into single sites and just had this error pop up (see below for exact error message)

    With that said, 5 weeks after @rotti caught this issue, it’s still a problem. Luckily it was easy enough follow his thread and insert the same fix into the same line 214 error.

    Fatal error: Uncaught ValueError: Unknown format specifier “a” in /home/transfer/public_html/wp-content/plugins/seriously-simple-podcasting/php/classes/controllers/class-admin-controller.php:214 Stack trace: #0 /home/transfer/public_html/wp-content/plugins/seriously-simple-podcasting/php/classes/controllers/class-admin-controller.php(214): sprintf() #1 /home/transfer/public_html/wp-content/plugins/seriously-simple-podcasting/php/classes/controllers/class-admin-controller.php(1378): SeriouslySimplePodcasting\Controllers\Admin_Controller->register_post_type() #2 /home/transfer/public_html/wp-includes/class-wp-hook.php(287): SeriouslySimplePodcasting\Controllers\Admin_Controller->activate() #3 /home/transfer/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #4 /home/transfer/public_html/wp-includes/plugin.php(484): WP_Hook->do_action() #5 /home/transfer/public_html/wp-admin/plugins.php(193): do_action() #6 {main} thrown in /home/transfer/public_html/wp-content/plugins/seriously-simple-podcasting/php/classes/controllers/class-admin-controller.php on line 214

    Plugin Contributor Jonathan Bossenger

    (@psykro)

    Hi @kimstuart we have an update coming out later today that fixes this. Please keep an eye out for the 2.5.3 release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Support for PHP 8’ is closed to new replies.