This error occurs when you try to access the settings of SEOPress PRO.
The solution is simple: install and activate the free version of SEOPress.
Another solution is to disable / enable SEOPress Free and PRO.
Indeed, it is absolutely necessary to use the PRO version.