Uncaught Error: Class ‘RuleCriteria’ RuleCriteriaAge.php on line 15 openemr 6 and 7
When you click Admin->Practice->Rules, you may get an unknown and blank tab. It means you can't add a new plan and rule.
You are supposed to get this configuration screen. However, you may encounter an error message with a blank unknown tab like the second image.
I think it is lacking the following statement in RuleCriteriaAge.php
Pu this line in the top
require_once(library_src(‘RuleCriteria.php’));
XAMPP for Linux 7.4.29-1 (environment)
Fatal error : Uncaught Error: Class ‘RuleCriteria’ not found in /opt/lampp/htdocs/openemr7/interface/super/rules/library/RuleCriteriaAge.php:15 Stack trace: #0 /opt/lampp/htdocs/openemr7/interface/super/rules/include/header.php(30): require_once() #1 /opt/lampp/htdocs/openemr7/interface/super/rules/index.php(3): require_once(’/opt/lampp/htdo…’) #2 {main} thrown in /opt/lampp/htdocs/openemr7/interface/super/rules/library/RuleCriteriaAge.php on line 15