We have a few developers on our team getting an error when debugging in Zend Studio 9. The error only occurs when debugging, and is as follows: Compile Error: %USER_PATH%\Zend\workspaces\DefaultWorkspace\.metadata\.plugins\org.eclipse.php.core\__language__\c16c7d26\Core.php line 13 - Access type for interface method IteratorAggregate::getIterator() must be omitted.
It appears that the same error has been reported before in this older post: http://forums.zend.com/viewtopic.php?f=59&t=45948 The circumstances from that post are very similar to ours, except that we do not use Expression Engine. We use Zend Framework for all of our applications.
We thought we had found a fix by creating a new workspace. However, if we switch back to the old workspace, the error starts happening again in all workspaces, even the new one. Even if we never switch back to an old workspace, as soon as we set the build path in the .project file in the new workspace, and add PHP support to the project (right click on project -> configure -> add PHP support) , the debug error will start again.
Has anyone else run into this issue, and does anyone know of a fix?