Hi Bartosz,
First of all, Thanks for making this plugin available for free.
I also hit the same “time expired” error. Our server is in New York. So our timezone is EST.
I can confirm that Aaron’s suggestion fixes the problem. More specifically:
To fix, edit plugins/wp-math-captcha/wp-math-captcha.php and change:
setcookie(‘mc_session_id’, $this->session_id, current_time(‘timestamp’) + apply_filters(‘math_captcha_time’, $this->options[‘time’]), COOKIEPATH, COOKIE_DOMAIN);
to:
setcookie(‘mc_session_id’, $this->session_id, current_time(‘timestamp’, true) + apply_filters(‘math_captcha_time’, $this->options[‘time’]), COOKIEPATH, COOKIE_DOMAIN);
Thanks,