Closed dlindberg closed 4 years ago
There is a difficult to diagnose issue introduced with the Craft 3.3+ update that can cause yii\base\InvalidConfigException if a plugin assumes the craft app is fully bootstrapped during the init() method. The specific issue occurs when using the sebastianlenz/linkfield plugin as reported in issue 79 on that plugin where the CpFieldInspect-Craft also trigged the issue (From the discussion, diagnosing the problem proved challenging, but the specific solution appears relatively straight forward.
yii\base\InvalidConfigException
init()
Thanks for the very clear report!
Description
There is a difficult to diagnose issue introduced with the Craft 3.3+ update that can cause
yii\base\InvalidConfigException
if a plugin assumes the craft app is fully bootstrapped during theinit()
method. The specific issue occurs when using the sebastianlenz/linkfield plugin as reported in issue 79 on that plugin where the CpFieldInspect-Craft also trigged the issue (From the discussion, diagnosing the problem proved challenging, but the specific solution appears relatively straight forward.Steps to reproduce
Additional info