Jump to content
a123

False zones

Recommended Posts

What is OSCOM_APP_PAYPAL_DP_ZONE?
 

Quote

PHP Notice:  Use of undefined constant OSCOM_APP_PAYPAL_DP_ZONE - assumed 'OSCOM_APP_PAYPAL_DP_ZONE' in /includes/modules/payment/braintree_cc.php on line 95
PHP Warning:  in_array() expects parameter 2 to be array, null given in /includes/modules/payment/braintree_cc.php on line 1277

Are there any hero who use this payment method?

Share this post


Link to post
Share on other sites
On ‎4‎/‎10‎/‎2019 at 7:07 AM, a123 said:

OSCOM_APP_PAYPAL_DP_ZONE

That is the name of an element in an object. In later versions of php, the names have to be declared before using them or notices like that occur. They are usually harmless and can be ignored. It is possible to fix them but you have to find where the object is created to fix it.

The warning could be a little more important but, in this case since it is a known good module, probably not. I assume the braintree_cc.php is a mistake since that file doesn't exists, at least not in my package.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×