I encountered this error while doing a cli rebuild (luckily in a test server) and traced it to the DataManager class (application/Espo/Core/DataManager.php) rebuildDatabase function.
This function takes an array $entityList as parameter but it is coming with a "null" value (the dafault parameter value) which throws this error. I understand that the $entityList parameter is supposed to be an array with a list of entity names but in this case is not being passed to the DataManager function and I couldn't figure out what class creates and passes this parameter to DataManager.
Does anyone have any ideas that you could share ?
I'm about to go for my ultimate solution of just blowing up the test server and install a fresh new image but I would like to understand how this problem originated to avoid repeating whatever I did wrong..
This function takes an array $entityList as parameter but it is coming with a "null" value (the dafault parameter value) which throws this error. I understand that the $entityList parameter is supposed to be an array with a list of entity names but in this case is not being passed to the DataManager function and I couldn't figure out what class creates and passes this parameter to DataManager.
Does anyone have any ideas that you could share ?
I'm about to go for my ultimate solution of just blowing up the test server and install a fresh new image but I would like to understand how this problem originated to avoid repeating whatever I did wrong..
Comment