skip to Main Content

Help, pls.:
when I installed a test theme for Magento_2.2.5 – the “magento-theme.com/checkout/” disappeared.
need – http://prntscr.com/kcq0g0,
but now like this – http://prntscr.com/kcq1pk   –   is empty 🙁

I do not understand how I can display the required fields here like – http://prntscr.com/kcq0g0

3

Answers


  1. Chosen as BEST ANSWER

    I have bad code in the generated/code/Magento/Email/Model/Template —- Interceptor.php (280 row). Changed like this: public function setForcedArea($templateId) {

    if (!isset($this->area)) {
        $this->area = $this->emailConfig->getTemplateArea($templateId);
    }
    return $this;
    

    }


  2. You need to do some debugging here .

    So for that take a look inside root pub/errors folder,

    Just copy local.xml.sample to local.xml

    Also you can enable display_errors from app/bootstrap.php file.

    Now the final statement displays as ini_set(‘display_errors’, 1);

    If you see some errors after following above steps then share with us here.

    I hope it helps.

    Login or Signup to reply.
  3. It seems there is an 500 internal server error only. May be you have not configured your theme properly.
    To check the exact error open app/bootstrap.php an around at line no. 11 you will get this line:
    “#ini_set(‘display_errors’, 1);”

    replace it with

    “ini_set(‘display_errors’, 1);”

    And reload your checkout page. You will get exact error on page.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search