It worked. Strange but on one server I didn't have it during the upgrade and the other got this error.delete the file wp-content/themes/woodmart/inc/classes/License.php through cpanel.
Now replace it with woodmart 5.3.6 licence file.
I will attach the file for you here. Unzip and use it
Fortunately, it was quickly resolved. Thank you.