Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Praveen a11n

    (@spraveenitpro)

    Automattic Happiness Engineer

    Hi @avinashk30

    Looks like your WP_debug is turned on causing background notices to get displayed, can you please turn it off like this and let us know?

    You can disable debugging and learn more about that here: https://www.ads-software.com/support/article/editing-wp-config-php/

    To do this:

    1. You will need to login to your site via FTP
    2. download the wp-config.php file, This file is located in the root of your WordPress file directory and contains your website’s base configuration details, such as database-connection information.
    3. duplicate this file to create a backup
    4. edit the below line of code as specified below
    5. save and re-upload this file to your site.

    Just in case anything went wrong, you would have a backup of the original file that you can re-upload if needed.

    Find this snippet with in the wp-config.php:

    
    define('WP_DEBUG', true);
    

    Replace that with the below snippet in your wp-config.php located within
    your WordPress Folder, this snippet would turn on the errors and error
    log for WordPress and help in debugging.

    
    // disable WP_DEBUG mode
    define('WP_DEBUG', false);
    
    

    Turning off debug logs is not actually a fix, it just hides the depreciation error. Is there an actual fix in the works?

    Plugin Support Chris M. – a11n

    (@csmcneill)

    Hi @avinashk30 and @kierrapalmer,

    This issue is a bug with how Square for WooCommerce interacts with version 6.1 of the WooCommerce plugin. Reverting to WooCommerce 6.0 has resolved this issue for other merchants.

    You can find the issue on our public GitHub repository here: https://github.com/woocommerce/woocommerce/issues/31638

    You can find the files for version 6.0 of the WooCommerce plugin here: https://downloads.www.ads-software.com/plugin/woocommerce.6.0.0.zip

    You can find directions for how to revert to a previous version of WooCommerce here: https://woocommerce.com/document/installing-uninstalling-woocommerce/#reverting-to-a-previous-version-of-woocommerce

    I hope this helps!

    Thread Starter avinashk30

    (@avinashk30)

    @csmcneill Can I not downgrade to WooCommerce 6.0 and the plugin still be functional? Everything seems to be working fine on the website. I just want to make sure if downgrading is an absolute necessity.

    Plugin Support Brad P. a11n

    (@snaacks)

    Hi @avinashk30

    The suggestion to downgrade is offered as a workaround to remove the unexpected errors you’re receiving with the current version of WooCommerce and Square. This is not required of you but is something we suggest when dealing with this specific issue. If you’re okay with how the site is behaving currently, not having any issues processing payments, and you wish to continue as is that is completely up to you.

    Regardless of whether or not you choose to downgrade, I do suggest keeping an eye on the GitHub issue for any updates:

    https://github.com/woocommerce/woocommerce/issues/31638

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin giving error’ is closed to new replies.