C5-8.3: customized captcha doesn't get set during install

Permalink
In version C5-8.2, maybe early 8.3.* when I installed my package with a customized captcha, it automatically set it in the system settings:
if (is_null(\Concrete\Core\Captcha\Library::getByHandle('my-captcha'))) {
    \Concrete\Core\Captcha\Library::add('my-captcha', t('Customized Captcha'), $pkg);
}

But now in C5-8.3.2 when I install my package, it doesn't set my captcha in the system, it leaves the default Secureimage one which breaks the site.

What's changed in 8.3.2 and how can I actually set the system captcha to mine during installation?

Thank you.

linuxoid
 
linuxoid replied on at Permalink Reply
linuxoid
Well, I got the install/uninstall part. But that doesn't seem to be the problem. The default SecurImage itself seems to throw the error:
"Call to a member function resolve() on null"

If I select my captcha library, the error goes away. If I select the default C5 library, the error appears again.

I've checked on my PC, it all works fine without errors. The error only happens on a live hosted site.

What could that be?