I have a PHP helper class with all static methods. When I add a new method or make any changes to the file and afterwards upload to server, the server does not detect the changes. I get an error saying
Fatal error: Call to undefined method Class::functionName() does not exist
even though it does exist. I've tried restarting Apache Server and also clearing browser cache. I don't have any caching setup on server either.
if you can, connect to the server with ssh and do some investigation. for example, search for the php file with find, to see if it lies around multiple times, check last modified dates, and of course the contents. also maybe modify the main file of your webpage (for example index.php), to verify that you are looking in the right place.