Undefined constant WPLANG error showing
-
Hello,
Hoping to get your plugin working properly on my site before upgrading away from ZenCommerce. And if so, I’ll send a few $ your way, as the plugin looks promising. ??
Anyway, upon enabling PP-for-WC, I get the following error:
Notice: Use of undefined constant WPLANG – assumed ‘WPLANG’ in [ … ] /paypal-for-woocommerce/classes/wc-gateway-paypal-express-angelleye.php on line 1934
The line of code referred to is:
$button_locale_code = defined(WPLANG) && WPLANG != '' ? WPLANG : 'en_US';
Sometimes, it’s line 491, containing the same line of code.
Development site:
https://practicalpsychologypress.com/bookstore/ (it will be moved to the root level after it is working properly)Curiously, on my local install, I’m not having the issue.
I’m using the most current version of everything, disabled all other non essential plugins (all but WooCommerce, of course), tested it using the default 2014 theme. My child theme has not yet been altered in any way.
What should I do??? I don’t know PHP well enough to figure this out on my own.
Thanks… Oh, also have another question I’ll post in a different topic. Thx.
- The topic ‘Undefined constant WPLANG error showing’ is closed to new replies.