gutenberg-forms icon indicating copy to clipboard operation
gutenberg-forms copied to clipboard

Problems with browsing entries on multisite

Open pshemek opened this issue 4 years ago • 5 comments

Hello, is GF compatible with WPMU?

I cannot display entries submitted through the form and the console throws error 404 on REST API queries like: http://dev.local/index.php?rest_route=/wp/v2/cwp_gf_entries?page=1&per_page=10

pshemek avatar Aug 28 '20 11:08 pshemek

Hey @macemmek,

Thanks for reporting this issue. We will definitely look into this. 👍

ZafarKamal123 avatar Aug 28 '20 11:08 ZafarKamal123

Hey @macemmek,

I've tested this on WordPress Multisite and cannot replicate the error. Can you provide more information regarding this?

Thanks

ZafarKamal123 avatar Aug 28 '20 14:08 ZafarKamal123

Well, I try.

Stats are showing a proper number of entries.

However viewing: /wp-admin/edit.php?post_type=cwp_gf_entries causes permissions error:

Sorry, you are not allowed to edit posts in this post type.

I am logged-in super admin and things are happening on the root site of multisite.

Zrzut ekranu 2020-08-28 o 19 53 25

pshemek avatar Aug 28 '20 17:08 pshemek

Now I see it.

Permalinks structure. The REST API error occurs when I switch to non-pretty permalinks (with GET variables).

However that permission error persists on /wp-admin/edit.php?post_type=cwp_gf_entries

pshemek avatar Aug 28 '20 17:08 pshemek

Hi @macemmek

Thank you to report that. I can confirm this is a bug not only with multisite but in general. It doesn't work when you have the permalink set to "plain".

Will fix it asap.

Regards, Munir

munirkamal avatar Aug 31 '20 13:08 munirkamal

Fixed. Will be rolled out in the next release.

nikolaystrikhar avatar Jan 06 '23 19:01 nikolaystrikhar