• Marisa

    (@marisa2023)


    I have just seen this error in a log file. I am not sure what effect, if any, it has.

    2023-11-06T02:13:33+00:00 CRITICAL Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /home/myusername/public_html/website/wp-content/plugins/rencontre/inc/rencontre_widget.php:3421
    Stack trace: 0 /home/myusername/public_html/website/wp-content/plugins/rencontre/inc/rencontre_widget.php(3421): round() 1 /home/myusername/public_html/website/wp-content/plugins/rencontre/inc/rencontre_widget.php(97): RencontreWidget::f_registerMember() 2 /home/myusername/public_html/website/wp-content/plugins/rencontre/inc/rencontre_filter.php(30): RencontreWidget->widget() 3 /home/myusername/public_html/website/wp-includes/shortcodes.php(433): f_shortcode_rencontre() 4 [internal function]: do_shortcode_tag() 5 /home/myusername/public_html/website/wp-includes/shortcodes.php(273): preg_replace_callback() 6 /home/myusername/public_html/website/wp-includes/class-wp-hook.php(310): do_shortcode() 7 /home/myusername/public_html/website/wp-includes/plugin.php(205): WP_Hook->apply_filters() 8 /home/myusername/public_html/website/wp-includes/post-template.php(256): apply_filters() 9 /home/myusername/public_html/website/wp-content/themes/twentyseventeen/template-parts/page/content-front-page.php(43): the_content() 10 /home/myusername/public_html/website/wp-includes/template.php(787): require(‘/home/l28pdwfcd…’) 11 /home/myusername/public_html/website/wp-includes/template.php(720): load_template() 12 /home/myusername/public_html/website/wp-includes/general-template.php(206): locate_template() 13 /home/myusername/public_html/website/wp-content/themes/twentyseventeen/front-page.php(25): get_template_part() 14 /home/myusername/public_html/website/wp-includes/template-loader.php(106): include(‘/home/l28pdwfcd…’) 15 /home/myusername/public_html/website/wp-blog-header.php(19): require_once(‘/home/l28pdwfcd…’) 16 /home/myusername/public_html/website/index.php(17): require(‘/home/l28pdwfcd…’) 17 {main}

    thrown in /home/myusername/public_html/website/wp-content/plugins/rencontre/inc/rencontre_widget.php on line 3421

Viewing 1 replies (of 1 total)
  • Plugin Author Jacques Malgrange

    (@sojahu)

    Hi,

    Thanks for this report. I will update.

    Lines 3421, 3494, 3517, you can change :

    round($gps[0], // and [1]

    for :

    round(floatval($gps[0]),

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘uncaught error thrown by Rencontre’ is closed to new replies.