Home › Toolset Professional Support › [Waiting for user feedback] Error Message “The toolset-views plugin has encountered an error” on archives
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.
This topic contains 1 reply, has 1 voice.
Last updated by - 1 day, 11 hours ago.
Assisted by: Christopher Amirian.
I am trying to: Edit archive pages in the admin interface
Link to a page where the issue can be seen: it's affecting the admin interface on library.unc.edu and our (private) test server at www-dev.lib.unc.edu
I expected to see: no error messages related to a plugin we're not using- we have Types, Blocks, and Forms installed, but not Views.
Instead, I got: A yellow banner displaying [The "toolset-views" plugin has encountered an error and cannot be rendered.]
We think that it might be related to a reusable pagination block in the WordPress Archive Output called "1/26 Pagination for Archive Templates". Attempting to edit the original of that block results in an unexpected error:
hidden link
hidden link
https://www-dev.lib.unc.edu/wp-includes/js/dist/data.min.js?ver=14a216e0932d72c22976:3:19949
t.a<https://www-dev.lib.unc.edu/wp-content/plugins/toolset-blocks/public/js/wordpressArchive.js?ver=3.6.29:1:68586
i<https://www-dev.lib.unc.edu/wp-includes/js/dist/data.min.js?ver=14a216e0932d72c22976:3:25173
A/g<https://www-dev.lib.unc.edu/wp-includes/js/dist/data.min.js?ver=14a216e0932d72c22976:3:24306
hidden link
https://www-dev.lib.unc.edu/wp-includes/js/dist/data.min.js?ver=14a216e0932d72c22976:3:19949
hidden link
https://www-dev.lib.unc.edu/wp-includes/js/dist/data.min.js?ver=14a216e0932d72c22976:3:24506
hidden link
hidden link
https://www-dev.lib.unc.edu/wp-includes/js/dist/data.min.js?ver=14a216e0932d72c22976:3:25164
hidden link
hidden link
hidden link
hidden link
hidden link
hidden link
hidden link
hidden link
hidden link
ia/<https://www-dev.lib.unc.edu/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:184:289
Hi,
Welcome to Toolset Support. Would you please create a staging copy of the website and perform the tests below?
- Create a sample WordPress Archive as a test and check whether the same issue occurs there.
- Test with a minimal setup:
- IMPORTANT STEP! Create a backup of your website. An even better approach would be to test this on a copy/staging version of the website to avoid disrupting the live website.
- Switch to a default theme such as "Twenty Twenty" by going to "WordPress Dashboard > Appearance > Themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except:
- Toolset Blocks (or Views, as both use the same codebase)
- Toolset Types
- Check whether you can still reproduce the issue.
- If not, reactivate your plugins one by one and check for the issue each time to identify the plugin causing the problem.
If the issue persists, try duplicating the WordPress Archive and check whether the issue still occurs. You can copy and paste the same code, but the purpose of this test is to create a new archive.
Please get back to us with the results.
Thanks.