4
well it is not caused by anything in a standard XOOPS release. I did a search for
config_value in every release of XOOPS since 2.0.1 and it was not in
any file in the /kernel directory.
That being said, sometimes an error such as this is caused by this sloppy coding practice:
$myvar[config_value] = 'some value';
PHP looks at the above line and looks for a constant with the name config_value, if it finds it config_value's defined value is used in its place. If not PHP uses the value 'config_value' and raises the error you outlined in your first post.
If this line were changed to (notice the quotes around
config value:
$myvar['config_value'] = 'some value';
However, to figure out why the notice is being raised, we should see the call in its context. Please reply with the
code on line 126 in /kernel/session.php so we can help you further.