Fix the issue of Sync Order Status button not working.
2. Description of change
The array_key_exists() was used to check whether the properties exists in the object or not. Use of array_key_exists() on objects is deprecated. So, it is being replaced by property_exists() method.
3. Quality assurance
Click on the Sync Order Status button. It should not show the following error.
1. Objective
Fix the issue of
Sync Order Status
button not working.2. Description of change
The
array_key_exists()
was used to check whether the properties exists in the object or not. Use ofarray_key_exists()
on objects is deprecated. So, it is being replaced byproperty_exists()
method.3. Quality assurance
Click on the
Sync Order Status
button. It should not show the following error.🔧 Environments: