I had this problem intermittently for some time when embedding event registration forms using a Wordpress shortcode. It has to do with page caching. CiviCRM parses the shortcode to capture the event ID and adds the id value to the global $_GET object. If the page is loaded from cache (usually when the back/forward button is pressed) the code that parses the ...
Nevermind. I've looked through all of the settings, and it turns out that my colleagues modified the Addresses format but didn't do it correctly. Once this is fixed, everything is back to normal now. Thanks.
The problem is having null in civicrm_line_item:price_field_id & price_field_value_id
If a donor has one historical contribution that is missing the price field id & price field value id, then you cannot access their contribution tab.
The fix is to fill in the missing fields, a couple of options:
LineItem Edit extension and do them one by one
Posted in Webform CiviCRM Drupal Issue queue:
Webform CiviCRM indeed has not been specific about price_field_id or
price_field_value_id in the past - b/c CiviCRM core has been 'fetching' these
automatically. When there is a ton of price_fields though (both visible and
hidden), the fetching may not produce the correct result or no result at ...