• Resolved Mindas22

    (@mindas22)


    I am getting this warning on top of any page:
    Warning: Use of undefined constant WCCS_PATH - assumed 'WCCS_PATH' (this will throw an Error in a future version of PHP) in /var/www/html/wp-content/plugins/product-expiry-for-woocommerce/product-expiry-for-woocommerce.php on line 37

    this is the lines 36-38:

      function woope_load_plugin_textdomain(){
            load_plugin_textdomain( 'product-expiry-for-woocommerce', FALSE, basename( WCCS_PATH ) . '/languages/' );
        }

    PHP version used: PHP7.4

    • This topic was modified 3 years ago by Mindas22.
Viewing 1 replies (of 1 total)
  • Plugin Author webcodingplace

    (@webcodingplace)

    Hi, Thanks for reporting this error. It’s fixed and a new version is released.

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘php7.4 warning’ is closed to new replies.