• Plugin Name: Advanced Database Cleaner PRO
    Version: 3.2.3

    Scanning causes thousands of log entries on PHP 8.1 (in my case 1.1 million entries):

    [10-Jan-2024 19:10:10 UTC] PHP Deprecated:  Implicit conversion from float 11.55 to int loses precision in /.../htdocs/mbt/wp-content/plugins/advanced-database-cleaner-pro/includes/functions_pro.php on line 883
    [10-Jan-2024 19:10:10 UTC] PHP Deprecated: Implicit conversion from float -24.75 to int loses precision in /.../htdocs/mbt/wp-content/plugins/advanced-database-cleaner-pro/includes/functions_pro.php on line 885
    function aDBc_search_for_partial_match
    ...
    	$aDBc_percent1 = 35;
    	$aDBc_item_part1 = substr($item_name, 0, (($aDBc_percent1 * $aDBc_item_name_len) / 100));
    	$aDBc_percent2 = 75;
    	$aDBc_item_part2 = substr($item_name, -(($aDBc_percent2 * $aDBc_item_name_len) / 100)); 

    Thanks for the fix

Viewing 1 replies (of 1 total)
  • Plugin Author Younes JFR.

    (@symptote)

    Hi Marc,
    Thank you for reporting this. I’m working on it to provide a fix in the few coming days.
    Best regards,
    Younes

Viewing 1 replies (of 1 total)
  • The topic ‘PHP deprecated’ is closed to new replies.