Fixed: Module list incomplete XML error on back office

Co-authored-by: Name <sumit201@webkul.in>
This commit is contained in:
shazar rahman
2026-10-12 16:08:24 +05:30
parent df93538090
commit b2f7f50d64
2 changed files with 21 additions and 4 deletions

View File

@@ -2407,7 +2407,7 @@ class AdminControllerCore extends Controller
}
} else {
foreach (libxml_get_errors() as $error) {
$this->errors[] = Tools::displayError(sprintf('Error found : %1$s in country_module_list.xml file.', $error->message));
$this->errors[] = Tools::displayError(sprintf('Error found : %1$s in %2$s file.', $error->message, basename(Module::CACHE_FILE_DEFAULT_COUNTRY_MODULES_LIST)));
}
}
}