Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could provoke a PHP Fatal error ([] operator not supported for strings). #1214

Open
mambax7 opened this issue Apr 8, 2022 · 0 comments
Open

Comments

@mambax7
Copy link
Collaborator

mambax7 commented Apr 8, 2022

Could provoke a PHP Fatal error ([] operator not supported for strings).
In snoopy.php line 859 and three more:
$this->results[] = $results;

Could provoke a PHP Fatal error (cannot use string offset as an array).
In \htdocs\modules\system\themes\dark\dark.php, line 164 and 167:
$mod_options[$item]['link'] = empty($mod_options[$item]['absolute']) ? XOOPS_URL . "/modules/{$moddir}/" . $mod_options[$item]['link'] : $mod_options[$item]['link'];

Same in \htdocs\modules\system\themes\default\default.php, line 131 and 134

Could provoke a PHP Fatal error ([] operator not supported for strings).
\htdocs\modules\system\admin\modulesadmin\modulesadmin.php line 294, 306, 353, 378, 1189, 1214
$configs[] = array(

Same in \htdocs\xoops_lib\modules\protector\oninstall.php line 48, 64, 69, 75, 78, 106, 109, 114, 116, e.g.
$ret[] = 'SQL file found at <b>' . htmlspecialchars($sql_file_path) . '</b>.<br> Creating tables...';

Same in \htdocs\xoops_lib\modules\protector\onuninstall.php line 47, 53, 55

Same in \htdocs\modules\system\themes\transition\transition.php line 165, 168
$mod_options[$item]['link'] = empty($mod_options[$item]['absolute']) ? XOOPS_URL . "/modules/{$moddir}/" . $mod_options[$item]['link'] : $mod_options[$item]['link'];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant