I figured out where the problem lays, I just don’t know how to change it.
In the options.php file, this is line 10:
settings_fields( 'cets_embedGmaps-group' );
This generates the following html code:
<input type='hidden' name='option_page' value='cets_embedGmaps-group' /><input type="hidden" name="action" value="update" /><input type="hidden" id="_wpnonce" name="_wpnonce" value="7667fc0b85" /><input type="hidden" name="_wp_http_referer" value="/mydirectory/wp-admin/options-general.php?page=cets_embedGmaps_options?page=cets_embedGmaps_options" />
As you can see, the page variable gets added twice to _wp_http_referer.
name="_wp_http_referer" value="/mydirectory/wp-admin/options-general.php<strong>?page=cets_embedGmaps_options?page=cets_embedGmaps_options</strong>" />
This is the cause of the insufficient permissions error.
Hope you can fix it 😉
Smile,
Juliette
I figured out where the problem lays, I just don’t know how to change it.
In the options.php file, this is line 10:
settings_fields( 'cets_embedGmaps-group' );
This generates the following html code:
<input type='hidden' name='option_page' value='cets_embedGmaps-group' /><input type="hidden" name="action" value="update" /><input type="hidden" id="_wpnonce" name="_wpnonce" value="7667fc0b85" /><input type="hidden" name="_wp_http_referer" value="/mydirectory/wp-admin/options-general.php?page=cets_embedGmaps_options?page=cets_embedGmaps_options" />
As you can see, the page variable gets added twice to _wp_http_referer.
name="_wp_http_referer" value="/mydirectory/wp-admin/options-general.php<strong>?page=cets_embedGmaps_options?page=cets_embedGmaps_options</strong>" />
This is the cause of the insufficient permissions error.
Hope you can fix it 😉
Smile,
Juliette