Skip Navigation

[Resolved] Views no longer working with selecting post type

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 6 replies, has 2 voices.

Last updated by Minesh 1 year, 2 months ago.

Assisted by: Minesh.

Author
Posts
#2651971

I have a site that has been in development for over a year (clients, I tell ya). I started back up to complete the site and my Views stopped loading. I tried to find out what was going on when I saw that none of my Views (3 of them) no longer have the CPT selected. I tried to select the CPT but I get an error. I am unable to re-select it. I do not know why they were de-selected in the first place since it was working fine for a while.

I have made a screen recording of the issue:

hidden link

Please advise.

Thanks!

#2652139

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

That is really strange.

- Do you see any console error when you try to select the post type for your view?
- Have you added any third-party plugin or change the theme?

Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?
- Do you able to spot any conflict with plugins you are using or theme?

If no:

I will require admin access details and problem URL of your view.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2652453

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I see you have installed User Role Editor plugin. When I try to assign the post type as view source it throws the following error:

{type: "capability", message: "You do not have permissions for that."}

It seems somehow all the roles and capabilities are removed or somehow not working as expected and broken.

I suggest to create a brand new test install and import the views you created to the new test site.

You can export the views and content templates you created using module manager plugin:
- https://toolset.com/documentation/legacy-features/export-import/using-toolset-module-manager/

#2652883

Hello.

Where are you seeing the error? I cannot seem to replicate it via viewing source while selecting the post type.

Have you tried to activate the role editor plugin? It is disabled for trouble shooting. Please activate user role editor and try again and let me know if you still see the issue.

Thank you!

#2653263

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Where are you seeing the error? I cannot seem to replicate it via viewing source while selecting the post type.
===>
The error which I shared you can see on network tab of your browser for the ajax request.

I do not see such issue with fresh install, as shared somehow your settings are corrupted.

Here is a sandbox site and you can auto-login to it using the following link:
- hidden link

I installed and activated the "User role Editor" plugin:
- hidden link

I created a new view and I can assign the post type without any issues:
- hidden link

#2654345

Ok please give me a few days to trouble shoot further and report back.

Thank you.

#2654453

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Ok fine - thank you. This is unusual situation as there is no other user reported such issue yet. This must be due to some action due to that the capabilities are modified somehow that is unknown to you.