easyapache4 php7.3: Fatal error: Uncaught Error: Class ‘mysqli’ not found in db_connect.php. Already enabled php73-php-mysqlnd

I am getting the below error after upgrading my php from 5 to 7.3. Fatal error: Uncaught Error: Class ‘mysqli’ not found in db_connect.php I have already enabled php73-php-mysqlnd via WHM EA4. From backend I can see the mysqli is loaded fine. # php -v PHP 7.3.13 (cli) (built: Dec 19 2019 20:13:29) ( NTS…

Details

easyapache4 php7.3: Fatal error: Uncaught Error: Class ‘mysqli’ not found in db_connect.php. Already enabled php73-php-mysqlnd

I am getting the below error after upgrading my php from 5 to 7.3. Fatal error: Uncaught Error: Class ‘mysqli’ not found in db_connect.php I have already enabled php73-php-mysqlnd via WHM EA4. From backend I can see the mysqli is loaded fine. # php -v PHP 7.3.13 (cli) (built: Dec 19 2019 20:13:29) ( NTS…

Details

How to fix the WC filter in the admin panel after adding the custom stock_status?

WooCommerce Version: 3.8.1 Through the filter function, added a custom field to stock_status: add_filter( ‘woocommerce_product_stock_status_options’, ‘ec_add_custom_product_stock_status_option’ ); function ec_add_custom_product_stock_status_option ($arr) { $arr[‘fororder’] = __( ‘Доступно для заказа’, ‘woocommerce’ ); return $arr; } Everything works well, except for the “stock_status” filter in the admin panel on the “All Products” page. It shows “No Products Found” even…

Details