canadasatellite-ca / site

The canadasatellite.ca website (Magento 2)
https://upwork.com/fl/mage2pro
0 stars 1 forks source link

«Unable to resolve the source file for "frontend/MageSuper/magestylish/fr_FR/mage/requirejs/mixins.js"» #216

Closed dmitrii-fediuk closed 3 years ago

dmitrii-fediuk commented 3 years ago
{
    "channel": "main",
    "context": {
        "exception": {}
    },
    "datetime": {
        "date": "2021-09-07 16:31:32.320639",
        "timezone_type": 3,
        "timezone": "UTC"
    },
    "level": 500,
    "level_name": "CRITICAL",
    "Mage2.PRO": [
        {
            "IP Address": "66.249.66.139",
            "mage2pro/core": "7.6.6",
            "Magento": "2.3.5-p2",
            "PHP": "7.2.34-8+ubuntu16.04.1+deb.sury.org+1",
            "Referer": null,
            "Request Method": "GET",
            "URL": "https://www.canadasatellite.ca/fr/Dettah-NWT-Satellite-Phone-Iridium-9555-Sat-Phone-Dettah-s/2075.htm?band=241&network=64&price=8000-&use_type=48",
            "User-Agent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.119 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
        }
    ],
    "message": "Unable to resolve the source file for \"frontend/MageSuper/magestylish/fr_FR/mage/requirejs/mixins.js\""
}
Location:    vendor/mage2pro/core/Framework/Logger/Handler.php:55
Callee:      df_log_l
*****************1******************
Location:    vendor/monolog/monolog/src/Monolog/Logger.php:344
Callee:      Df\Framework\Logger\Handler::handle
*****************2******************
Location:    vendor/magento/framework/Logger/Monolog.php:48
Callee:      Monolog\Logger::addRecord
*****************3******************
Location:    vendor/monolog/monolog/src/Monolog/Logger.php:740
Callee:      Magento\Framework\Logger\Monolog::addRecord
*****************4******************
Location:    vendor/magento/framework/View/Asset/Merged.php:114
Callee:      Monolog\Logger::critical
*****************5******************
Location:    vendor/magento/framework/View/Asset/Merged.php:177
Callee:      Magento\Framework\View\Asset\Merged::initialize
*****************6******************
Location:    app/code/CanadaSatellite/Theme/View_/Page/Config/Renderer.php:43
Callee:      Magento\Framework\View\Asset\Merged::rewind
*****************7******************
Location:    vendor/magento/framework/View/Page/Config/Renderer.php:297
Callee:      CanadaSatellite\Theme\View_\Page\Config\Renderer::renderAssetHtml
*****************8******************
Location:    vendor/magento/framework/View/Page/Config/Renderer.php:284
Callee:      Magento\Framework\View\Page\Config\Renderer::renderAssetGroup
*****************9******************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Magento\Framework\View\Page\Config\Renderer::renderAssets
*****************10*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      CanadaSatellite\Theme\View_\Page\Config\Renderer::___callParent
*****************11*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      CanadaSatellite\Theme\View_\Page\Config\Renderer::Magento\Framework\Interception\{closure}
*****************12*****************
Location:    generated/code/CanadaSatellite/Theme/View/Page/Config/Renderer/Interceptor.php:91
Callee:      CanadaSatellite\Theme\View_\Page\Config\Renderer::___callPlugins
*****************13*****************
Location:    vendor/magento/framework/View/Page/Config/Renderer.php:137
Callee:      CanadaSatellite\Theme\View_\Page\Config\Renderer::renderAssets
*****************14*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Magento\Framework\View\Page\Config\Renderer::renderHeadContent
*****************15*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      CanadaSatellite\Theme\View_\Page\Config\Renderer::___callParent
*****************16*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      CanadaSatellite\Theme\View_\Page\Config\Renderer::Magento\Framework\Interception\{closure}
*****************17*****************
Location:    generated/code/CanadaSatellite/Theme/View/Page/Config/Renderer/Interceptor.php:39
Callee:      CanadaSatellite\Theme\View_\Page\Config\Renderer::___callPlugins
*****************18*****************
Location:    vendor/magento/framework/View/Result/Page.php:250
Callee:      CanadaSatellite\Theme\View_\Page\Config\Renderer::renderHeadContent
*****************19*****************
Location:    vendor/magento/framework/View/Result/Layout.php:171
Callee:      Magento\Framework\View\Result\Page::render
*****************20*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Magento\Framework\View\Result\Layout::renderResult
*****************21*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      Magento\Framework\View\Result\Page::___callParent
*****************22*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      Magento\Framework\View\Result\Page::Magento\Framework\Interception\{closure}
*****************23*****************
Location:    generated/code/Magento/Framework/View/Result/Page/Interceptor.php:130
Callee:      Magento\Framework\View\Result\Page::___callPlugins
*****************24*****************
Location:    vendor/magento/framework/App/Http.php:120
Callee:      Magento\Framework\View\Result\Page::renderResult
*****************25*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Magento\Framework\App\Http::launch
*****************26*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      Magento\Framework\App\Http::___callParent
*****************27*****************
Location:    vendor/canadasatellite/core/Plugin/Magento/Framework/App/Http.php:18
Callee:      Magento\Framework\App\Http::Magento\Framework\Interception\{closure}
*****************28*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:135
Callee:      CanadaSatellite\Core\Plugin\Magento\Framework\App\Http::aroundLaunch
*****************29*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      Magento\Framework\App\Http::Magento\Framework\Interception\{closure}
*****************30*****************
Location:    generated/code/Magento/Framework/App/Http/Interceptor.php:26
Callee:      Magento\Framework\App\Http::___callPlugins
*****************31*****************
Location:    vendor/magento/framework/App/Bootstrap.php:261
Callee:      Magento\Framework\App\Http::launch
*****************32*****************
Location:    pub/index.php:40
Callee:      Magento\Framework\App\Bootstrap::run
dmitrii-fediuk commented 3 years ago

The issue was caused by someone who did not deploy the static content for the requested locale (fr_FR). The proper static content deployment script:

bin/magento maintenance:enable
bin/magento cache:clean
rm -rf pub/static/*
bin/magento setup:static-content:deploy \
    --area adminhtml \
    --theme Magento/backend \
    -f en_US en_CA es_ES fr_FR pt_BR zh_Hans_CN
bin/magento setup:static-content:deploy \
    --area frontend \
    --theme MageSuper/magestylish \
    -f en_US en_CA es_ES fr_FR pt_BR zh_Hans_CN
bin/magento cache:clean
bin/magento maintenance:disable