
The url_rewrite table:



The url_rewrite table:


Find the line:
Relace it with the new one:
$path = strval($parentPath) === '' ? $path : $parentPath . '/' . $path;
The following condition is wrong:
$parentPath === ''
because the $parentPath can be null:
![]()