: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* @copyright Copyright (c) 2015, Freemius, Inc.
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
if ( ! defined( 'ABSPATH' ) ) {
$license_id = $VARS['license_id'];
<script type="text/javascript">
var prepareLicenseActivationDialog = function () {
var $dialog = $('.fs-modal-license-activation');
// Trigger the license activation dialog box.
$($('.activate-license-trigger')[0]).click();
// setTimeout(function(){
$dialog.find('select.fs-licenses option[data-id=<?php echo $license_id ?>]')
if ($('.fs-modal-license-activation').length > 0) {
prepareLicenseActivationDialog();
$('body').on('licenseActivationLoaded', function () {
prepareLicenseActivationDialog();