“An error occurred when saving the snippet”
-
Any new snippet I try to save fails with no details. When I click to save and activate, the page returns a 302 with a redirect to “…/page=add-snippet&result=save-error”. The code block is for setting Google API key for Advanced Custom Fields and is this:
function my_acf_google_map_api( $api ){ $api['key'] = 'MY KEY'; return $api; } add_filter('acf/fields/google_map/api', 'my_acf_google_map_api');
Any help would be appreciated.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘“An error occurred when saving the snippet”’ is closed to new replies.