Skip Navigation

[Resolved] Unable to activate Toolset Blocks plugin

This support ticket is created 4 years, 11 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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 4 years, 11 months ago.

Assisted by: Minesh.

Author
Posts
#1414633

I am trying to:

upgrade an existing installation (hidden link) to use the latest versions of Toolset blocks and Toolset types. I was using Toolset Types 3.3.7 and Toolset Views 3.0-b2.

I am able to install and activate the latest version of toolset types 3.3.8.
I am able to install the latest version of Toolset Blocks 1.0.1 but when I activate it, I get: There has been a critical error on your website. Please check your site admin email inbox for instructions.

I have to rename the folder in the plugins folder to get my site to work again.

I wanted to test if the issue is related to the fact that I have been using the beta version of the plugin for quite some time now.
So I installed a new fresh installation of WordPress, Akismet plugin, types 3.3.8 and Block 1.0.1 and I get the same error.
I am unable to activate the toolset blocks plugin.

Link to a page where the issue can be seen:
hidden link
This is a test site with a clean WP install, with Akismet, toolset types 3.3.8 and toolset Blocks 1.0.1. The error you see occurs after the activation of the blocks plugin.

I expected to see:
An activated plugin

Instead, I got:
A WP install which is unusable.

My Hosting uses PHP 5.6.
I can upgrade this to the latest version, but when I do this, my old site (not WordPress) breaks completely. I am trying to completely redesign and recreate this old website using WP and Toolset. Because of this, I can only change the PHP version after I have finished creating the new site. This creates a chicken and egg problem. From the requirements, I see that PHP 5.6 is supported.

DEBUG information below is from hidden link with the plugin folder for toolset blocks renamed.

#1414705

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I just checked with my local test install but with PHP 7.2 and I am not able to reproduce the issue. I can activate the Toolset Blocks plugin without any issue.

In order to troubleshoot this issue further - do you see anything with your server's error log fine?

1)
Could you please activate WP_DEBUG from the wp-config.php file and send me possible errors for review.

2)
Then add the following lines of code, just to the next line of define( 'WP_DEBUG', true);

 ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');

Try to activate the Toolset blocks plugin again and If any server-side errors are thrown, this will create an error_log.txt file in your site's root directory. Please send me the possible errors to review.

More info:
=> https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#php-debugging

I have set the next reply to private which means only you and I have access to it.

#1414861

Hi,

I tried using the explanation above to get you the debug info but this did not work.
I also contacted my hosting to help and they recommended switching to the latest PHP version.
When we switched to the latest version, the blocks plugin was able to activate without a problem.

I think I will close this ticket because that is ultimately the solution. I do however recommend changing your documentation about the minimum requirements as PHP 5.6 is no longer enough for the block plugin.

Best,
Kenny

#1415747

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Actually, I asked one of my colleagues to check if they see any issue with PHP 5.6 but Toolset blocks plugin successfully installed and activated with PHP 5.6 and that is why server logs were really important for us so we can troubleshoot further. If we will get more reports and if we able to locate anything we will for sure update our requirement document accordingly. Thank you for your patient and co-operation.

However, we always recommended that clients should run their sites with the latest software version. Glad to know that once you update the latest PHP version it helps you to resolve your issue.