Okay
  Public Ticket #1383122
Deploy LESS problem
Closed

Comments

  •  1
    portodesign started the conversation

    When execute: php bin/magento setup:static-content:deploy

    ---

    ERROR:

    Deploy using quick strategy

    frontend/Magento/blank/en_US            2310/2310           ============================ 100% %  7 secs              

    adminhtml/Magento/backend/en_US         2075/2075           ============================ 100% %  7 secs              

    frontend/Mgs/mgsblank/en_US             2236/2236           ============================ 100% %  3 secs              

    frontend/Magento/luma/en_US             2325/2325           ============================ 100% %  9 secs              

    frontend/Mgs/unero/en_US                2212/2549           ========================>--- 86% %   3 secs

    Compilation from source: /var/www/html/app/design/frontend/Mgs/unero/web/css/theme.less

    ParseError: Unexpected input in _Mageplaza_Osc.less on line 240, column 4

    238| &:after {

    239| content: "";

    240| display: table;

    241| clear: both;

    242| }

    243| + {

                                                                                                                                                                                

      [Magento\Framework\Exception\FileSystemException]                                                                                                                         

      Cannot read contents from file "/var/www/html/pub/static/frontend/Mgs/unero/en_US/css/theme.css" Warning!file_get_contents(/var/www/html/pub/static/frontend/Mgs/unero/e  

      n_US/css/theme.css): failed to open stream: No such file or directory                                                                                                     

                                                                                                                                                                                

  • [deleted] replied

    Hi

    Have you updated our theme yet? If you update our theme, you have to update in turn, for example you are using Unero version 1.1.1 and want to update to version 1.1.3, you have to update to version 1.1.2 then update to version 1.1.3. I bet that you didn't update in turn and not some files is missing. Can you please try again

  • s2892 replied

    the same problem with 1.1.3

    install on clean magento 2.2.1

     what is more product view not working


    1 exception(s):
    Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'referenceContainer', attribute 'after': The attribute 'after' is not allowed.
    Line: 1228
    Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'referenceContainer', attribute 'after': The attribute 'after' is not allowed.
    Line: 1228

    Please help ASAP!

  • s2892 replied

    I fix this problem.
    @portodesign the mageaplaza social buttons are outdated (!).

    to fix it delete app/code/mageaplaza

    after go to shell

    composer require mageplaza/module-core

    composer require mageplaza/magento-2-social-login

    composer update

    system download the newest mageplaza


    after flush, di

    php bin/magento setup:static-content:deploy will be work(at lest work for me)