Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Please describe your issue in detail you have not given any description of the issue

    Thread Starter viji421

    (@viji421)

    Advanced Free – Flat shipping WooCommerce:: Please Install and Activate WooComme but already woocommerce is active

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    This issue comes when you have woocommerce installed with some other folder name

    check your website make sure woocommerce is installed with the folder name woocommerce and not something else as pluing detect the woocommerce inside the folder woocommerce

    you should have folder structure like this wp-content\plugins\woocommerce

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    you can send us the website front end link and we can check the folder name of the folder where woocommerce is installed

    Thread Starter viji421

    (@viji421)

    when i active your plugin its show this error Advanced Free – Flat shipping WooCommerce:: Please Install and Activate WooComme?but already woocommerce is active

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Sir I alread told you the reason for this, by default woocommerce should be instaleld in folder woocommerce

    and our plugin being a dependent on woocommerce searches for Woocommerce in the folder woocommerce

    but in some case if you renamed the wooocommerce folder name to say woocommerce2 and then isntalled it in such case our plugin will not be able to find the woocommerce and will give this warning that woocommerce is not installed

    rectify the folder name back to woocommerce and it will be able to detect it

    Thread Starter viji421

    (@viji421)

    tysjewelers.com

    withplugins/ woocommerce_old

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    yes you have changed the folder name to woocommerce_old thats why it is not working

    you will have to get the folder name corrected to woocommerce then it will work

    Thread Starter viji421

    (@viji421)

    when i change its making issue with website

    Thread Starter viji421

    (@viji421)

    is there any way to change from plugin?

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    You can remove this given line from our pluing but then you wont be able to update our pluing in future as updating will add the line back

    remove this line in advanced-free-flat-shipping-woocommerce\extended-flat-rate-shipping-woocommerce.php (you will find this code in line 36 to 46

    apart from this we dont have any other solution

    if(!is_plugin_active( 'woocommerce/woocommerce.php')){
        function pisol_efrs_free_deal() {
            ?>
            <div class="error notice">
                <p><?php _e( 'Advanced Free - Flat shipping WooCommerce:: Please Install and Activate WooCommerce plugin, without that this plugin cant work', 'advanced-free-flat-shipping-woocommerce' ); ?></p>
            </div>
            <?php
        }
        add_action( 'admin_notices', 'pisol_efrs_free_deal' );
        return;
    }
    Thread Starter viji421

    (@viji421)

    i remove now this error

    Fatal error: Uncaught Error: Call to undefined function WC() in /home/tysjewel/public_html/wp-content/plugins/advanced-free-flat-shipping-woocommerce/public/class-disable-shipping-method-cache.php:9 Stack trace: #0 /home/tysjewel/public_html/wp-includes/class-wp-hook.php(308): pisol_efrs_disable_shipping_method_cache->clear_wc_shipping_rates_cache(”) #1 /home/tysjewel/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #2 /home/tysjewel/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/tysjewel/public_html/wp-settings.php(645): do_action(‘wp_loaded’) #4 /home/tysjewel/public_html/wp-config.php(91): require_once(‘/home/tysjewel/…’) #5 /home/tysjewel/public_html/wp-load.php(50): require_once(‘/home/tysjewel/…’) #6 /home/tysjewel/public_html/wp-admin/admin.php(34): require_once(‘/home/tysjewel/…’) #7 /home/tysjewel/public_html/wp-admin/edit.php(10): require_once(‘/home/tysjewel/…’) #8 {main} thrown in?/home/tysjewel/public_html/wp-content/plugins/advanced-free-flat-shipping-woocommerce/public/class-disable-shipping-method-cache.php?on line?9

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Make sure you are using the latest version of woocommerce

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    function clear_wc_shipping_rates_cache(){
            if(!function_exists('WC') || !isset(WC()->cart)) return;
            
            if ( !WC()->customer ) return; // this allows it to work with woocommerce point of sales plugin
            
            $packages = WC()->cart->get_shipping_packages();
    
            foreach ($packages as $key => $value) {
                $shipping_session = "shipping_for_package_$key";
    
                unset(WC()->session->$shipping_session);
            }
            
       }
    

    advanced-free-flat-shipping-woocommerce\public\class-disable-shipping-method-cache.php (in this file on like 9 change it like this )

    if(!function_exists(‘WC’) || !isset(WC()->cart)) return;

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    if your site is down then you can dirctly rename our plugin folder or delete it from your site that will get the site up and running

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Advanced Free – Flat shipping WooCommerce:: Please Install and Activate WooComme’ is closed to new replies.