• Resolved wpopt

    (@wpopt)


    Seems the latest update throws a critical error preventing pages/posts which have the share buttons active on from loading:

    [02-Oct-2024 21:18:09 UTC] PHP Fatal error:  Uncaught TypeError: Mediavine\Grow\Share_Counts::post_total_share_counts(): Return value must be of type int, null returned in /home/user/public_html/wp-content/plugins/social-pug/inc/class-share-counts.php:375
    Stack trace:
    #0 /home/user/public_html/wp-content/plugins/social-pug/inc/functions-frontend.php(34): Mediavine\Grow\Share_Counts::post_total_share_counts()
    #1 /home/user/public_html/wp-content/plugins/social-pug/inc/tools/share-inline-content/functions-frontend.php(343): dpsp_get_output_total_share_count()
    #2 /home/user/public_html/wp-content/plugins/social-pug/inc/tools/share-inline-content/functions-frontend.php(308): Mediavine\Grow\Frontend_Content::get_wrapper_classes()
    #3 /home/user/public_html/wp-content/plugins/social-pug/inc/tools/share-inline-content/functions-frontend.php(98): Mediavine\Grow\Frontend_Content->dpsp_prepare_front_end_content()
    #4 /home/user/public_html/wp-content/plugins/social-pug/inc/tools/share-inline-content/functions-frontend.php(90): Mediavine\Grow\Frontend_Content->add_frontend_content()
    #5 /home/user/public_html/wp-includes/class-wp-hook.php(324): Mediavine\Grow\Frontend_Content->pre_output_frontend_content()
    #6 /home/user/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #7 /home/user/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
    #8 /home/user/public_html/wp-includes/class-wp-query.php(3711): do_action_ref_array()
    #9 /home/user/public_html/wp-includes/query.php(1005): WP_Query->the_post()
    #10 /home/user/public_html/wp-content/themes/genesis/lib/structure/loops.php(77): the_post()
    #11 /home/user/public_html/wp-content/themes/genesis/lib/structure/loops.php(38): genesis_standard_loop()
    #12 /home/user/public_html/wp-includes/class-wp-hook.php(324): genesis_do_loop()
    #13 /home/user/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #14 /home/user/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #15 /home/user/public_html/wp-content/themes/genesis/lib/framework.php(66): do_action()
    #16 /home/user/public_html/wp-content/themes/genesis/single.php(15): genesis()
    #17 /home/user/public_html/wp-includes/template-loader.php(106): include('/home/user/...')
    #18 /home/user/public_html/wp-blog-header.php(19): require_once('/home/user/...')
    #19 /home/user/public_html/index.php(17): require('/home/user/...')
    #20 {main}
    thrown in /home/user/public_html/wp-content/plugins/social-pug/inc/class-share-counts.php on line 375
    • This topic was modified 1 month, 3 weeks ago by wpopt.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.