Skip Navigation

[Resuelto] Cannot reuse view name, even though deleted permanently

This support ticket is created hace 2 años, 10 meses. There's a good chance that you are reading advice that it now obsolete.

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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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

Supporter timezone: America/Jamaica (GMT-05:00)

Este tema contiene 9 respuestas, tiene 3 mensajes.

Última actualización por Zayne hace 2 años, 10 meses.

Asistido por: Shane.

Autor
Mensajes
#2276257
Screenshot 2022-01-26 at 14.53.59.png

I am trying to reuse a view name. I created a view on a page, but it was the incorrect page. So I deleted the view permanently. I then tried to create a new view on another page, with the same name as the deleted view. But I get a message that there is already a view with this name.

I have turned off all caching and force reloaded the page, but this message still occurs.

#2276305

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

"I deleted the view permanently"

How did you do that?

Do you have the legacy UI enabled, so that you can see a list of Views at Toolset > Views?

From there you can first trash a View, then (from the trash) permanently delete it.

Checking that now on my own site I was able to create a new View with the same name without problem.

#2276341

Hi Nigel. Yes, I can see the views still. I recently switched from using the Views plugin to using the blocks plugin so that I can move across (bit by bit) to the new format. In fact, this may be the issue. Let me switch back to the views plugin and see if I still have the same issue.

#2276369

I've switched back to the Views plugin and I'm still having the issue.

#2276439

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Zayne,

As Nigel mentioned you view may not actually be deleted.

If you go to Toolset -> Views and check the trash, does your view still exist here?

Also it should be noted that Toolset Views and Toolset Blocks are the same plugins so no need to deactivate/activate one or the other as they both have the same features.

However since you're using blocks then you will need to enable the classic editor.
If the classic view hasn't been enabled you can enable it by going to Toolset -> Settings and scrolling to Editing Experience. From there I recommend that you select " Show both the legacy and Blocks interface and let me choose which to use for each item I build".

This will allow you to have access to the classic editor as well as the block editor. From there refresh the page and go to Toolset -> Views.

From there please check if the trash still has your view in it.

Thanks,
Shane

#2276487

Hi Shane. I don't think I was clear enough in my first post - when I said 'deleted permanently', I meant that I had already gone into the trash and deleted it from there.

I also already have the setting you mentioned set accordingly.

Seems like this view is stuck in the ether. It's happened with 2 views so far.

#2276491

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Zayne,

Would you mind providing me with a copy of the site so that I can have a more detailed look at this one for you.

To provide the copy please have a look at our link below.
https://toolset.com/faq/provide-supporters-copy-site/

From there please let me know the name of the view that you've deleted.

Thanks,
Shane

#2278527

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Zayne,

Yes the credentials for the site would work as well.

Please let me know the exact name of the view that you're trying to re-create.

Thanks,
Shane

#2278761

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Zayne,

I managed to take a copy of your database and searched it for the view in question. I was able to find it in the database and you perhaps will need to delete it directly from the database.

You can log into your phpmyadmin and run the following query, however I would highly recommend performing a full backup of your website before doing this.

"DELETE FROM `wp_posts` WHERE `wp_posts`.`ID` = 12443"

This should resolve the issue.

Thanks,
Shane

#2279029

Thanks Shane. It's fixed now.

I think this may be because I'm having major performance issues with the site, where it's giving me loads of 500/503 errors. Could've caused the view delete to not go through properly.