• Hi,

    I just downloaded and installed this plugin.
    When activating it, I had an error message and in the debug.log :
    [09-Jan-2023 14:34:12 UTC] WordPress database error Table ‘***********.gmp_markers’ doesn’t exist for query SELECT id, marker_group_id FROM gmp_markers made by activate_plugin, do_action(‘activate_google-maps-easy/gmp.php’), WP_Hook->do_action, WP_Hook->apply_filters, utilsGmp::activatePlugin, installerGmp::init

    I assume that {$wpdb->prefix} is missing in
    \google-maps-easy\classes\installer.php on line 385

    $markersData = $wpdb->get_results(“SELECT id, marker_group_id FROM {$wpdb->prefix}gmp_markers”, ARRAY_A);

    After having made this change, I did not get any error. (Yet, I’m not an excellent dev…).

    Hope it can help.
    Regards.

  • The topic ‘Error while activating plugin’ is closed to new replies.