PHP won't include files properly since updating to Mojave

Solution 1:

I would sanitize your input files for non printable Unicode characters. This appears to be something common when crossing platforms or using code editors that don’t show you this clearly.

  • https://stackoverflow.com/questions/55841767/unable-to-display-image-using-matplotlib-pyplot-on-ipython-project
  • https://stackoverflow.com/questions/53016584/python-no-such-file-or-directory-error-trying-to-print-a-file-list-directory-on

What's happening looks to be different handling of text encoding - the log statement is hiding characters that the program is passing as a legitimate path in the filesystem.

It’s lucky this worked before on older OS, but the error is pointing out that you don't have /Applications\xe2\x81\xa9/AMPPS as a path and instead need your web code / framework to be looking at /Applications/AMPPS

It would be curious if all of these come from copying and pasting from the get info box and then the text editor where those values are pasting take the styled text and not the plain text version of the clipboard contents.