Notifications
Clear all

Display Issues and PHP Fatal Erros

14 Posts
2 Users
0 Reactions
1,059 Views
Posts: 36
Customer
Topic starter
(@scottpaul)
Member
Joined: 8 years ago

Hi, I recently updated all my plugins and theme on my site and when the WP Widget is activated, I am getting frontend display issues and this error below in the logs.

03-Apr-2024 20:24:30 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed in /home/concretesealer/public_html/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected in /home/concretesealer/public_html/wp-content/themes/soledad/inc/template-function.php:1115
Stack trace:
#0 /home/concretesealer/public_html/wp-includes/class-wp-hook.php(324): {closure}('Best Brick Pave...')
#1 /home/concretesealer/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('Best Brick Pave...', Array)
#2 /home/concretesealer/public_html/wp-content/plugins/wpdiscuz-widgets/tabs/popular-post-by-comment.php(51): apply_filters('the_title', 'Best Brick Pave...')
#3 /home/concretesealer/public_html/wp-content/plugins/wpdiscuz-widgets/wpdiscuz-widgets-class.php(447): include('/home/concretes...')
#4 /home/concretesealer/public_html/wp-includes/class-wp-widget.php(394): wpDiscuzWidgetsClass->widget(Array, Array)
#5 /home/concretesealer/public_html/wp-includes/widgets.php(837): WP_Widget->display_callback(Array, Array)
#6 /home/concretesealer/public_html/wp-content/themes/soledad/sidebar.php(98): dynamic_sidebar('main-sidebar')
#7 /home/concretesealer/public_html/wp-includes/template.php(790): require_once('/home/concretes...')
#8 /home/concretesealer/public_html/wp-includes/template.php(725): load_template('/home/concretes...', true, Array)
#9 /home/concretesealer/public_html/wp-includes/general-template.php(136): locate_template(Array, true, true, Array)
#10 /home/concretesealer/public_html/wp-content/themes/soledad/template-parts/single-sidebar.php(18): get_sidebar()
#11 /home/concretesealer/public_html/wp-includes/template.php(792): require('/home/concretes...')
#12 /home/concretesealer/public_html/wp-includes/template.php(725): load_template('/home/concretes...', false, Array)
#13 /home/concretesealer/public_html/wp-includes/general-template.php(206): locate_template(Array, true, false, Array)
#14 /home/concretesealer/public_html/wp-content/themes/soledad/single.php(166): get_template_part('template-parts/...', 'sidebar')
#15 /home/concretesealer/public_html/wp-includes/template-loader.php(106): include('/home/concretes...')
#16 /home/concretesealer/public_html/wp-blog-header.php(19): require_once('/home/concretes...')
#17 /home/concretesealer/public_html/index.php(17): require('/home/concretes...')
#18 {main}
13 Replies
Astghik
Posts: 6193
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

Hi,

Could you please send the admin login details to info[at]gvectors.com email address? I'll ask the developers to check the issue for you.

Reply
2 Replies
Customer
(@scottpaul)
Joined: 8 years ago

Member
Posts: 36

Email sent. FYI, I have the same issue on another site too.

Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6193

Thank you @scottpaul,

We'll check and get back to you soon. 

 

Reply
Astghik
Posts: 6193
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

@scottpaul,

The developers have resolved the issue. Please recheck to ensure everything is working as expected.

Reply
Posts: 36
Customer
Topic starter
(@scottpaul)
Member
Joined: 8 years ago

Thanks. I have the same issue on another site. I will email the login info.

Reply
1 Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6193

@scottpaul 

We'll be releasing an update for the addon soon (no ETA available at the moment).

If you need to resolve the issue immediately, please follow the steps below:

  1. Download the popular-post-by-comment.zip folder attached below
  2. Extract the file from the folder.
  3. Replace the existing file on your website located at wpdiscuz-widgets > tabs > popular-post-by-comment.php with the new one.

Ensure to back up the original file before replacing it.

 

 

Reply
Posts: 36
Customer
Topic starter
(@scottpaul)
Member
Joined: 8 years ago

Hello,

I uploaded the new file and then tried a Widget and got a display issue again. This is when checking "recent comments". When using "active comment threads", it works fine. I prefer it uses "recent comments".

Screenshot 2024 04 10 at 8.51.17 AM

 

Reply
1 Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6193

@scottpaul,

We see yoou've sent the admin login details of this website as well. The developers will fix the issue there as well. 

Reply
Page 1 / 2
Share:
Scroll to top