Answers.Body: <p>I played around with the test site and the Credit Card Icon are now present.  I can't say why.  I upgraded the production site again to 5.10.4 and the icons were present.  I was to make a test-drive contribution on both sites.</p>
  
  <p>There's one remnant of this problem.  When I hover over the credit card icon it says [object Object] instead of Visa, Master Card, etc.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-09T18:47:05.670Z
Answers.LastActivityDate: 2019-03-09T18:47:05.670Z
Answers.UserDisplayName: George Lozier
Answers.Body: <p>We have had this reported on a couple of sites for them, we suspected and it proved to be a local caching issue, in their case with Firefox. I don't presume that is the same issue, but in case it is this could help</p>
  
  <p><a href="https://superuser.com/questions/173210/how-can-i-clear-a-single-site-from-the-cache-in-firefox">https://superuser.com/questions/173210/how-can-i-clear-a-single-site-from-the-cache-in-firefox</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-04T02:20:13.973Z
Answers.Text: That was after us clearing caches in civi
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-04T02:19:52.513Z
Answers.LastActivityDate: 2019-03-04T02:19:52.513Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>I upgraded CiviCRM from 5.6.1 to 5.9.0 and later tried 5.10.4.  Both time the credit card icons on our contribution and registration pages were missing after the upgrade (see image).  I had to revert back to 5.6.1 (edit: icons are the same as the security code icon). </p>
  
  <p>I was able to successfully upgrade our test site.  I also copied the production database to the test site (CiviCRM 5.10.4) and ran the database upgrade.  The credit card icons were present.  This tells me that the production database is OK.  What could be wrong?  What should I try next?</p>
  
  <p>We use Wordpress and PayPal Standard.</p>
  
  <p>Added 3/6/2019</p>
  
  <p>I duplicated the problem on a new test site that is a near copy of our production site (copied all the website files and the CiviCRM database).  I noticed that the HTML code for the credit card icons on the malfunctioning contribution page doesn't match that of a good page (see code below).</p>
  
  <p><strong>Bad HTML Code</strong></p>
  
  <pre><code>&lt;a href="#" title="[object Object]" class="crm-credit_card_type-icon-Visa"&gt;&lt;span&gt;[object Object]&lt;/span&gt;&lt;/a&gt;
  </code></pre>
  
  <p><strong>Good HTML Code</strong></p>
  
  <pre><code>&lt;a href="#" title="Visa" class="crm-credit_card_type-icon-visa"&gt;&lt;span&gt;Visa&lt;/span&gt;&lt;/a&gt;
  </code></pre>
  
  <p><a href="https://i.sstatic.net/fkKMK.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/fkKMK.png" alt="Missing Credit Card Icons"></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-03-06T20:34:03.267Z
Comments.Text: Clearing the CiviCRM Cache didn't fix it; nor did using a browser that didn't have the site cached.
Comments.UserDisplayName: George Lozier
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-03-07T02:47:21.463Z
Comments.Text: hmm sorry to hear that. in the 2 cases where clients hit this it was def. not happening for other users on the same page, hence taking us down the track of the issue being local.
Comments.UserDisplayName: petednz - fuzion
Tags: <civievent><civicontribute><payment-processor>
Title: Credit Card Icons Missing after Upgrade
ThreadText: # Credit Card Icons Missing after Upgrade
  
  (Asked by: username_0 on 2019-03-03)
  
  I upgraded CiviCRM from 5.6.1 to 5.9.0 and later tried 5.10.4. Both time the credit card icons on our contribution and registration pages were missing after the upgrade (see image). I had to revert back to 5.6.1 (edit: icons are the same as the security code icon).
  
  I was able to successfully upgrade our test site. I also copied the production database to the test site (CiviCRM 5.10.4) and ran the database upgrade. The credit card icons were present. This tells me that the production database is OK. What could be wrong? What should I try next?
  
  We use Wordpress and PayPal Standard.
  
  Added 3/6/2019
  
  I duplicated the problem on a new test site that is a near copy of our production site (copied all the website files and the CiviCRM database). I noticed that the HTML code for the credit card icons on the malfunctioning contribution page doesn't match that of a good page (see code below).
  
  **Bad HTML Code**
  
  ```
  <a href="#" title="[object Object]" class="crm-credit_card_type-icon-Visa"><span>[object Object]</span></a>
  
  ```
  
  **Good HTML Code**
  
  ```
  <a href="#" title="Visa" class="crm-credit_card_type-icon-visa"><span>Visa</span></a>
  
  ```
  
  [![Missing Credit Card Icons](https://i.sstatic.net/fkKMK.png)](https://i.sstatic.net/fkKMK.png)
  
  **Tags:** civievent, civicontribute, payment-processor
  
  > **Comments:**
  > **username_0**: Clearing the CiviCRM Cache didn't fix it; nor did using a browser that didn't have the site cached.  
  > **username_1**: hmm sorry to hear that. in the 2 cases where clients hit this it was def. not happening for other users on the same page, hence taking us down the track of the issue being local.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2019-03-09. Score: 1
  
  I played around with the test site and the Credit Card Icon are now present. I can't say why. I upgraded the production site again to 5.10.4 and the icons were present. I was to make a test-drive contribution on both sites.
  
  There's one remnant of this problem. When I hover over the credit card icon it says [object Object] instead of Visa, Master Card, etc.
  
  
  ---
  
  ### Answer by username_1 on 2019-03-04. Score: 0
  
  We have had this reported on a couple of sites for them, we suspected and it proved to be a local caching issue, in their case with Firefox. I don't presume that is the same issue, but in case it is this could help
  
  <https://superuser.com/questions/173210/how-can-i-clear-a-single-site-from-the-cache-in-firefox>
  
  > **Comments:**
  > **username_1**: That was after us clearing caches in civi  
  
  ---
  
  