I just purchased X-theme, converted it to Pro and when installing/activating the Envira Gallery plugin I get the following message: “No valid license key has been entered, so automatic updates for Envira Gallery have been turned off. Please click here to enter your license key and begin receiving automatic updates.”
I have been through the Support threads and found this code and entered it in the Pro-child theme functions file:
function x_envira_gallery_remove_license_functionality() {
if (is_admin() ) {
remove_action( ‘envira_gallery_admin_styles’, ‘x_envira_gallery_hide_key_box’ );
remove_action( ‘admin_print_scripts’, ‘x_envira_gallery_hide_license_errors’, 20 );
}
}
add_action(‘admin_init’, ‘x_envira_gallery_remove_license_functionality’);
This did not fix the problem. It seems like this issue has been around awhile with the X-theme so I am hoping the developers have come up with a solution. Clicking on the x to close the error message does not permanent remove it and is annoying.