Home › Forums › WC Vendors Pro Support › License Activation System Has Been Disabled › Reply To: License Activation System Has Been Disabled
May 18, 2017 at 4:29 am
#65502
Keymaster
Hello,
Looks like the code is functioning when it shouldn’t for everyone else. There is a line in
includes/lib/class-wc-software-client.php line 198
It currently reads
if ( in_array( $_SERVER[ ‘REMOTE_ADDR’ ], $whitelist ) ){
change it to
if ( in_array( $_SERVER[ ‘SERVER_ADDR’ ], $whitelist ) ){
and see how you go.
If not cloudways is reporting your server host name in php some funky way. Please report back and let me know if that change fixed the issue.
cheers,
Jamie.