WHen i am trying to add post, page getting some error. After analyse we got issue in this line.
b>Fatal error</b>: Uncaught ValueError: Unknown format specifier "z" in /home/wp-content/plugins/wpforo/modules/revisions/classes/Template.php:27
Stack trace:
#0 /home/wp-content/plugins/wpforo/modules/revisions/classes/Template.php(27): sprintf()
#1 /home/wp-content/plugins/wpforo/modules/revisions/classes/Template.php(36): wpforo\modules\revisions\classes\Template->build_wrap_inner_html()
#2 /home/wp-content/plugins/wpforo/modules/revisions/classes/Template.php(55): wpforo\modules\revisions\classes\Template->show_wrap_inner_html()
#3 /home/wp-includes/class-wp-hook.php(312): wpforo\modules\revisions\classes\Template->show_html_into_form()
#4 /home/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#5 /home/wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /home/wp-content/plugins/wpforo/classes/Template.php(968): do_action()
#7 /home/wp-content/plugins/wpforo/themes/2022/topic.php(21): wpforo\classes\Template->topic_form()
#8 /home/wp-content/plugins/wpforo/includes/functions-template.php(2157): include('/home/kartsdes/...')
#9 /home/wp-content/plugins/wpforo/themes/2022/index.php(28): wpforo_template()
#10 /home/wp-content/plugins/wpforo/includes/hooks.php(226): include('/home/kartsdes/...')
#11 /home/wp-includes/shortcodes.php(395): wpforo\wpforo->{closure}()
#12 [internal function]: do_shortcode_tag()
#13 /home/wp-includes/shortcodes.php(235): preg_replace_callback()
#14 /home/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3021): do_shortcode()
#15 /home/wp-includes/shortcodes.php(395): ET_Builder_Element->_render()
#16 [internal function]: do_shortcode_tag()
#17 /home/wp-includes/shortcodes.php(235): preg_replace_callback()
#18 /home/wp-content/themes/Divi/includes/builder/main-structure-elements.php(3784): do_shortcode()
#19 /home/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3340): ET_Builder_Column->render()
#20 /home/wp-includes/shortcodes.php(395): ET_Builder_Element->_render()
#21 [internal function]: do_shortcode_tag()
#22 /home/wp-includes/shortcodes.php(235): preg_replace_callback()
#23 /home/wp-content/themes/Divi/includes/builder/main-structure-elements.php(2274): do_shortcode()
#24 /home/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3340): ET_Builder_Row->render()
#25 /home/wp-includes/shortcodes.php(395): ET_Builder_Element->_render()
#26 [internal function]: do_shortcode_tag()
#27 /home/wp-includes/shortcodes.php(235): preg_replace_callback()
#28 /home/wp-content/themes/Divi/includes/builder/main-structure-elements.php(1606): do_shortcode()
#29 /home/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3340): ET_Builder_Section->render()
#30 /home/wp-includes/shortcodes.php(395): ET_Builder_Element->_render()
#31 [internal function]: do_shortcode_tag()
#32 /home/wp-includes/shortcodes.php(235): preg_replace_callback()
#33 /home/wp-includes/class-wp-hook.php(310): do_shortcode()
#34 /home/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#35 /home/wp-includes/post-template.php(256): apply_filters()
#36 /home/wp-content/themes/Divi/page.php(46): the_content()
#37 /home/wp-includes/template-loader.php(106): include('/home/kartsdes/...')
#38 /home/wp-blog-header.php(19): require_once('/home/kartsdes/...')
#39 /home/index.php(17): require('/home/kartsdes/...')
#40 {main}
thrown in <b>/home/wp-content/plugins/wpforo/modules/revisions/classes/Template.php</b> on line <b>27</b><br />
$buttons .= sprintf( '<span class="wpforo-revision-action-button wpforo_revisions_history"><i class="fas fa-history wpf-rev-ico"></i> %1$s </span>', sprintf( wpforo_phrase( '%1$s Revisions', false ), '<span class="wpf-rev-history-count">' . $revisions_count . '</span>' ) ) . sprintf('<span class="wpforo-revision-action-button wpforo_save_revision" style="display: none;"><i class="fas fa-save wpf-rev-save-ico"></i> %1$s </span>',wpforo_phrase( 'Save Draft', false )) . sprintf( '<span class="wpforo-revision-action-button wpforo_revision_saved wpf-disabled"><i class="fas fa-check wpf-rev-saved-ico"></i> %1$s </span>', wpforo_phrase( 'Saved', false ) );
This is another issue, and it is not related to the PHP version.
I suspect the issue arises from incorrect translation of wpForo phrases. You might have missed including the required %s or %d specifier in the phrase translation.
In my opinion You should deactivate other plugins one by one to see if any of them are conflicting with wpForo. Sometimes, compatibility issues arise when two or more plugins are not working well together. Identify the conflicting plugin and either update it or find an alternative.
I hope this will work.