0

After migration, my multi-store website to Magento 2.3.4 Back-end working good all data migrated successfully my theme completely collapsed getting following error,

Following are my errors after migration,

Frond-end error:

1) https://snipboard.io/Dw47EM.jpg

2) https://snipboard.io/uIhnAJ.jpg

System.log:

https://justpaste.it/5ry3a

Debug.log:

https://justpaste.it/42t47

Try lots of combinations to solve the issue, still facing the issue.

Server details: Localhost - Centos 7, Nginx, Magento 2.3.4, paid theme (http://www.codazon.com/document/fastest/magento2/index.html)

5
  • Check this post for system log error: magento.stackexchange.com/questions/207457/… Commented Jun 9, 2020 at 15:16
  • From the above link => "To prevent this error message, you need to update default Batching configuration of catalog_category_product (Category Products) indexer because "Current batch size: 100000"." Where i can update the batch size?
    – zus
    Commented Jun 9, 2020 at 15:25
  • Please check here: devdocs.magento.com/guides/v2.2/extension-dev-guide/… Commented Jun 9, 2020 at 15:33
  • Current my value is 100000. Path => root_folder -> vendor -> magento -> module_catalog -> etc -> di.xml line no. 1056 code => <type name="Magento\Catalog\Model\Indexer\Category\Product\Action\Full"> <arguments> <argument name="batchRowsCount" xsi:type="number">100000</argument> <argument name="batchSizeManagement" xsi:type="object">Magento\Catalog\Model\Indexer\CategoryProductBatchSize</argument> </arguments> </type> What value i need to assign here?
    – zus
    Commented Jun 9, 2020 at 15:57
  • please check the answer if it helps! Commented Jun 9, 2020 at 16:21

1 Answer 1

0

In your custom module's {Your_Module_Name}/etc/di.xml file, decrease the value for batchRowsCount to 10000

catalog_category_product (Category Products)

Magento/Catalog/etc/di.xml

Magento\Catalog\Model\Indexer\Category\Product\Action\Full


   <type name="Magento\Catalog\Model\Indexer\Category\Product\Action\Full">
        <arguments>
            <argument name="batchRowsCount" xsi:type="number">10000</argument>
            <argument name="batchSizeManagement" xsi:type="object">Magento\Catalog\Model\Indexer\CategoryProductBatchSize</argument>
        </arguments>
    </type>

Please read more here.

I hope this helps!

10
  • Does my path is right => root_folder -> vendor -> magento -> module_catalog -> etc -> di.xml?
    – zus
    Commented Jun 9, 2020 at 16:24
  • Path: /magentoRoot/vendor/magento/module-catalog/etc/di.xml Commented Jun 9, 2020 at 16:26
  • After that shall i run all the commands ( bit.ly/3cRykXn ) or specific commands only?
    – zus
    Commented Jun 9, 2020 at 16:33
  • 1
    Yes try to run the commands and check if works! Commented Jun 9, 2020 at 16:39
  • After above correction my system.log => justpaste.it/4zc1e debug.log => justpaste.it/2l866
    – zus
    Commented Jun 9, 2020 at 16:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.