[Resolved] Fatal Error after updating Toolset Access
This thread is resolved. Here is a description of the problem and solution.
Problem: I am experiencing a fatal error after updating Toolset Access.
Fatal error: Cannot declare class Toolset_Shortcode_Generator, because the name is already in use in /path/to/wp-content/plugins/types/vendor/toolset/toolset-common/inc/toolset.shortcode.generator.class.php on line 31
Solution: Make sure to update all Toolset plugins to their latest versions. In this case, Access should be updated and activated after all other Toolset plugins are updated.
This support ticket is created 6 years, 7 months ago. 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.
I am trying to: Upgrade Toolset Access, CRED and Views
Link to a page where the issue can be seen: hidden link
I expected to see: An update and a running site
Instead, I got: The site is not responding and I have received a PHP Fatal Error:
Fatal error: Cannot declare class Toolset_Shortcode_Generator, because the name is already in use in /home/essind75/public_html/sportkote.com/wp-content/plugins/types/vendor/toolset/toolset-common/inc/toolset.shortcode.generator.class.php on line 31
I cannot Access WordPress Admin Panel to obtain a debug info
To keep this up to date. I used my backup from WordPress and deleted the plugins folder and reinstalled my plugins folder from 4 days ago. My site is back up but I have not updated Toolset access until I am aware the error is fixed.
Ok so I just noticed that in the WP password there is a y that is not supposed to be there both FTP and WP passwords are the same, and I just tried it out again.
I tried to find out why the FTP that I set up for you is not working but I could not. I am not able to give you the log in and password for the main FTP but I can have you so a remote into my computer and have you work on the site though a remote access session.
Hi, Shane is on holiday today and I have been asked to check on this ticket. I hope that's okay with you. I was able to log in to wp-admin using the updated credentials you provided, but the User does not seem to have permission to access the plugins page. Can you confirm that the User has admin privileges? I see this error:
I'm sorry I had an issue this morning where the site was down completely and the host had to reset. During the reset it changed the tech user from admin to subscriber I just put it back to admin
Okay thanks. I logged in and used the Duplicator plugin (already installed) to create a clone of the site. Then I installed that clone locally so I could run some tests.
- First I deactivated all plugins except Types.
- Then I updated to the latest version of CRED, then I updated to the latest version of Access.
- Finally I activated Views, then activated Access, then activated CRED.
I don't see any fatal errors on my local site, so could you please follow those same steps on your live site and let me know the results? If that works as expected, continue reactivating other plugins as needed.