I’ve try to reproduce the error and find out that in wordpress with php7.4 no errors. But in wordpress with php 8 then things happen.
I’ve also notice that there is a conflict when this plugins is activated and try to activate wmpl string after this plugin, wmpl string is crashing…
If i activate wpml string first and then try to activate complianz terms and conditions then below error appears….
my log;
2022-12-03T11:43:44+00:00 CRITICAL Uncaught ValueError: Unknown format specifier “!” in /var/www/localwc/wp-content/plugins/complianz-terms-conditions/config/steps.php:11 Stack trace: #0 /var/www/localwc/wp-content/plugins/complianz-terms-conditions/config/steps.php(11): sprintf() #1 /var/www/localwc/wp-content/plugins/complianz-terms-conditions/config/class-config.php(38): require_once(‘…’) #2 /var/www/localwc/wp-content/plugins/complianz-terms-conditions/complianz-terms-conditions.php(62): cmplz_tc_config->__construct() #3 /var/www/localwc/wp-content/plugins/complianz-terms-conditions/complianz-terms-conditions.php(82): COMPLIANZ_TC->__construct() #4 /var/www/localwc/wp-content/plugins/complianz-terms-conditions/complianz-terms-conditions.php(134): COMPLIANZ_TC::get_instance() #5 /var/www/localwc/wp-includes/class-wp-hook.php(308): {closure}() #6 /var/www/localwc/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #7 /var/www/localwc/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /var/www/localwc/wp-settings.php(480): do_action() #9 /var/www/localwc/wp-config.php(96): require_once(‘…’) #10 /var/www/localwc/wp-load.php(50): require_once(‘…’) #11 /var/www/localwc/wp-admin/admin.php(34): require_once(‘…’) #12 /var/www/localwc/wp-admin/plugins.php(10): require_once(‘…’) #13 {main} thrown in /var/www/localwc/wp-content/plugins/complianz-terms-conditions/config/steps.php op de lijn 11`
hopelessly there is a fix for this…