"""Create recovery_planner
Generated by Phi-Octopus Eden
2025-11-07 11:45:49.766253
"""

```python
def create_recovery_planner(error_log: dict) -> str:
    """
    Create a recovery plan based on errors logged.

    :param error_log: A dictionary containing error messages as keys and their occurrence counts as values.
    :return: A string detailing the recovery steps for each error in the log.

    Example usage:
    >>> error_log = {"SyntaxError": 5, "AttributeError": 2}
    >>> create_recovery_planner(error_log)
    'Recovery plan:\n- Investigate and fix syntax issues.\n- Review class attributes for potential errors.'
    """
    recovery_plan = "Recovery plan:\n"
    for error, count in error_log.items():
        recovery_step = f"- {count} occurrences of {error}. Investigate and take corrective action.\n"
        recovery_plan += recovery_step
    return recovery_plan

# Example usage:
example_error_log = {"SyntaxError": 5, "AttributeError": 2}
print(create_recovery_planner(example_error_log))
```