WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Patch [ACP2E-3753] Fatal Error #149

@BohdanKryvonosov

Description

@BohdanKryvonosov

TypeError: Magento\ProductAlert\Model\UpdateThemeParams::beforeGetTemplateFileName(): Argument #2 ($template) must be of type string, null given, called in /vendor/magento/framework/Interception/Interceptor.php on line 121 and defined in /vendor/magento/module-product-alert/Model/UpdateThemeParams.php:46

argument $template should be ?string, some blocks does not have templates.
The original has $template (without typization)

Also, this is an issue with the email area, it would be great to replace this with etc/email/di.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions