I installed cacti 1.2.20. I created a graph and device success, but when I viewed the graph in realtime, I faced the issue below:

The log file said:
2022-07-01 12:44:11 - ERROR PHP DEPRECATED: Implicit conversion from float 35.4375 to int loses precision in file: /var/www/html/cacti/lib/rrd.php on line: 3670
2022-07-01 12:44:11 - CMDPHP PHP ERROR Backtrace: (/graph_realtime.php[244]:rrdtool_create_error_image(), /lib/rrd.php[3670]:wordwrap(), CactiErrorHandler())
Can you help me to fix that?
I installed cacti 1.2.20. I created a graph and device success, but when I viewed the graph in realtime, I faced the issue below:

The log file said:
2022-07-01 12:44:11 - ERROR PHP DEPRECATED: Implicit conversion from float 35.4375 to int loses precision in file: /var/www/html/cacti/lib/rrd.php on line: 3670
2022-07-01 12:44:11 - CMDPHP PHP ERROR Backtrace: (/graph_realtime.php[244]:rrdtool_create_error_image(), /lib/rrd.php[3670]:wordwrap(), CactiErrorHandler())
Can you help me to fix that?