srand() warnings when sending PMs

Admin users probably do not see it, because they are exempt from captchas. But the captcha code is outdated or plain buggy...

Warning: srand() expects parameter 1 to be integer, float given in image_captcha_image() (line 35 of /mnt/web121/b0/31/53484431/htdocs/Drupal_02/sites/all/modules/captcha/image_captcha/image_captcha.user.inc).
Warning: mt_srand() expects parameter 1 to be integer, float given in image_captcha_image() (line 36 of /mnt/web121/b0/31/53484431/htdocs/Drupal_02/sites/all/modules/captcha/image_captcha/image_captcha.user.inc).

This bugreport and patch seem to fit nicely with the observed behaviour - https://www.drupal.org/project/captcha/issues/2771233

PuffinInTegel's picture

Even as an Admin, I see this error message, even though I don't need to answer a captcha. I wasn't even aware that a captcha was activated for the personal messaging function.
Possibly the problem is related to the changed PHP version of our site. The hosting company wrote that they will stop supporting the "old" version and recommended an update, but did note that the upgrade might cause some problems with existing sites. Perhaps this is one of those problems.
I could use a bit of professional support ... perhaps we have a software expert among our members?
Gernot H.