Run the following commands
./n98-magerun2.phar admin:user:create [--admin-user ADMIN-USER] [--admin-password ADMIN-PASSWORD] [--admin-email ADMIN-EMAIL] [--admin-firstname ADMIN-FIRSTNAME] [--admin-lastname ADMIN-LASTNAME]
Run the following commands
./n98-magerun2.phar admin:user:create [--admin-user ADMIN-USER] [--admin-password ADMIN-PASSWORD] [--admin-email ADMIN-EMAIL] [--admin-firstname ADMIN-FIRSTNAME] [--admin-lastname ADMIN-LASTNAME]
In my case its was prmission issue . The following command solved the issue
chmod +x ./n98-magerun.phar
<?php echo $this->getViewFileUrl('images/footer-icon.png'); ?>
public function getStoreCode() { return $this->_storeManager->getStore()->getCode(); }
vi /root/.config/sublime-text-3/Packages/User/Default.sublime-theme
[ {
"class": "tab_label",
"font.size": 13
},
]
Edit the file /usr/bin/google-chrome-stable
vi /usr/bin/google-chrome-stable
and replce the code exec -a “$0” “$HERE/chrome” “$@” with exec -a “$0” “$HERE/chrome” “$@” –no-sandbox
This is a known issue in magento 2.2.4. It can be fixed by modifying the function setForcedArea() in Magento\Email\Model\AbstractTemplate.php
Update
public function setForcedArea($templateId)
{ if ($this->area) {
throw new \LogicException(__('Area is already set'));
}
$this->area = $this->emailConfig->getTemplateArea($templateId);
return $this;
}
To
public function setForcedArea($templateId)
{ if (!isset($this->area)) {
$this->area = $this->emailConfig->getTemplateArea($templateId);
}
return $this;
}
Add the following text in preference
{ "word_wrap": true }
Run following commands to cache credentials
$ git config credential.helper store
$ git push https://github.com/repo.git
Username for ‘https://github.com’:
Password for ‘https://USERNAME@github.com’:
check the session path configured in app/etc/env.php
'session' => [
'save' => 'files',
'save_path' => '/var/php/session/',
],
and make sure save_path has proper permission and ownership