2
msdsk
3y

Or when I'm working on some legacy mess of php code and changing nothing and then reverting even that causes the whole code to act in some nonsensical way with three buttons hooked to the same code doing three completely different things and none of them having any remote connection to what is in the code. Sometimes I get it to get its act somehow together by fucking rebooting my computer (???). What the fuck is wrong with php and wordpress in particular? Could it be any more of a mess?

I literally commented out my whole fucking code, rebooted the server. Is there some cache I'm not aware of involved? It all feels like some fucked up nightmare.

Comments
  • 0
    PHP is a server side language...

    If rebooting your computer fixed something with PHP then your computer is fucked up.
  • 1
    @HiFiWiFiSciFi

    I guess it actually cleared some apache cache or something. But the server is on my computer so it might actually have some impact.
  • 1
    @msdsk Oh, then yeah if you're running MAMP, XAMP, or IDK whatever other local server a reboot would force your VM server to also reboot.

    I would suspect a problem with the local server then, not php.

    PHP is a rock. Its a shitty malformed rock, but it's a rock.
  • 1
    @HiFiWiFiSciFi

    Okay, maybe here I have more of a beef with Wordpress idea of PHP that makes it completely crazy with dependency loading, theme files overriding and so on. I still can't say if it wasn't also Wordpress cache.
  • 1
    @msdsk If it's WP... and it's a cache issue...

    I've had good luck with this in the past.

    https://wordpress.org/plugins/...
  • 1
    @HiFiWiFiSciFi

    Thanks, will try it out!
Add Comment