OS: Debian 10 updated to latest version
Web Server - Apache2
PHP 7.3.31-1~deb10u1 (cli) (built: Oct 24 2021 15:18:08) ( NTS )
mysql Ver 15.1 Distrib 10.3.31-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
SuiteCRM version 7.12.5 but was also happening with 7.11.x
SecuritySuite Plugin is installed
Customer Portal (WordPress) plugin is installed as well
Self-hosted server inside our organisationâs firewall (not external facing to customerâs yet) have full access to server.
Server is an lxc container running on proxmox
When I go to Admin â Role Management, and go to Create Role, I get the following error:
Fatal error: Uncaught Error: Call to undefined method ViewDetail::ViewDetail() in /var/www/html/custom/modules/ACLRoles/views/view.classic.php:10 Stack trace: #0 /var/www/html/include/MVC/View/ViewFactory.php(279): ACLRolesViewClassic->ACLRolesViewClassic() #1 /var/www/html/include/MVC/View/ViewFactory.php(244): ViewFactory::_buildClass(âACLRolesViewClaâŚâ, Object(ACLRole), Array) #2 /var/www/html/include/MVC/View/ViewFactory.php(97): ViewFactory::_buildFromFile(âcustom/modules/âŚâ, Object(ACLRole), Array, âclassicâ, âACLRolesâ) #3 /var/www/html/include/MVC/Controller/SugarController.php(422): ViewFactory::loadView(âclassicâ, âACLRolesâ, Object(ACLRole), Array, NULL) #4 /var/www/html/include/MVC/Controller/SugarController.php(363): SugarController->processView() #5 /var/www/html/include/MVC/SugarApplication.php(101): SugarController->execute() #6 /var/www/html/index.php(55): SugarApplication->execute() #7 {main} thrown in /var/www/html/custom/modules/ACLRoles/views/view.classic.php on line 10
There is nothing in the suitecrm.log, but apache error.log shows:
[Fri Mar 25 16:00:35.835927 2022] [php7:error] [pid 15891] [client 172.16.90.2:51944] PHP Fatal error: Uncaught Error: Call to undefined method ViewDetail::ViewDetail() in /var/www/html/custom/modules/ACLRoles/views/view.classic.php:10\nStack trace:\n#0 /var/www/html/include/MVC/View/ViewFactory.php(279): ACLRolesViewClassic->ACLRolesViewClassic()\n#1 /var/www/html/include/MVC/View/ViewFactory.php(244): ViewFactory::_buildClass(âACLRolesViewClaâŚâ, Object(ACLRole), Array)\n#2 /var/www/html/include/MVC/View/ViewFactory.php(97): ViewFactory::_buildFromFile(âcustom/modules/âŚâ, Object(ACLRole), Array, âclassicâ, âACLRolesâ)\n#3 /var/www/html/include/MVC/Controller/SugarController.php(422): ViewFactory::loadView(âclassicâ, âACLRolesâ, Object(ACLRole), Array, NULL)\n#4 /var/www/html/include/MVC/Controller/SugarController.php(363): SugarController->processView()\n#5 /var/www/html/include/MVC/SugarApplication.php(101): SugarController->execute()\n#6 /var/www/html/index.php(55): SugarApplication->execute()\n#7 {main}\n thrown in /var/www/html/custom/modules/ACLRoles/views/view.classic.php on line 10, referer: https://crm.diversityarrays.com/index.php?action=ajaxui
Now, I have seen the suggestion to disable Ajax for modules where this kind of issue happens, but the Roles module (nor any of the other Admin modules) appear in the list under System Settings â Confihure AJAX User Interface.
Any suggestions on how to fix this issue?