• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

My Monkey Do

A Log of Coding Solutions

  • Home
  • Web Hosts
  • Tools
  • About

macOS

Class “Some/Namespace/App.php” not found (only on server)

August 11, 2024 by Webhead

The Problem

Everything works fine on your Mac OS setup, but for some reason, on your Linux server you get the error below. All file names look correct, case sensitive and all.

Class "Some/Namespace/App.php" not found.

The Solution

When you rename a file on Mac and it’s just changing the case, git won’t pick it up. So while you think it’s renamed on the server, it may not be! When renaming a file and it’s just changing the case, use:

git mv app.php App.php

Filed Under: Uncategorized Tagged With: git, linux, macOS, php

Primary Sidebar

Topics

apache apple block editor chrome cms css debug eCommerce embed firebug firefox git gmail goDaddy google hosting htaccess html html 5 IE crap image iPad iPhone javascript jquery linux localization macOS mac os x ms sql mysql open source optimize php php 7.2 rest api seo svg tinymce woocommerce wordpress wpengine xss yii youtube




Categories

  • Coding
  • Off the Shelf
  • Plugins
  • Random Thoughts
  • Server Stuff
  • Tools
  • Uncategorized