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

Notice: Undefined index: post_install in suitecrm/public/legacy/include/portability/Services/Cache/CacheManager.php on line 38 #418

Open
lukio opened this issue Jan 3, 2024 · 1 comment

Comments

@lukio
Copy link
Contributor

lukio commented Jan 3, 2024

Issue

Notice: Undefined index: post_install in /gcoop/suitecrm/public/legacy/include/portability/Services/Cache/CacheManager.php on line 38

   20.0352   66229912   4. User->saveFormPreferences() /gcoop/suitecrm/public/legacy/modules/Users/User.php:706
   20.0366   66230112   5. CacheManager->markAsNeedsUpdate() /gcoop/suitecrm/public/legacy/modules/Users/User.php:1019

The behaviour was commited at f01cfef but when calling from the User class the post_install it's not defined so the Notice happens.

   4         require_once "include/portability/Services/Cache/CacheManager.php";                                                                                                                                    
   3         $cacheManager = new CacheManager();                                                                                                                                                                    
   2         $cacheManager->markAsNeedsUpdate('app-metadata-navigation-'.$this->id);                                                                                                                                
   1         $cacheManager->markAsNeedsUpdate('app-metadata-user-preferences-'.$this->id);                                                                                                                          
1019         $cacheManager->markAsNeedsUpdate('app-metadata-theme-images');                 

Your Environment

  • SuiteCRM Version used: 8.5.0
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): 115.5.0esr-1
  • Environment name and version (e.g. MySQL, PHP 7): php7.4
  • Operating System and version (e.g Ubuntu 16.04): debian11
@DemoXinMC
Copy link

I'm hoping to ping this to the top by adding that I'm also running into this issue with a slightly different environment on a fresh install. I'm encountering it when attempting to load Module Studio.

Your Environment

  • SuiteCRM Version used: 8.5.1
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Opera (Chromium v121.0.6167.160)
  • Environment name and version: PHP 8.0
  • Operating System and version: Apache 2.4.58 running on linux-x86_64

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

2 participants