Support for PHP 8
-
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
- The topic ‘Support for PHP 8’ is closed to new replies.