magento2: New Rellic Indexing error in Magento 2.3.0 CE

Preconditions (*)

  1. Ubuntu 18.04 LTS, Nginx, PHP 7.2, Varnish, Redis, MySQL, Magento 2.3.0 CE 2.New Rellic Reporting connected, APM applications successfully created by Magento through the API.

Steps to reproduce (*)

  1. Allow Magento to reindex data normally through cronjobs
  2. Monitor exception.log & system.log

Expected result (*)

  1. Successful reindexation without errors

Actual result (*)

  1. From Magento system log: main.ERROR: Cron Job magento_newrelicreporting_cron has an error: Warning: Invalid argument supplied for foreach() in /var/www/html/magento/vendor/magento/module-configurable-product/Model/ResourceModel/Product/Type/Configurable/Product/Collection.php on line 82. Statistics: {"sum":0,"count":1,"realmem":0,"emalloc":0,"realmem_start":65273856,"emalloc_start":62755456} [] []

  2. Fom Magento exception log: main.CRITICAL: Warning: Invalid argument supplied for foreach() in /var/www/html/magento/vendor/magento/module-configurable-product/Model/ResourceModel/Product/Type/Configurable/Product/Collection.php on line 82 {"exception":"[object] (Exception(code: 0): Warning: Invalid argument supplied for foreach() in /var/www/html/magento/vendor/magento/module-configurable-product/Model/ResourceModel/Product/Type/Configurable/Product/Collection.php on line 82 at /var/www/html/magento/vendor/magento/framework/App/ErrorHandler.php:61)"} []

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 2
  • Comments: 21 (2 by maintainers)

Most upvoted comments

@engcom-backlog-nazar, @dharake FYI I have the same issue, however, I can’t say that I have the same Preconditions. Replicated on 2.3.1 CE.

Hi @dharake thank you for your report, i’m not able to reproduce following steps you described, this may be related to your configuration, or some custom modules.