![]() |
I have added in SYSTEMPATH\Config\BaseConfig.php (Codeigniter 4.6.0):
PHP Code: #[\AllowDynamicProperties]
Can't you just declare the missing property in your Config\Validation class and not rely on dynamic creation? The deprecation is there to prevent creation of misspelled property names.
[quote pid="424864" dateline="1743014798"]
Thanks for your suggestion. I have declared the variable in ConfigValidation and removed the WARNING error. Doing this is the most logical thing to do, no need to touch the heart of CI4. Thank you Paul [/quote] |
Welcome Guest, Not a member yet? Register Sign In |