Question: Error When View Product

Error When View Product

When I lick on a product to view its information, the information does not show up Log: ERROR - 2021-07-19 12:42:08 --> Severity: error --> Exception: Class 'Endroid\QrCode\QrCode' not foun

NV

Nguyen Khoa Hoang Vu

Asked
When I lick on a product to view its information, the information does not show up

Log:
ERROR - 2021-07-19 12:42:08 --> Severity: error --> Exception: Class 'Endroid\QrCode\QrCode' not found /home/app/libraries/Tec_qrcode.php 22
ERROR - 2021-07-19 12:43:15 --> Severity: error --> Exception: Class 'Laminas\Barcode\Barcode' not found /home/app/libraries/Tec_barcode.php 45
  • NV

    Nguyen Khoa Hoang Vu

    Answered
    Besides, I cannot using SMTP for mail although the account information is correct

    Log:
    ERROR - 2021-07-19 14:11:33 --> Severity: Notice --> Undefined property: stdClass::$smtp_oauth2 /home/app/libraries/Tec_mail.php 52
    ERROR - 2021-07-19 14:11:33 --> Mail Error: SMTP Error: Could not connect to SMTP host.
  • MS

    Mian Saleem

    Answered
    Hello,

    Is it fresh install? If yes, then please follow the install instructions from documentation.pdf

    The composer might not load the file if missing, or config is wrong.

    If it's not fresh install, then please let me know last action.

    Thank you
  • NV

    Nguyen Khoa Hoang Vu

    Answered
    This is a fresh install.
  • MS

    Mian Saleem

    Answered
    Have you uploaded all the files/folders including `vendor` folder? Please download the latest file and try to install again. Thank you
  • NV

    Nguyen Khoa Hoang Vu

    Answered
    After re-upload the vendor folder, the product can be view now. However, , I still cannot using SMTP for mail although the account information is correct

    Log:
    Severity: Notice --> Undefined property: stdClass::$smtp_oauth2 /home/app/libraries/Tec_mail.php 52
    Mail Error: SMTP Error: Could not connect to SMTP host.
  • MS

    Mian Saleem

    Answered
    Hello,

    The line isn't the issue, you can replace it with `if (isset($this->Settings->smtp_oauth2)) {`

    You will need to check with your server admin about SMTP connection error. The port might be blocked or any other reason that causing the smtp connecction error.

    Thank you
  • NV

    Nguyen Khoa Hoang Vu

    Answered
    I already checked all the port using telnet from the terminal, they are working but I cannot use that account on the web site. I also try Gmail smtp account but it doesn't work either and the web inform: Mail Error: SMTP Error: Could not authenticate.

    Please mention that I can use MS Outlook or other web mail with these SMTP account.

    Please help.
    Thank you.
  • MS

    Mian Saleem

    Answered
    Hello,

    You can use mailtrap.io to test smtp.

    For gmail, you will need to enable non-secure apps. I am not sure about outlook, if they have such option/restriction.

    Thank you
  • Login to Reply