Can't create Category :(

New home Forums Pro Add-on Troubleshooting Can't create Category :(

Tagged: 

This topic contains 52 replies, has 14 voices, and was last updated by  Perry 1 year, 2 months ago.

Viewing 15 posts - 16 through 30 (of 53 total)
  • Author
    Posts
  • #26002

    IgiGiGi
    Member
    This reply has been marked as private.
    #26012

    IgiGiGi
    Member
    This reply has been marked as private.
    #26039

    Perry
    Moderator
    This reply has been marked as private.
    #26252

    Perry
    Moderator

    Sorry it’s taken me some time to get to the bottom of this one, I wasn’t able to reproduce the problem at home,

    I got to the bottom of it in situ today and I have the solution

    Please open /wp-content/plugins/wp-google-maps-pro/wp-google-maps-pro_categories.php, and go down to line ~315

    Immediately after this line:

    if ( !isset( $_POST['parent_category'] ) ) { $cat_parent = 0; } else { $cat_parent = intval( sanitize_text_field( $_POST['parent_category'] ) );}

    Please add the following line:

    $wpdb->query("ALTER TABLE $wpgmza_tblname_categories ADD COLUMN parent int(11) DEFAULT 0");

    This should solve the problem for you

    If you need help doing this or don’t feel completely comfortable doing it yourself, please contact me and I’ll repair it for you!

    Thank you

    #27749

    paultranter
    Member

    Hi all, new here.
    Plugin is great, only I’m having issue creating a category too, is the issue that we already have custom categories on our theme?

    Plugin allows me to add the category, and I even get the success notification, but nothing appears in the list, even when I go in via Maps>Categories

    Cheers

    #27750

    Perry
    Moderator

    Hi Paul,

    This is a known issue when migrating from older versions caused by a missing column in the database, I found out today there is an easy solution, please de-activate and then re-activate both the Basic and Pro plugins, then you should be able to add a category

    If you have any further issues please don’t hesitate to get back to me!

    Kind regards

    #27766

    paultranter
    Member

    Great Thanks Perry, I will try this. FYI, I installed both today for the first time.

    Paul

    #27771

    paultranter
    Member

    I can confirm this worked for me.

    Note, when I installed Pro, I had disabled basic first (thinking it was a self contained pro version), I know, read the instructions!, but still, for those who install pro before basic, this may be the issue.

    Doing as Perry suggested above worked great.

    #27803

    Perry
    Moderator
    This reply has been marked as private.
    #27813

    conanii
    Member

    Same problems, any news how to solve? Or is there only an individual solution possible? THX!

    #27830

    Perry
    Moderator

    Hi Conanii,

    This problem is caused by a migration issue where in the “parent” column for the “categories” table is not properly created

    Please deactivate the plugin (both Basic and Pro if applicable) and reactivate. This will cause the column to be created and solve the issue

    If that doesn’t solve the issue please get back to me and I’ll resolve this for you personally

    Kind regards

    #28136

    aloko
    Member

    Hi,

    Im facing the same issue as well, I can create but they dont appear in the list as soon as I’ve created them.

    #28137

    aloko
    Member

    Sorry this light sound stupid , does deactivate and reactivate might loose any data and markers ?
    Thanks,

    #29106

    Hi,

    I have the same issue here, I desactivate / reactivate both plugin without success.

    Thanks

    Diane

    #29107
    This reply has been marked as private.
Viewing 15 posts - 16 through 30 (of 53 total)

You must be logged in to reply to this topic.