Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Store Slug* with Hyphen | vendor-name breakes
- This topic has 12 replies, 2 voices, and was last updated 5 years, 10 months ago by
wwsAdmin.
- AuthorPosts
- April 21, 2019 at 2:36 pm #58871
wwsAdmin
ParticipantHello team,
When ever we pass hyphen in Store Slug* like : abc-xyz, mystore-link.
It throws error `Uncaught SyntaxError: Unexpected token { in JSON at position 57
at JSON.parse (<anonymous>)
at Function.n.parseJSON (jquery.js:4)
at Function.a.parseJSON (jquery-migrate.min.js:2)
at Object.success (wcfm-script-vendors-manage.js:155)
at i (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at y (jquery.js:4)
at XMLHttpRequest.c (jquery.js:4)`Something is breaking. For vendor, store get created but doesn’t work.
This is happening from recent update. Kindly Look.Thanks
- April 24, 2019 at 8:25 am #59124
WCFM Forum
MemberHI,
Well, there is no restriction from WCFM Marketplace – https://ibb.co/Q6GkJhg
Between, are you using “wcfm-” in slug? If so, then do not use this, this is restricted keyword.
Thank You
- April 26, 2019 at 3:34 am #59491
wwsAdmin
ParticipantHI,
no am not using wcfm.
Hyphen issue is happening with recent last 2 weeks. earlier also we created with hyphen those are working super fine.
but not recently created.thanks
- April 27, 2019 at 9:00 am #59640
WCFM Forum
MemberHI,
Well, WCFM has no restriction over store slug “hyphen”
May be some other plugin if your site causing this.
In our demo we have all latest plugins and store url generated using hyphen, no issues – http://wcfmmp.wcfmdemos.com/store/demo-store/
Thank You
- April 27, 2019 at 2:57 pm #59678
wwsAdmin
ParticipantHi,
yes untill 2-3 weeks back, store which were created are working fine.
In this 2-3 weeks, whatever store we created in that this issue is happeing.Thanks
- April 27, 2019 at 5:02 pm #59701
WCFM Forum
MemberHi,
You are not even able to set slug with hyphen after creating store from setting panel?
How you are creating store?
Thank You
- April 27, 2019 at 7:35 pm #59718
wwsAdmin
ParticipantHi,
Store is getting created via vendor registration panel.
during registration he is able to give slug and get it proper but when we try to access slug, nothing comes blank page. (similar kind of behaviour can be seen if we disable vendor and access it url)When we try to set from admin panel some error is throw which i posted.
thanks
- April 29, 2019 at 6:43 am #59823
WCFM Forum
MemberHi,
DO you have any such store URL right now, then please give me this URL.
Thank You
- April 29, 2019 at 7:44 pm #60002
wwsAdmin
ParticipantThis reply has been marked as private. - May 1, 2019 at 2:29 pm #60221
WCFM Forum
MemberHI,
OK, so those are disable vendor.
Well, disable vendor store page does not work.
But, this should 404 page like this – https://ibb.co/k0zzn5m
Is your theme does not have 404 template support?
Thank You
- May 1, 2019 at 5:08 pm #60258
wwsAdmin
ParticipantThis reply has been marked as private. - May 2, 2019 at 9:29 am #60315
WCFM Forum
MemberHI,
Please check at wp-admin -> WooCommerce -> Status -> Logs -> fatal_erros log -> is any error generated when you are browsing such URLs?
Also keep ON WP_DEBUG from wp-config.php
Thank You
- May 2, 2019 at 9:15 pm #60457
wwsAdmin
ParticipantHI,
WP DEBUG is on still NO message on screen,
No fatal log generated while running such url
Thanks
- AuthorPosts
- The topic ‘Store Slug* with Hyphen | vendor-name breakes’ is closed to new replies.