πŸ‡΅πŸ‡­Philippines @mikeocana

Account created on 16 June 2015, over 9 years ago
#

Recent comments

πŸ‡΅πŸ‡­Philippines mikeocana

Still encountering issues upgrading to 10.3.0 I just created a patch to remove it from the composer.json of lightning_core

πŸ‡΅πŸ‡­Philippines mikeocana
/**
 * Implements hook_views_pre_render().
 */
function MODULENAME_views_pre_render(&$view) {
  // Overwrite the 'Updated Date' column to display the recent date event click.
  if ($view->name == 'ad_ui_administration' && $view->current_display == 'page') {
    $results = &$view->result;
    foreach ($results as &$result) {
      $result->node_changed = _MODULENAME_get_ad_recent_click_event($result->nid, $result->node_created);
    }
  }
}

/**
 * Custom function to get the Ad recent click date event.
 */
function _MODULENAME_get_ad_recent_click_event($ad_nid, $ad_node_created) {
  $results = db_query("SELECT * FROM {eck_tracked_event} WHERE ad = :nid ORDER BY created DESC LIMIT 1", array(
    ':nid' => $ad_nid
  ));
  // Set default to node_created.
  $created = $ad_node_created;
  foreach ($results as $result) {
    $created = $result->created;
  }

  return $created;
}
πŸ‡΅πŸ‡­Philippines mikeocana

I can't reproduce the issue using D10.2.6. I will try using 10.3.1

πŸ‡΅πŸ‡­Philippines mikeocana

The issue is intermittent, I reproduce and after testing the error is gone. I will investigate the ckeditor module

πŸ‡΅πŸ‡­Philippines mikeocana

mikeocana β†’ made their first commit to this issue’s fork.

Production build 0.71.5 2024