@automatix I have implemented a fix locally. Can you try replacing this method code and let me know if that fixes the issue for you before I publish an update?
public function enqueue_assets( $hook ) {
$pagenow = get_current_screen();
// die( print_r( $pagenow ) );
if ( $pagenow && ( 'toplevel_page_rwpp-page' !== $pagenow->base && 'rearrange-products_page_rwpp-sortby-categories-page' !== $pagenow->base && 'rearrange-products_page_rwpp-troubleshooting-page' !== $pagenow->base ) ) {
return;
}
// Stylesheets.
wp_register_style( 'rwpp_css', ( RWPP_LOCATION_URL . '/dist/css/main.css' ), false, '3.0.8' );
wp_enqueue_style( 'rwpp_css' );
// Javascripts.
wp_register_script( 'rwpp_js', ( RWPP_LOCATION_URL . '/dist/js/main.js' ), array( 'jquery', 'jquery-ui-sortable' ), '3.0.8', true );
wp_localize_script(
'rwpp_js',
'rwpp_ajax_var',
array(
'url' => admin_url( 'admin-ajax.php' ),
'nonce' => wp_create_nonce( 'rwpp-ajax-nonce' ),
)
);
wp_enqueue_script( 'rwpp_js' );
}