Hello.
Its known issue. We will fix it in next update.
In the actual version, you are need to make this fix.
Please open this file ../booking/wpdev-booking.php
then find this code:
if (!defined('WP_CONTENT_DIR')) define('WP_CONTENT_DIR', ABSPATH . 'wp-content');
if (!defined('WP_CONTENT_URL')) define('WP_CONTENT_URL', $wpdev_bk_my_site_url . '/wp-content');
if (!defined('WP_PLUGIN_DIR')) define('WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins');
if (!defined('WP_PLUGIN_URL')) define('WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins');
if (!defined('WPDEV_BK_PLUGIN_FILENAME')) define('WPDEV_BK_PLUGIN_FILENAME', basename( __FILE__ ) );
if (!defined('WPDEV_BK_PLUGIN_DIRNAME')) define('WPDEV_BK_PLUGIN_DIRNAME', plugin_basename(dirname(__FILE__)) );
if (!defined('WPDEV_BK_PLUGIN_DIR')) define('WPDEV_BK_PLUGIN_DIR', WP_PLUGIN_DIR.'/'.WPDEV_BK_PLUGIN_DIRNAME );
if (!defined('WPDEV_BK_PLUGIN_URL')) define('WPDEV_BK_PLUGIN_URL', $wpdev_bk_my_site_url.'/wp-content/plugins/'.WPDEV_BK_PLUGIN_DIRNAME );
and replace it to this code:
if (!defined('WP_CONTENT_DIR')) define('WP_CONTENT_DIR', ABSPATH . 'wp-content'); // Z:\home\server.com\www/wp-content
if (!defined('WP_PLUGIN_DIR')) define('WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins'); // Z:\home\server.com\www/wp-content/plugins
if (!defined('WPDEV_BK_PLUGIN_FILENAME')) define('WPDEV_BK_PLUGIN_FILENAME', basename( __FILE__ ) ); // menu-compouser.php
if (!defined('WPDEV_BK_PLUGIN_DIRNAME')) define('WPDEV_BK_PLUGIN_DIRNAME', plugin_basename(dirname(__FILE__)) ); // menu-compouser
if (!defined('WPDEV_BK_PLUGIN_DIR')) define('WPDEV_BK_PLUGIN_DIR', WP_PLUGIN_DIR.'/'.WPDEV_BK_PLUGIN_DIRNAME ); // Z:\home\server.com\www/wp-content/plugins/menu-compouser
if (!defined('WP_CONTENT_URL')) define('WP_CONTENT_URL', content_url() ); // https://server.com/wp-content
if (!defined('WP_PLUGIN_URL')) define('WP_PLUGIN_URL', plugins_url() ); // https://server.com/wp-content/plugins
if (!defined('WPDEV_BK_PLUGIN_URL')) define('WPDEV_BK_PLUGIN_URL', plugins_url( '', WPDEV_BK_FILE ) ); // https://server.com/wp-content/plugins/menu-compouser
Also please open this file ../booking/lib/wpdev-booking-class.php
then find this code:
var wpdev_bk_plugin_url = '<?php
if (WP_BK_SSL) { // Activate SSL
$bk_url_for_js = site_url( '/wp-content/plugins/'.WPDEV_BK_PLUGIN_DIRNAME, 'https' );
$my_parsed_url = parse_url($bk_url_for_js);
echo $my_parsed_url['scheme'] . '://'. $_SERVER['SERVER_NAME'] . $my_parsed_url['path'] ;
} else {
echo site_url( '/wp-content/plugins/'.WPDEV_BK_PLUGIN_DIRNAME );
}
?>';
and replace it to this code:
var wpdev_bk_plugin_url = '<?php
echo plugins_url( '' , WPDEV_BK_FILE );
?>';