civicrm / org.civicrm.contactlayout

Customize the contact summary screen
Other
15 stars 20 forks source link

Summary returns 1 - No Content #143

Closed savionlee closed 6 months ago

savionlee commented 7 months ago

image

This unique error seems to be coming from CLE. When I disable the extension, I can see the standard blocks. I cloned the system default and put it at the top and it didn't solve the issue.

No errors in the browser console, php error logs, or ConfigAndLog.

Tested on an Organization and Individual.

CiviCRM 5.73.1, WP 6.5.2

colemanw commented 7 months ago

This appears to be caused by a recent upgrade to Smarty. I will investigate, but in the meantime @savionlee a quick-fix would be to comment-out the line(s) in your civicrm.settings.php file which contain define('CIVICRM_SMARTY_AUTOLOAD_PATH', ...);

What's happening here is that this extension provides its own copy of CRM/Contact/Page/View/SummaryHook.tpl as an override to the core file.

Note that this extension already does use the Smarty mixin so that's not the issue. I also checked and verified the extension is up-to-date wrt civix upgrade.

savionlee commented 7 months ago

This appears to be caused by a recent upgrade to Smarty. I will investigate, but in the meantime @savionlee a quick-fix would be to comment-out the line(s) in your civicrm.settings.php file which contain define('CIVICRM_SMARTY_AUTOLOAD_PATH', ...);

Thanks! Disabling Commenting brought the display back.

colemanw commented 6 months ago

Ok core PRs have been merged. This issue is now fixed.