Support » Plugin: WooCommerce Shipping Label » Conflict found

  • Resolved cfm168

    (@cfm168)


    Hello,

    I found it causes other plugin setting page mess up. Can you help?
    Thanks in advance!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author webtoffee

    (@webtoffee)

    Hi @cfm168,

    Please share a screenshot depicting the issue and also share exactly which plugin settings is having the issue when ours is active.

    cfm168

    (@cfm168)

    Hi webtoffee (@webtoffee),

    Thanks for prompt response.

    You can see the red mart indicating mess: https://prnt.sc/u0s44g
    Deactivate your plugin, the page is back to normal: https://prnt.sc/u0s63z
    Plugin name and setting are showed in the screenshot. Luckily Functionality is not affected thought.

    Please help. Thanks!

    Plugin Author webtoffee

    (@webtoffee)

    Hi @cfm168,

    Please try adding below code snippet into your active theme’s functions.php

    add_action('admin_footer', 'wt_pklist_dequeue_wc_script' );
    function wt_pklist_dequeue_wc_script()
    {
    	if(isset($_GET['page']) && $_GET['page']=='wpc-manage-settings')
    	{
    		wp_deregister_script('wc-enhanced-select');
    		wp_dequeue_script('wc-enhanced-select');	
    	}    
    }

    Hi @webtoffee,

    This code is not working and causing critical to the site inaccessible.

    Plugin Author webtoffee

    (@webtoffee)

    Hi @cfm168,

    Please try below code:

    add_action( 'admin_print_styles', 'wt_pklist_dequeue_wc_script',11);
    function wt_pklist_dequeue_wc_script()
    {
    	if(isset($_GET['page']) && $_GET['page']=='wpc-manage-settings')
    	{
    		wp_deregister_script('wc-enhanced-select');
    		wp_dequeue_script('wc-enhanced-select');	
    	}    
    }

    @webtoffee,

    Sorry this code still not working. The site open up with following warning:
    —————————————————-
    There has been a critical error on your website.

    Learn more about debugging in WordPress.

    Debugging in WordPress


    —————————————————-

    Plugin Author webtoffee

    (@webtoffee)

    Hi @cfm168,

    Please share the critical error that you received in your admin email.

    I don’t see the critical error email. Only that notice on website page. Is it possible change the code only on the plugin?

    Plugin Author webtoffee

    (@webtoffee)

    Hi @cfm168,

    Please check the error in your Woocommerce fatal error logs under Woocommerce > Status > Log.

    Fatal error logs:

    2020-08-22T18:39:38+00:00 CRITICAL syntax error, unexpected ‘&’ in /home/cho/mysite.com/wp-content/themes/twentyeleven-child/functions.php on line 97

    2020-08-24T18:05:38+00:00 CRITICAL syntax error, unexpected ‘&’ in /home/cho/mysite.com/wp-content/themes/twentyeleven-child/functions.php on line 124

    Plugin Author webtoffee

    (@webtoffee)

    Hi @cfm168,

    Please share your functions.php via this form.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.