magespecialist/m1-MSP_DevTools

Undefined index while re-indexing

Closed this issue · 2 comments

If I try to reindex one or all indexes from magento admin, it will give me this error:
screen

I am on a fresh installation of Magento 1.9.2.4 with only this module at the last version (0.1.9).

We are unable to reproduce on Magento 1.9.2.4, but is seems a side effect of issue #8.
Please try the following patch to AbstractOspRegistry:

Replace line #135:
$this->registeredOps[$parentOpId]['proper_time'] -= $this->registeredOps[$opId]['time'];

With:

if (isset($this->registeredOps[$parentOpId])) {
    $this->registeredOps[$parentOpId]['proper_time'] -= $this->registeredOps[$opId]['time'];
}

If it works we will add to our official release.
Thank you for your help.

Thank you! Now it works.