# Local runs code that isnt there

**URL:** <https://community.localwp.com/t/local-runs-code-that-isnt-there/41021>\
**Category:** Support\
**Created:** [January 25, 2024, 3:06am UTC](https://community.localwp.com/t/local-runs-code-that-isnt-there/41021 "2024-01-25T03:06:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobonlan](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@bobonlan](https://community.localwp.com/u/bobonlan)\
**Post date:** [January 25, 2024, 3:06am UTC](https://community.localwp.com/t/local-runs-code-that-isnt-there/41021/1 "2024-01-25T03:06:24Z")

</div>

### What issue or error are you experiencing?

Site is running code that is no longer there.  
I started following a udemy course and have kept up great so far but now I’m at a point where we change a function to do something completely different yet no matter how much I refresh or save, the site still displays code that has since been deleted.

* * *

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

* * *

### System Details

- **Local Version:**  
Newest version, updated today but it doesnt display anywhere in app

- **Operating System (OS) and OS version:**  
Win 11

* * *

### Local Logs

Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/))  
[local-logs.zip](https://community.localwp.com/uploads/short-url/yC3qQ0tqi9sNXFZjhasX46odXV6.zip) (16.2 KB)

* * *

_ **Security Reminder** _  
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 25, 2024, 2:00pm UTC](https://community.localwp.com/t/local-runs-code-that-isnt-there/41021/2 "2024-01-25T14:00:48Z")

</div>

Hi @bobonlan

Can you provide more details about what you’re changing, where you’re changing, and what you’re expecting to be different?

Do you have any themes or plugins that have cache or CSS regeneration options that could be refreshed?

If Stop and then Start the site does it look any different after recompiling?

Feel free to share screenshots or a short video to help illustrate!

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [April 24, 2024, 2:01pm UTC](https://community.localwp.com/t/local-runs-code-that-isnt-there/41021/3 "2024-04-24T14:01:05Z")

</div>

Closed on April 24, 2024, 2:01pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
