• Hi

    I have 16 stores set up on WPSL. Click to add a new store and get an error “The editor has encountered an unexpected error.”

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    There’s probably a conflict with a JS script somewhere, but the easiest way to fix this is to disable Gutenberg with the code below.

    add_filter( 'wpsl_post_type_args', 'custom_post_type_args' );
    
    function custom_post_type_args( $args ) {
        
        $args['show_in_rest'] = false;
        
        return $args;
    }

    Add this to the functions.php inside your active theme folder.

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot Add New Stores’ is closed to new replies.