• Resolved thomask

    (@thomask)


    Fatal error after user added new slide
    Fatal error: Uncaught ValueError: Unknown format specifier "p" in /var/www/vhosts/sciencein.cz/httpdocs/wp-content/plugins/gutenslider/src/blocks/gutenslide/block-front.php:280 Stack trace: #0 /var/www/vhosts/sciencein.cz/httpdocs/wp-content/plugins/gutenslider/src/blocks/gutenslide/block-front.php(280): sprintf() #1 /var/www/vhosts/sciencein.cz/httpdocs/wp-content/plugins/gutenberg/lib/compat.php(132): eedee_gutenslide_dynamic_render_callback() #2 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/class-wp-block.php(221): {closure}() #3 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/class-wp-block.php(211): WP_Block->render() #4 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/blocks.php(868): WP_Block->render() #5 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/blocks.php(906): render_block() #6 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/class-wp-hook.php(303): do_blocks() #7 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/plugin.php(189): WP_Hook->apply_filters() #8 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/post-template.php(253): apply_filters() #9 /var/www/vhosts/sciencein.cz/httpdocs/wp-content/themes/generatepress/content-page.php(73): the_content() #10 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/template.php(772): require('...') #11 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/template.php(716): load_template() #12 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/general-template.php(204): locate_template() #13 /var/www/vhosts/sciencein.cz/httpdocs/wp-content/themes/generatepress/inc/theme-functions.php(568): get_template_part() #14 /var/www/vhosts/sciencein.cz/httpdocs/wp-content/themes/generatepress/page.php(34): generate_do_template_part() #15 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/template-loader.php(106): include('...') #16 /var/www/vhosts/sciencein.cz/httpdocs/wp-blog-header.php(19): require_once('...') #17 /var/www/vhosts/sciencein.cz/httpdocs/index.php(17): require('...') #18 {main} thrown in /var/www/vhosts/sciencein.cz/httpdocs/wp-content/plugins/gutenslider/src/blocks/gutenslide/block-front.php on line 280

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter thomask

    (@thomask)

    and another one after he tried it again
    Fatal error: Uncaught ArgumentCountError: 9 arguments are required, 3 given in /var/www/vhosts/sciencein.cz/httpdocs/wp-content/plugins/gutenslider/src/blocks/gutenslide/block-front.php:280 Stack trace: #0 /var/www/vhosts/sciencein.cz/httpdocs/wp-content/plugins/gutenslider/src/blocks/gutenslide/block-front.php(280): sprintf() #1 /var/www/vhosts/sciencein.cz/httpdocs/wp-content/plugins/gutenberg/lib/compat.php(132): eedee_gutenslide_dynamic_render_callback() #2 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/class-wp-block.php(221): {closure}() #3 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/class-wp-block.php(211): WP_Block->render() #4 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/blocks.php(868): WP_Block->render() #5 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/blocks.php(906): render_block() #6 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/class-wp-hook.php(303): do_blocks() #7 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/plugin.php(189): WP_Hook->apply_filters() #8 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/post-template.php(253): apply_filters() #9 /var/www/vhosts/sciencein.cz/httpdocs/wp-content/themes/generatepress/content-page.php(73): the_content() #10 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/template.php(772): require('...') #11 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/template.php(716): load_template() #12 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/general-template.php(204): locate_template() #13 /var/www/vhosts/sciencein.cz/httpdocs/wp-content/themes/generatepress/inc/theme-functions.php(568): get_template_part() #14 /var/www/vhosts/sciencein.cz/httpdocs/wp-content/themes/generatepress/page.php(34): generate_do_template_part() #15 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/template-loader.php(106): include('...') #16 /var/www/vhosts/sciencein.cz/httpdocs/wp-blog-header.php(19): require_once('...') #17 /var/www/vhosts/sciencein.cz/httpdocs/index.php(17): require('...') #18 {main} thrown in /var/www/vhosts/sciencein.cz/httpdocs/wp-content/plugins/gutenslider/src/blocks/gutenslide/block-front.php on line 280

    you clearly have many uncatched fatal errors, i will change the slider plugin

    Plugin Contributor Gutenberg Slider

    (@gutenbergslider)

    @thomask thank you for reporting. We are running smoothly on many systems and the errors you report are new to us. Can you please tell us your WordPress version and php version? It helps us debug and other users with your setup to not run into this.

    Thread Starter thomask

    (@thomask)

    WP 5.8.1., PHP 8 (some latest)

    The problem probably occurs, when user duplicate a block / one slide and then edits it. I need to watch the user what is he doing, it has never happened to me on the same instalation. But still a good plugin should never fire fatal errors on some post edit action of non-admin user (it was wired on both frontend and admin edit post, so i had to turn off the plugin and then delete the added slide to revert it).

    Plugin Contributor Gutenberg Slider

    (@gutenbergslider)

    We will look into it.

    Plugin Contributor Gutenberg Slider

    (@gutenbergslider)

    I totally agree and we have many checks for valid user inputs and attributes in place. This one seems strange though, we tried duplicating slides and it did not happen to us yet. Would really help alot if you could send more details on how this was happening.

    Plugin Contributor Gutenberg Slider

    (@gutenbergslider)

    Any updates @thomask ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘fatal error’ is closed to new replies.