php7.4 warning
-
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
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘php7.4 warning’ is closed to new replies.