Module Loader fails to deploy a module if "globalSearch" user preference is not set #10450
Labels
Area: Module
Issues & PRs related to modules that do not have specific label
Status:Requires Updates
Issues & PRs which requires input or update from the author
Type: Bug
Bugs within the core SuiteCRM codebase
Issue
When running php8+ and if the user preference "globalSearch" is not set for the current user then you get the following error when deploying :
PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given
Possible Fix
Add check for empty values before searching array
Steps to Reproduce the Issue
Context
No response
Version
7.14.2
What browser are you currently using?
Chrome
Browser Version
No response
Environment Information
PHP 8.2
Operating System and Version
Ubuntu 22
The text was updated successfully, but these errors were encountered: