Any Telephony Connector is a computer telephony integration between SuiteCRM and all modern PBXs provided by VoIP softphone provider, Softphone.Pro.
#4301 - Installation error Uncaught Error: Call to undefined method Basic::SugarBean()
- during installation i got the following erros
- suite CRM Version Version 8.1.0
how can i fix it
[Tue May 24 09:59:15.087928 2022] [php7:warn] [pid 147032] [client 192.168.194.84:18851] PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/virtual_web/crm/public/legacy/modules/VPrettyConfig/VPrettyConfig.php on line 55, referer: http://crm.home.proman.at/legacy/index.php?module=Administration&view=module&action=UpgradeWizard_prepare [Tue May 24 09:59:15.087995 2022] [php7:warn] [pid 147032] [client 192.168.194.84:18851] PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/virtual_web/crm/public/legacy/modules/VPrettyConfig/VPrettyConfig.php on line 129, referer: http://crm.home.proman.at/legacy/index.php?module=Administration&view=module&action=UpgradeWizard_prepare [Tue May 24 09:59:15.088346 2022] [php7:error] [pid 147032] [client 192.168.194.84:18851] PHP Fatal error: Uncaught Error: Call to undefined method Basic::SugarBean() in /var/virtual_web/crm/public/legacy/modules/VPrettyConfig/VPrettyConfig.php:20\nStack trace:\n#0 /var/virtual_web/crm/public/legacy/ModuleInstall/ModuleInstaller.php(2018): VPrettyConfig->VPrettyConfig()\n#1 /var/virtual_web/crm/public/legacy/ModuleInstall/ModuleInstaller.php(173): ModuleInstaller->install_beans()\n#2 /var/virtual_web/crm/public/legacy/modules/Administration/UpgradeWizard_commit.php(342): ModuleInstaller->install()\n#3 /var/virtual_web/crm/public/legacy/include/MVC/View/SugarView.php(798): include_once('/var/virtual_we...')\n#4 /var/virtual_web/crm/public/legacy/include/MVC/View/views/view.classic.php(72): SugarView->includeClassicFile()\n#5 /var/virtual_web/crm/public/legacy/include/MVC/View/SugarView.php(210): ViewClassic->display()\n#6 /var/virtual_web/crm/public/legacy/include/MVC/Controller/SugarController.php(432): SugarView->process()\n#7 /var/virtual_web/crm/public/legacy/include/MVC/Controller/SugarController.php(363): SugarControl in /var/virtual_web/crm/public/legacy/modules/VPrettyConfig/VPrettyConfig.php on line 20, referer: http://crm.home.proman.at/legacy/index.php?module=Administration&view=module&action=UpgradeWizard_prepare [Tue May 24 10:05:38.460534 2022] [php7:notice] [pid 148740] [client 192.168.190.101:55112] PHP Notice: Undefined index: user_name in /var/virtual_web/crm/public/legacy/modules/vCals/HTTP_WebDAV_Server_vCal.php on line 196, referer: http://crm.home.proman.at/legacy/index.php?return_module=Calls&return_action=DetailView&return_id=8ba3514f-df10-2ace-4cd3-628a5224c623&module=Calls&action=EditView&record=8ba3514f-df10-2ace-4cd3-628a5224c623 [Tue May 24 10:05:38.485762 2022] [php7:warn] [pid 148740] [client 192.168.190.101:55112] PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/virtual_web/crm/public/legacy/modules/VPrettyConfig/VPrettyConfig.php on line 55, referer: http://crm.home.proman.at/legacy/index.php?return_module=Calls&return_action=DetailView&return_id=8ba3514f-df10-2ace-4cd3-628a5224c623&module=Calls&action=EditView&record=8ba3514f-df10-2ace-4cd3-628a5224c623 [Tue May 24 10:05:38.485830 2022] [php7:warn] [pid 148740] [client 192.168.190.101:55112] PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/virtual_web/crm/public/legacy/modules/VPrettyConfig/VPrettyConfig.php on line 129, referer: http://crm.home.proman.at/legacy/index.php?return_module=Calls&return_action=DetailView&return_id=8ba3514f-df10-2ace-4cd3-628a5224c623&module=Calls&action=EditView&record=8ba3514f-df10-2ace-4cd3-628a5224c623 [Tue May 24 10:05:38.486600 2022] [php7:error] [pid 148740] [client 192.168.190.101:55112] PHP Fatal error: Uncaught Error: Call to undefined method Basic::SugarBean() in /var/virtual_web/crm/public/legacy/modules/VPrettyConfig/VPrettyConfig.php:20\nStack trace:\n#0 /var/virtual_web/crm/public/legacy/include/MVC/SugarModule.php(113): VPrettyConfig->VPrettyConfig()\n#1 /var/virtual_web/crm/public/legacy/modules/Users/User.php(2011): SugarModule->loadBean()\n#2 /var/virtual_web/crm/public/legacy/modules/Users/User.php(2119): User->_getModulesForACL()\n#3 /var/virtual_web/crm/public/legacy/modules/Users/User.php(2140): User->getAdminModules()\n#4 /var/virtual_web/crm/public/legacy/modules/ACLActions/ACLAction.php(542): User->isAdminForModule()\n#5 /var/virtual_web/crm/public/legacy/modules/ACL/ACLController.php(153): ACLAction::userHasAccess()\n#6 /var/virtual_web/crm/public/legacy/modules/Calendar/CalendarActivity.php(232): ACLController::checkAccess()\n#7 /var/virtual_web/crm/public/legacy/modules/vCals/vCal.php(137): CalendarActivity::get_activities()\n#8 /var/virtual_web/crm/public/legacy/modules/vCals/vCal.php(215): vCal-> in /var/virtual_web/crm/public/legacy/modules/VPrettyConfig/VPrettyConfig.php on line 20, referer: http://crm.home.proman.at/legacy/index.php?return_module=Calls&return_action=DetailView&return_id=8ba3514f-df10-2ace-4cd3-628a5224c623&module=Calls&action=EditView&record=8ba3514f-df10-2ace-4cd3-628a5224c623 [Tue May 24 10:05:38.490843 2022] [php7:notice] [pid 151777] [client 192.168.190.101:55111] PHP Notice: Undefined index: user_name in /var/virtual_web/crm/public/legacy/modules/vCals/HTTP_WebDAV_Server_vCal.php on line 191, referer: http://crm.home.proman.at/legacy/index.php?return_module=Calls&return_action=DetailView&return_id=8ba3514f-df10-2ace-4cd3-628a5224c623&module=Calls&action=EditView&record=8ba3514f-df10-2ace-4cd3-628a5224c623
2 years ago
the error results from class VPrettyConfig extends Basic { ... public function VPrettyConfig() { ** parent::SugarBean();** }
from the file modules\VPrettyConfig\VPrettyConfig.php
SugarBean(); is called as extended for the fuction but this function don't exists in Basic.
2 years ago
We've rebuilt the module. Please download and install it again.
2 years ago
solved the problem, thx