Title: Missing URLs after Plugin-Update
Last modified: August 16, 2021

---

# Missing URLs after Plugin-Update

 *  [Robert](https://wordpress.org/support/users/hartlrobert/)
 * (@hartlrobert)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/missing-urls-after-plugin-update/)
 * Hello,
 * after an update of the plugin, all URLs from the buttons are missing.
    The reason
   is probably an wrong IF-Statement in the line 828 of the file acf-button-v5.php?
 * If i change the Code to this, it works again:
 *     ```
       // get url - if url exists use it, if not use the page id to get permalink.
       if ( 'custom' === $value['type'] ) {
       $url = $value['url'];
       } else {
       $type = $value['type'];
       $url  = get_permalink( $value[ $type ] );
       //Bug?
       $url = $value['url'];
       }
       ```
   
 * Is this a bug?

The topic ‘Missing URLs after Plugin-Update’ is closed to new replies.

 * ![](https://ps.w.org/acf-button/assets/icon-256x256.png?rev=2564537)
 * [Advanced Custom Fields: Button Field](https://wordpress.org/plugins/acf-button/)
 * [Support Threads](https://wordpress.org/support/plugin/acf-button/)
 * [Active Topics](https://wordpress.org/support/plugin/acf-button/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acf-button/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acf-button/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Robert](https://wordpress.org/support/users/hartlrobert/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/missing-urls-after-plugin-update/)
 * Status: not resolved