Too bad that there is no other way.
Hi Tobi,
thanks for your suggestion. Unfortunately it is not working. When I change the number (old number is 32) to 0 I can access the page but when I reload the page the numbers changes back to 32 and I got the error again.
I added the following code to my functions.php
function codelight_all_permissions( $allcaps, $cap, $args ) {
$allcaps[$cap[0]] = true;
return $allcaps;
}
add_filter( 'user_has_cap', 'codelight_all_permissions', 0, 3 );
Seems to be a problem with the database