Open webmaster-cses-org-uk opened 1 month ago
This extension is not compatible with CiviCRM 5.74+ (I think, upgraded from 5.72.1 to 5.78.3) due to Smarty changes.
Attempting to load CiviCRM with this extension active results in the following error:
Cannot access protected property Smarty\Smarty::$template_dir
This seems to be related to old code in the civix.php file, specifically in the _civix_civicrm_config() routine.
civix.php
_civix_civicrm_config()
if (is_array($template->template_dir)) { array_unshift($template->template_dir, $extDir); } else { $template->template_dir = [$extDir, $template->template_dir]; }
Looks like a civix rebuild is required. This code does not feature in later versions.
hi @tttp can we migrate this extension to Gitlab so that we can help with these kind of tasks?
absolutely!
This extension is not compatible with CiviCRM 5.74+ (I think, upgraded from 5.72.1 to 5.78.3) due to Smarty changes.
Attempting to load CiviCRM with this extension active results in the following error:
Cannot access protected property Smarty\Smarty::$template_dir
This seems to be related to old code in the
civix.php
file, specifically in the_civix_civicrm_config()
routine.Looks like a civix rebuild is required. This code does not feature in later versions.