New home › Forums › Pro Add-on › Troubleshooting › Can't create Category :(
Tagged: category
- This topic has 55 replies, 3 voices, and was last updated 3 years, 3 months ago by Steven.
-
AuthorPosts
-
April 11, 2017 at 9:00 am #26002IgiGiGiMemberThis reply has been marked as private.April 11, 2017 at 4:35 pm #26012IgiGiGiMemberThis reply has been marked as private.April 12, 2017 at 10:46 am #26039PerryModeratorThis reply has been marked as private.April 19, 2017 at 2:27 pm #26252PerryModerator
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
June 8, 2017 at 1:29 pm #27749paultranterMemberHi 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
June 8, 2017 at 3:12 pm #27750PerryModeratorHi 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
June 8, 2017 at 5:02 pm #27766paultranterMemberGreat Thanks Perry, I will try this. FYI, I installed both today for the first time.
Paul
June 8, 2017 at 5:24 pm #27771paultranterMemberI 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.
June 9, 2017 at 8:38 am #27803PerryModeratorThis reply has been marked as private.June 9, 2017 at 9:21 pm #27813conaniiMemberSame problems, any news how to solve? Or is there only an individual solution possible? THX!
June 12, 2017 at 9:27 am #27830PerryModeratorHi 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
June 26, 2017 at 12:04 pm #28136alokoMemberHi,
Im facing the same issue as well, I can create but they dont appear in the list as soon as I’ve created them.
June 26, 2017 at 12:06 pm #28137alokoMemberSorry this light sound stupid , does deactivate and reactivate might loose any data and markers ?
Thanks,August 1, 2017 at 6:29 pm #29106[email protected]MemberHi,
I have the same issue here, I desactivate / reactivate both plugin without success.
Thanks
Diane
August 1, 2017 at 6:30 pm #29107[email protected]MemberThis reply has been marked as private. -
AuthorPosts
- You must be logged in to reply to this topic.