instagram
instagram copied to clipboard
Login not working - 'Undefined variable: tag' in openssl_encrypt()
PHP Notice 'yii\base\ErrorException' with message 'Undefined variable: tag'
in /var/www/html/yii-advanced/vendor/hasokeyk/instagram/src/instagram_login.php:145
Hello,
Which php version are you using?
@Hasokeyk PHP 7.0.28-0ubuntu0.16.04.1 (cli) ( NTS )
Can you try this solution?
- Open php.ini file located under php installation folder.
- Search for extension=php_openssl.dll.
- Uncomment it by removing the semi-colon(;) in front of it.
- Restart the Apache Server.
Same error 'Undefined variable: tag' in /var/www/html/yii-advanced/vendor/hasokeyk/instagram/src/instagram_login.php:145
nano /etc/php/7.0/apache2/php.ini
sudo service apache2 restart
ok, from PHP 7.4. its working @Hasokeyk thank you