Seem to be an issue that’s related to Gutenberg, no idea why it includes @2x in the file name from the post as well.
If you disable Gutenberg for the store locator, then you can probably save the locations just fine? You can test this by adding the code below to the functions.php inside your active theme folder.
add_filter( 'wpsl_post_type_args', 'custom_post_type_args' );
function custom_post_type_args( $args ) {
$args['show_in_rest'] = false;
return $args;
}
Let me know if this fixes it.
Hi thanks for getting back to me. Unfortunately this didn’t seem to work for me. I also tried to block the builder fully to see if it would help as a test using the following in functions file:
add_filter('use_block_editor_for_post_type', '__return_false');
But it didn’t seem to help either, both still five me the HEAD….error and the @x2 you mentioned?
Gutenberg was disable itself and the error still showed up?
If you for a second disable all other plugin, does this fixes it? I suspect it’s a conflict with some other code, and disabling everything else is way to test this. If it then does work enable the plugins one by one to see which one causes the conflict.
Hi There
Disabling all plugins fixes it.
I then activated wpsl and it clashes with both uncode and storefront themes but not twenty twenty theme.
Looks to be a number of clashes with plugins. So in total i have 9 errors, with the same type of error:
/storefront/assets/images/admin/storefront-icon@2x.svg
Some example plugin conflicts are:
SG optimiser
All in one security
WPML
Uncode js composer
With storefront active and the above error showing, I included the following in the functions file:
add_filter( ‘wpsl_post_type_args’, ‘custom_post_type_args’ );
function custom_post_type_args( $args ) {
$args['show_in_rest'] = false;
return $args;
}
add_filter('use_block_editor_for_post_type', '__return_false');
Which didn’t seem to help…
Hi Any further thoughts on how to resolve?
Can you open a support ticket here and send me the theme files, then can try to replicate it.