Hello I have follow Error on PHP 7.0 and 7.1 /PHP 7.2 - Joomla 3.9

Warning: A non-numeric value encountered in /home/httpd/vhosts/domain.ch/httpdocs/test/modules/mod_as_menu/tmpl/styles.php on line 24 Warning: A non-numeric value encountered in /home/httpd/vhosts/domain.ch/httpdocs/test/modules/mod_as_menu/tmpl/styles.php on line 28

Can you help me?

best regards

adi