1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-15 11:14:12 +02:00

Update error message in Modules class to make it less ambiguous per processwire/processwire-issues#926

This commit is contained in:
Ryan Cramer
2019-09-24 08:47:51 -04:00
parent 6f71ff3f93
commit 8fbf63ce85

View File

@@ -3504,7 +3504,11 @@ class Modules extends WireArray {
if($moduleInstance && $moduleInstance instanceof ConfigurableModule) { if($moduleInstance && $moduleInstance instanceof ConfigurableModule) {
// re-try because moduleInfo may be temporarily incorrect for this request because of change in moduleInfo format // re-try because moduleInfo may be temporarily incorrect for this request because of change in moduleInfo format
// this is due to reports of ProcessChangelogHooks not getting config data temporarily between 2.6.11 => 2.6.12 // this is due to reports of ProcessChangelogHooks not getting config data temporarily between 2.6.11 => 2.6.12
$this->error("Configurable module check failed for $className, retrying...", Notice::debug); $this->error(
"Configurable module check failed for $className. " .
"If this error persists, please do a Modules > Refresh.",
Notice::debug
);
$useCache = false; $useCache = false;
} else { } else {
return false; return false;