Fatal error: Uncaught Error: Class ‘WP_Block_Styles_Registry’

I am having some issues determining the solution to this problem below. The website was sent to our team to fix. Turned on error reporting in wp-config.php: define(‘WP_DEBUG’, true); WordPress version: 5.3.2PHP version: 7.2 WordPress Theme: Grow Pro Fatal error: Uncaught Error: Class ‘WP_Block_Styles_Registry’ not found in /home/website/public_html/clientsite.com/wp-includes/script- loader.php:2902 Stack trace: #0 /home/website/public_html/clientsite.com/wp-includes/class-wp- hook.php(288): enqueue_block_styles_assets(”)…

Disable URL redirection from catalog to product view in case of the error “The requested qty is not available” when adding too much products to cart

I can’t figure where to find the code displaying “The requested qty is not available” and redirecting to the product URL when we add more product than the stock. [I’m using Magento 2.3.3 and custom theme and module] I want to do TWO things : Remove the href redirecting from the catalog to the product…

WordPress URL rewrite for one parameter, keep other parameters

I have a WP website that allows users to create and browse listings. Currently, when a user navigates to the mydomain.com/listings/for-sale/ they get an overview of the listings and a few additional query options. After selecting some extra fields, a user might be redirected to the following URL: mydomain.com/listings/for-sale/?c=item_category&m=&co=us&search=&minprice=&maxprice= where parameter ‘c’ represents the item…