Skip Navigation

[Résolu] PHP Fatal error: Cannot redeclare class Toolset_Shortcode_Generator

This support ticket is created Il y a 5 années et 10 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

Marqué : 

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Luo Yang Il y a 5 années et 10 mois.

Assisté par: Luo Yang.

Auteur
Publications
#1186547

A similar issue is occurring on another of our sites, trying to update Toolset causes a fatal error. See Error Logs below:

[Fri Jan 18 03:36:15.207928 2019] [:error] [pid 13461] [client 82.208.100.5:19946] PHP Fatal error: Cannot redeclare class Toolset_Shortcode_Generator in /nas/content/live/anatomytrains1/wp-content/plugins/types/vendor/toolset/toolset-common/inc/toolset.shortcode.generator.class.php on line 33
[Fri Jan 18 03:36:19.059228 2019] [:error] [pid 13463] [client 180.150.86.186:55708] PHP Fatal error: Cannot redeclare class Toolset_Shortcode_Generator in /nas/content/live/anatomytrains1/wp-content/plugins/types/vendor/toolset/toolset-common/inc/toolset.shortcode.generator.class.php on line 33, referer: lien caché
[Fri Jan 18 03:36:34.705215 2019] [:error] [pid 13465] [client 54.36.148.133:20138] PHP Fatal error: Cannot redeclare class Toolset_Shortcode_Generator in /nas/content/live/anatomytrains1/wp-content/plugins/types/vendor/toolset/toolset-common/inc/toolset.shortcode.generator.class.php on line 33

#1186549

Hello,

The problem you mentioned above is abnormal, I suggest you check these:
1) You are using the latest version of Types plugin in your website, you can download it here:
https://toolset.com/account/downloads/
If you are using some old version of Types plugin, that will conduct some unexpected result, I suggest you remove the old version of Types plugin, and upload the latest version, then update Toolset plugins again

2) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2019, and test again