Create business logic for field calculations in SuiteCRM without needing to write custom code. You can select a calculated field and create the formula that is automatically updated based on the calculation you provide.
#5460 - SuiteCRM Calculated Fields: License Configuration
We can not validate our licence. I wrote the provided licence code to the "SuiteCRM Calculated Fields: License Configuration" administration menu, and when I ckilck Validate, it says "Validating" for a sec then nothing. We tried to hard code the licence to the files, it does not helped.Our current uite version: 8.6.1 but with 8.6.0 it was the same, and we have 8.1.2 PHP version. We have the following errors:
In the studio, when I try to add calculated field Data Type: [Fri Aug 23 11:55:54.966215 2024] [php:warn] [pid 7455] [client 81.183.239.160:51786] PHP Warning: Undefined array key "SugarOutfitters_suitecrmcalculatedfields" in /var/www/proc3.erpsystem.eu/public/legacy/modules/tac_calculated_field_validation/license/OutfittersLicense.php on line 46, referer: https://proc3.erpsystem.eu/legacy/index.php?type=studio&module=ModuleBuilder&action=index [Fri Aug 23 11:55:54.966574 2024] [php:error] [pid 7455] [client 81.183.239.160:51786] PHP Fatal error: Uncaught Error: Non-static method SugarOutfitters_API::get_default_payload() cannot be called statically in /var/www/proc3.erpsystem.eu/public/legacy/modules/tac_calculated_field_validation/license/OutfittersLicense.php:477\nStack trace:\n#0 /var/www/proc3.erpsystem.eu/public/legacy/modules/tac_calculated_field_validation/license/OutfittersLicense.php(192): SugarOutfitters_API::call()\n#1 /var/www/proc3.erpsystem.eu/public/legacy/modules/tac_calculated_field_validation/license/OutfittersLicense.php(89): SuiteCRMCalculatedFieldsOutfittersLicense::doValidate()\n#2 /var/www/proc3.erpsystem.eu/public/legacy/custom/modules/DynamicFields/templates/Fields/Forms/calculatedfield.php(31): SuiteCRMCalculatedFieldsOutfittersLicense::isValid()\n#3 /var/www/proc3.erpsystem.eu/public/legacy/modules/DynamicFields/FieldViewer.php(125): get_body()\n#4 /var/www/proc3.erpsystem.eu/public/legacy/modules/ModuleBuilder/views/view.modulefield.php(350): FieldViewer->getLayout()\n#5 /var/www/proc3.erpsystem.eu/public/legacy/modules/ModuleBuilder/views/view.modulefield.php(62): ViewModulefield->fetch()\n#6 /var/www/proc3.erpsystem.eu/public/legacy/include/MVC/View/SugarView.php(210): ViewModulefield->display()\n#7 /var/www/proc3.erpsystem.eu/public/legacy/include/MVC/Controller/SugarController.php(432): SugarView->process()\n#8 /var/www/proc3.erpsystem.eu/public/legacy/include/MVC/Controller/SugarController.php(363): SugarController->processView()\n#9 /var/www/proc3.erpsystem.eu/public/legacy/include/MVC/SugarApplication.php(101): SugarController->execute()\n#10 /var/www/proc3.erpsystem.eu/public/legacy/index.php(52): SugarApplication->execute()\n#11 {main}\n thrown in /var/www/proc3.erpsystem.eu/public/legacy/modules/tac_calculated_field_validation/license/OutfittersLicense.php on line 477, referer: https://proc3.erpsystem.eu/legacy/index.php?type=studio&module=ModuleBuilder&action=index
When I try to validate with the License Key: [Fri Aug 23 11:56:49.763192 2024] [php:error] [pid 12712] [client 81.183.239.160:51860] PHP Fatal error: Uncaught Error: Non-static method SugarOutfitters_API::get_default_payload() cannot be called statically in /var/www/proc3.erpsystem.eu/public/legacy/modules/tac_calculated_field_validation/license/OutfittersLicense.php:477\nStack trace:\n#0 /var/www/proc3.erpsystem.eu/public/legacy/modules/tac_calculated_field_validation/license/OutfittersLicense.php(192): SugarOutfitters_API::call()\n#1 /var/www/proc3.erpsystem.eu/public/legacy/modules/tac_calculated_field_validation/license/OutfittersLicense.php(141): SuiteCRMCalculatedFieldsOutfittersLicense::doValidate()\n#2 /var/www/proc3.erpsystem.eu/public/legacy/modules/tac_calculated_field_validation/outfitterscontroller.php(17): SuiteCRMCalculatedFieldsOutfittersLicense::validate()\n#3 /var/www/proc3.erpsystem.eu/public/legacy/include/MVC/View/SugarView.php(800): include_once('...')\n#4 /var/www/proc3.erpsystem.eu/public/legacy/include/MVC/View/views/view.classic.php(72): SugarView->includeClassicFile()\n#5 /var/www/proc3.erpsystem.eu/public/legacy/include/MVC/View/SugarView.php(210): ViewClassic->display()\n#6 /var/www/proc3.erpsystem.eu/public/legacy/include/MVC/Controller/SugarController.php(432): SugarView->process()\n#7 /var/www/proc3.erpsystem.eu/public/legacy/include/MVC/Controller/SugarController.php(363): SugarController->processView()\n#8 /var/www/proc3.erpsystem.eu/public/legacy/include/MVC/SugarApplication.php(101): SugarController->execute()\n#9 /var/www/proc3.erpsystem.eu/public/legacy/index.php(52): SugarApplication->execute()\n#10 {main}\n thrown in /var/www/proc3.erpsystem.eu/public/legacy/modules/tac_calculated_field_validation/license/OutfittersLicense.php on line 477, referer: https://proc3.erpsystem.eu/legacy/index.php?module=tac_calculated_field_validation&action=license