= 5.3 - needed for namespace and anonymous functions * 2) DOMDocument, increasingly used throughout the plugin * * The following checks will cause the script to return rather than loading legacy-core.php, * which would cause syntax errors in case of 1) and fatal errors in case of 2) * */ if(!defined('ABSPATH')) exit; // NB: Removed - plugin class was being initialised twice previously. This should no longer be necessary // if(defined('WPGMZA_FILE')) // return; // NB: For some reason, the plugin activation process executes this file twice. Don't let it. define('WPGMZA_FILE', __FILE__); require_once(plugin_dir_path(__FILE__) . 'constants.php'); if(!function_exists('wpgmza_show_php_version_error')) { function wpgmza_show_php_version_error() { ?>

WP Go Maps: This plugin does not support PHP version 5.2 or below. Please use your cPanel or contact your host to switch version.', 'wp-google-maps'); ?>

WP Go Maps: This plugin uses the DOMDocument class, which is unavailable on this server. Please contact your host to request they enable this library.', 'wp-google-maps'); ?>

WP Go Maps: This plugin requires the WordPress REST API, which does not appear to be present on this installation. Please update WordPress to version 4.7 or above.', 'wp-google-maps'); ?>

update your PRO version to the latest version (8.*).', 'wp-google-maps'),'update-core.php'); ?>



here.', 'wp-google-maps'),'https://www.wpgmaps.com/get-updated-version/'); ?>

 


-

update your PRO version to the latest version (9.*).', 'wp-google-maps'),'update-core.php'); ?>



here.', 'wp-google-maps'),'https://www.wpgmaps.com/get-updated-version/'); ?>


 


developer_mode) && $globalSettings->developer_mode == true; } } if(!function_exists('wpgmza_show_php8_incompatibility_error')) { function wpgmza_show_php8_incompatibility_error() { ?>

WP Go Maps - Error Found

=')){ add_action('admin_notices', 'wpgmza_show_php8_incompatibility_error'); return; }*/ if(wpgmza_preload_is_in_developer_mode()) { require_once(plugin_dir_path(__FILE__) . 'legacy-core.php'); }else{ try{ require_once(plugin_dir_path(__FILE__) . 'legacy-core.php'); }catch(Exception $e) { add_action('admin_notices', function() use ($e) { ?>

: getMessage(); ?>