Locally it works fine. I have narrowed it down to /wp-admin/wp-header.php line 72-78
And all similar ones to these.
The only difference on the production server is that I have set up a sym link:
ln -s /current/wp-content/plugins /shared/plugins
The symlink is working fine, I can access files by going to:
However, when I view the console I get the following errors:
So it is trying to include the wrong file and seems to have something to do with the sym link.
Any ideas are appreciated.