-
Notifications
You must be signed in to change notification settings - Fork 19
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
Undefined index when installing the module #78
Comments
What PHP and XOOPS versions? |
PHP 7.4 and xoops 2.5.11 (last version). |
Can you change both lines by adding a check:
so it begin of the line looks like this: if (isset($GLOBALS['xoopsModule']) && and the whole line: if (isset($GLOBALS['xoopsModule']) && \is_object($GLOBALS['xoopsModule']) && 'newbb' === $GLOBALS['xoopsModule']->getVar('dirname')) { and let us know if it helped? |
I just report the errors, it is not a problem for the installation of the module. This will need to be corrected in the next version. |
But can you check if this code above fixed the issue? |
Notification: Undefined index: xoopsModule dans le fichier /modules/newbb/class/PermissionCategoryHandler.php ligne 80
Notification: Undefined index: xoopsModule dans le fichier /modules/newbb/class/PermissionForumHandler.php ligne 231
The text was updated successfully, but these errors were encountered: