admin-ajax.php 500 server error

The admin-ajax.php function throws a 500 error when I have the log in across network option on.