How to delete all WooCommerce attributes

To delete all WooCommerce attributes login to phpMyAdmin and run this SQL. DELETE FROM wp_terms WHERE term_id IN (SELECT term_id FROM wp_term_taxonomy WHERE taxonomy LIKE ‘pa_%’); DELETE FROM wp_term_taxonomy WHERE taxonomy LIKE ‘pa_%’; DELETE FROM wp_term_relationships WHERE term_taxonomy_id not IN (SELECT term_taxonomy_id FROM...

Can’t locate local/lib.pm

If you get “Can’t locate local/lib.pm” ,  you can install the missing perl library using cpan. cpan local::lib If cpan is missing you should first install it using: yum install cpan

install Bundle::LWP

To can install Bundle::LWP Use: perl -MCPAN -e ‘install Bundle::LWP’ If you get “Can’t locate CPAN.pm in @INC” <- click here