Support the ongoing development of Laravel.io →
Installation Configuration

ive been having some really strange problems with composer. It comes down to when i do a dump-autoload or update it gives me the following issues:

Warning: Unexpected character in input...vendor/composer/autoload_classmap.php PHP Warning: Unexpected character in input...vendor/composer/autoload_classmap.php on line

when investigating it basically adds between 20 and infinite number of NUL's at the end of the file when cleared, then i run it again it seems fine but then i do it later on and it does the same thing.

eg:);NULNULNULNULNULNULNULNUL only visible within sublime text editor try to copy and they wont etc

it causes a hell of issue of trying until it works, done the self-updates etc, and got the latest blah blah

Any body else getting this:

iMac running Mavericks, using iterm or terminal.

Last updated 3 years ago.
0

Are you files on a remote share like NFS or Samba?

I have run into this problem on that setup.

Last updated 3 years ago.
0

HI thanks for the reply, again soon , no mins after posting i thought to check as the server is on a local network and my mac is connected to it, so i tried all the composer / artisan stuff on th eactual server and all seemed to run OK, as as your reply is suggesting its probably the fact that its not directly accessing it form the actual machine that causes issues.

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.