Skip Navigation

[Resolved] Toolset Blocks throws 500 error

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
- 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/Karachi (GMT+05:00)

This topic contains 7 replies, has 2 voices.

Last updated by Waqar 1 year, 3 months ago.

Assisted by: Waqar.

Author
Posts
#2657331

I am trying to: activate Blocks

Link to a page where the issue can be seen: cannot show you, the plugin kills the site

I expected to see: it working

Instead, I got: [Thu Oct 26 09:48:47.350119 2023] [php:error] [pid 1299] [client 10.10.220.2:60102] PHP Fatal error: Uncaught Error: Class "WPV_Api_Handler_Is_views_lite" not found in /var/www/html/wp-content/plugins/toolset-blocks/application/controllers/api.php:207\nStack trace:\n#0 /var/www/html/wp-includes/class-wp-hook.php(310): WPV_Api->__call()\n#1 /var/www/html/wp-includes/plugin.php(205): WP_Hook->apply_filters()\n#2 /var/www/html/wp-content/plugins/toolset-blocks/inc/wpv-plugin.class.php(963): apply_filters()\n#3 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Views_plugin->wpv_register_assets()\n#4 /var/www/html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()\n#5 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#6 /var/www/html/wp-settings.php(632): do_action()\n#7 /var/www/html/wp-config.php(101): require_once('...')\n#8 /var/www/html/wp-load.php(50): require_once('...')\n#9 /var/www/html/wp-blog-header.php(13): require_once('...')\n#10 /var/www/html/index.php(17): require('...')\n#11 {main}\n thrown in /var/www/html/wp-content/plugins/toolset-blocks/application/controllers/api.php on line 207, referer: hidden link

#2657585

Hi,

Thank you for contacting us and I'd be happy to assist.

From the error, it seems one or more plugin files are either missing or corrupt.

Can you please delete the Toolset Blocks plugin and then install it again?

I hope this helps and let me know how it goes.

regards,
Waqar

#2657727

I have removed the entire folder. Downloaded the ZIP manually, and failed again. Removed it, and had your installed download and install it. Same problem. Does the "views" plugin need to be installed? My account doesn't provide access to it, so maybe I'm misunderstanding that. Regardless, no: not a bad download.

#2658473

Thank you for sharing this update.

You don't need to have the Toolset Views plugin installed.

During testing on my website, I couldn't reproduce this error, so something specific to your website is involved. Can you please share temporary admin login details, in reply to this message? I'll also need your permission to download a clone/snapshot of the website, in case it needs to be investigated on a different server.

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

#2658501

My client (owner of the site) will not allow third party access for security reasons. Regardless, it's a vanilla, up to date LAMP stack running on a current version of Ubuntu. We can and do painlessly use any number of plugins and themes without trouble. I can't imagine we're the only people installing this plugin and the server reporting basic code errors of the type shown. Unless you have any other advice, I guess we'll have to ask for a refund and find another plugin that functions. Thanks.

#2658729

I understand if the access details can't be shared.

Can you please check your server's PHP configuration and see if the 'mbstring' extension is enabled? If not, you can consult your hosting support team to enable it.
( ref: hidden link )

Note: This extension and other server requirements for Toolset plugins are listed at:
https://toolset.com/toolset-requirements/

This should fix this error and let me know how it goes.

#2658797

That almost did it. MBSTRING was already on the server, but needed php8.0-mbstring for it to work.

Had to turn to a custom repository (launchpad.net/~ondrej/+archive/ubuntu/php), so you might want to add that to your documentation.

#2659059

Thanks for the update and glad that it is sorted now.

I'll pass on this feedback internally and you are welcome to mark this ticket as resolved.

For a new question or concern, feel free to start a new ticket.