mdraselkhan
New Pleskian
Hello,
I'm using AWS Lightsail Plesk Hosting Stack on Ubuntu. After installing Elaasticsearch 2.x that is mandatory to install Magento 2 on this same server, after successfully installed this, getting 502 Bad Gateway. The developer guy was told me to contact the server admin or OS system's license provider.
I use PHP 7.4, getting this error
{"0":"Notice: Trying to access array offset on value of type null in \/var\/www\/vhosts\/applogik.dk\/kamme.applogik.dk\/vendor\/magento\/framework\/App\/AreaList.php on line 78","1":"#1 Magento\\Framework\\App\\AreaList->getCodeByFrontName() called at [vendor\/magento\/framework\/App\/Http.php:111]\n#2 Magento\\Framework\\App\\Http->launch() called at [generated\/code\/Magento\/Framework\/App\/Http\/Interceptor.php:24]\n#3 Magento\\Framework\\App\\Http\\Interceptor->launch() called at [vendor\/magento\/framework\/App\/Bootstrap.php:261]\n#4 Magento\\Framework\\App\\Bootstrap->run() called at [index.php:39]\n","url":"\/index.php\/","script_name":"\/index.php","report_id":"79450960494d77faba9b567627cd0f085b1053a63e49ef9cd9ef3d13bfb67b26"}
If switch to php 8.0, getting this error
[Thu Feb 11 12:58:50.757032 2021] [proxy_fcgi:error] [pid 13308] [client 103.25.251.243:46740] AH01071: Got error 'PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36', referer: https://kamme.applogik.dk/index.php/
Please help me to fix these issues. Thanks!
I'm using AWS Lightsail Plesk Hosting Stack on Ubuntu. After installing Elaasticsearch 2.x that is mandatory to install Magento 2 on this same server, after successfully installed this, getting 502 Bad Gateway. The developer guy was told me to contact the server admin or OS system's license provider.
I use PHP 7.4, getting this error
{"0":"Notice: Trying to access array offset on value of type null in \/var\/www\/vhosts\/applogik.dk\/kamme.applogik.dk\/vendor\/magento\/framework\/App\/AreaList.php on line 78","1":"#1 Magento\\Framework\\App\\AreaList->getCodeByFrontName() called at [vendor\/magento\/framework\/App\/Http.php:111]\n#2 Magento\\Framework\\App\\Http->launch() called at [generated\/code\/Magento\/Framework\/App\/Http\/Interceptor.php:24]\n#3 Magento\\Framework\\App\\Http\\Interceptor->launch() called at [vendor\/magento\/framework\/App\/Bootstrap.php:261]\n#4 Magento\\Framework\\App\\Bootstrap->run() called at [index.php:39]\n","url":"\/index.php\/","script_name":"\/index.php","report_id":"79450960494d77faba9b567627cd0f085b1053a63e49ef9cd9ef3d13bfb67b26"}
If switch to php 8.0, getting this error
[Thu Feb 11 12:58:50.757032 2021] [proxy_fcgi:error] [pid 13308] [client 103.25.251.243:46740] AH01071: Got error 'PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36PHP message: PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /var/www/vhosts/applogik.dk/kamme.applogik.dk/vendor/magento/framework/Code/Reader/ClassReader.php on line 36', referer: https://kamme.applogik.dk/index.php/
Please help me to fix these issues. Thanks!