vi swap files are binary, but may contain a previous, invalid, php code. Akelos console searches and parses the whole project tree for files that may contain valuable information for the console session. It will also search for the hidden files, and report an error when it encounters a .swp file which disintegrates the validity of the php code.
To resolve, add the following condition in line 38 of lib/utils/scripts/console.php
&& !preg_match('/\.swp$/', $file)
This will excuse the console for looking at files that end with .swp