Geeklog-Core / geeklog

Geeklog - The Secure CMS.
https://www.geeklog.net
25 stars 19 forks source link

Recaptcha plugin upgrade/migration fails #1150

Open dhaun opened 1 year ago

dhaun commented 1 year ago

I can't figure this one out ... I have an old Geeklog 2.1.1 database, which includes the Recaptcha plugin 1.1.2 and want to upgrade (migrate, actually) to Geeklog 2.2.2

The upgrade fails somewhere in the Recaptcha plugin, since some of the new config entries are not added. Depending on which error level I use, it fails in recaptcha/install_updates.php either on

line 87, since $_RECAPTCHA_CONF['secret_key'] is not set: E_NOTICE(8) - Undefined index: secret_key @ .../plugins/recaptcha/install_updates.php line 87

or

line 51, since $_RECAPTCHA_DEFAULT['enable_getpassword'] is not set: E_WARNING(2) - Trying to access array offset on value of type null @ .../plugins/recaptcha/install_updates.php line 51