wpForo are not camp...
 
Notifications
Clear all

[Closed] wpForo are not campatible with 8.1 version

6 Posts
3 Users
0 Reactions
601 Views
Posts: 3
Topic starter
(@gopal2k6)
Active Member
Joined: 1 year ago

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 &quot;z&quot; 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-&gt;build_wrap_inner_html()
#2 /home/wp-content/plugins/wpforo/modules/revisions/classes/Template.php(55): wpforo\modules\revisions\classes\Template-&gt;show_wrap_inner_html()
#3 /home/wp-includes/class-wp-hook.php(312): wpforo\modules\revisions\classes\Template-&gt;show_html_into_form()
#4 /home/wp-includes/class-wp-hook.php(334): WP_Hook-&gt;apply_filters()
#5 /home/wp-includes/plugin.php(517): WP_Hook-&gt;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-&gt;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-&gt;{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-&gt;_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-&gt;render()
#20 /home/wp-includes/shortcodes.php(395): ET_Builder_Element-&gt;_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-&gt;render()
#25 /home/wp-includes/shortcodes.php(395): ET_Builder_Element-&gt;_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-&gt;render()
#30 /home/wp-includes/shortcodes.php(395): ET_Builder_Element-&gt;_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-&gt;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 ) );

 

 

 

5 Replies
BlackRaz
Posts: 404
Admin
(@blackraz)
Contributor
Joined: 8 years ago

@gopal2k6

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.

3 Replies
(@gopal2k6)
Joined: 1 year ago

Active Member
Posts: 3

@blackraz 

But it's working perfect with 7.4 Version. No issue happen .

BlackRaz
Admin
(@blackraz)
Joined: 8 years ago

Contributor
Posts: 404

@gopal2k6 
So, the error log you provided is not related to PHP versions.

(@gopal2k6)
Joined: 1 year ago

Active Member
Posts: 3

@blackraz  Many Places getting issue.

Posts: 8
(@roberrtt)
Active Member
Joined: 1 year ago

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.