PHP 8.2 compatibility – ${var} deperecated in GoogleAuthenticator

[ad_1]

Hello,

I have just installed the latest Siteground security plugin, but my wordpress log is getting filled with messages of deprecation:

PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in wp-content/plugins/sg-security/vendor/phpgangsta/googleauthenticator/PHPGangsta/GoogleAuthenticator.php on line 112

I’m using PHP 8.2, which I believe requires to rewrite the way vars are built.

Could you look into it?

  • This topic was modified 5 hours, 17 minutes ago by JCV.
  • This topic was modified 5 hours, 17 minutes ago by JCV.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer