Support » Plugin: SimpleMap Store Locator » Plugin not working after update

  • Resolved Tim Derouin

    (@tderouindesign)


    We have worked with premium support to have different map markers per category and the shortcode we were using was [simplemap taxonomy_field_type=’select’] which no longer works.

    If we try to access the SimpleMap options within the WordPress dashboard the page won’t load and displays this message: Invalid post type.

    I will submit this to premium support as well but figured I would try all support areas. Thank you for your time.

Viewing 6 replies - 1 through 6 (of 6 total)
  • In addition, the plugin was completely removed from our list of plugins in the WP dashboard with the message: The plugin simplemap/simplemap.php has been deactivated due to an error: Plugin file does not exist.

    I was able to restore the previous version of the plugin since I have a regular backup function in place but would prefer to update to your latest version ASAP.

    Thank you for your time!

    I had the same issue. The plugin requested updating, I ran the update, and the plugin failed.

    Although it reported the updated was successful, I went to the map page, and the map was gone, only the shortcode displayed:
    ———————————
    [simplemap hide_list=true show_categories_filter=false show_tags_filter=false]
    ———————————

    I checked out the plugins, and there was a message:
    ———————————
    The plugin simplemap/simplemap.php has been deactivated due to an error: Plugin file does not exist.
    ———————————

    I attempted to reinstall the plugin, but hit another wall:
    ———————————
    Unpacking the package…

    Installing the plugin…

    Destination folder already exists. /content/www/locations-ohio-aaa-com/production/html/wp-content/plugins/simplemap/

    Plugin install failed.
    ———————————

    I had to manually remove the plugin folder from the file system, then reinstall the plugin, which resolved the issue.

    Same here @ryanfm, I ended up moving the simplemap folder to outside the wp-content plugins folder and installed a fresh copy. Worked like a charm! However I did export all locations prior to doing so just in case! Since we have almost 400 total, it would have been devastating to lose all those entries!

    400 entries would have been ton of work to redo. I had the SAME concerns when I reran my install. Thankfully, all my locations were still there – those must be stored in the DB and not overwritten upon re-installation.

    Right, I believe if you actually delete the plugin from within the WordPress dashboard it warns that your locations will be removed as well but by simply renaming and/or moving the plugin folder the database remains unchanged.

    My only criticism is that the zip code field is marked as a number cell in the exported csv file. It sounds appropriate but here in Massachusetts the bulk of in not all of our zip codes being with 0 which the number cell removes by default.

    Thanks for weighing in with your success for updating the plugin Ryan. Always nice to see folks go out of their way to offer assistance on these support forums!

    I noticed the plugin was putting in street, city, and zip when it used to just show zip.
    I tried using [simplemap search_fields=labelbr_zip] and it breaks:

    Notice: Undefined index: sm_category in /Applications/MAMP/htdocs/mysite/wp-content/plugins/simplemap/classes/simplemap.php on line 2256
    
    Notice: Undefined index: sm_tag in /Applications/MAMP/htdocs/mysite/wp-content/plugins/simplemap/classes/simplemap.php on line 2257
    
    Notice: Undefined index: sm_category in /Applications/MAMP/htdocs/mysite/wp-content/plugins/simplemap/classes/simplemap.php on line 2256
    
    Notice: Undefined index: sm_tag in /Applications/MAMP/htdocs/mysite/wp-content/plugins/simplemap/classes/simplemap.php on line 2257

    My solution was to dig up an old version of the plugin and replace it. Hopefully this gets fixed soon!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Plugin not working after update’ is closed to new replies.