In order to solve the issue, you need to update iPhoto to the latest version. Navigate to the official web page, click Download iPhoto for Mac button, save the file on your computer and install the software following the on-screen instructions. For further details, check the Apple Support page.