I move the plugin folder to Desktop (bhgre is folder name of my plugin). I still get the same error (segfault).
I tried a solution in another way. I built october cms by running sail. I did install october cms and create plugin and its migration file. I tried to run the same command.
I’m glad you got it sorted. Regarding this issue, I’ve only ever seen it happen once, and it was because of a bug/quirk in the PHP version.
// Set variable in expression
if ($variable = 'something') {
// ...
}
// Accessing the variable outside the above
// expression would seg fault
return $variable;