• Currently using version 1.2.3 and i am getting the following error message. Can you please check it out ASAP since that will cause issue on many users? Thanks!

    Here is the error:

    An error of type E_COMPILE_ERROR was caused in line 197 of the file invisible-recaptcha/includes/utils/MchIPUtils.php. Error message: Array and string offset access syntax with curly braces is no longer supported

    • This topic was modified 7 months, 4 weeks ago by stavroscha.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Last updated:4 years?ago

    Why are you still using this crap plugin ?

    That message is a deprecation warning produced by PHP 7.4 or later.

    PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /srv/www/some-website/wp-content/plugins/invisible-recaptcha/includes/utils/MchIPUtils.php on line 197

    The code still works fine with PHP v.7.4. But the syntax is no longer supported in PHP v.8 or later, so if you or your webhost upgrade to PHP 8, you will need to find an alternate plugin for Recaptcha functionality.

    Alternatively, it is a very simple code fix. You could modify the PHP source code yourself to eliminate the deprecation warning.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.