Skip Navigation

[Resolved] when activating toolset blocks my site crash

This thread is resolved. Here is a description of the problem and solution.

Problem:
when activating toolset blocks my site crash

Solution:
It seems when you register the post type with only numeric value as post type slug this issue is happened.

You can find the proposed solution in this case with the following reply:

https://toolset.com/forums/topic/when-activating-toolset-blocks-my-site-crash/#post-1937821

Relevant Documentation:

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

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 10 replies, has 2 voices.

Last updated by francescoP-3 4 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#1934763

I am trying to: use plugin but when I activate it my site goes down

Link to a page where the issue can be seen: all pages

#1935025

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

That is strange. There must be some issue with your server settings or it can be anything other but to know more I will require bit more details.

You said when you install blocks, your site crash, do you see any errors with your server's error log?

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

If you do not know what needs to be done, I will require access details of your site.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

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

#1935215

this is error log:

[05-Feb-2021 14:11:16 UTC] PHP Fatal error: Uncaught InvalidArgumentException in /var/www/vhosts/pontedilegnosette.net/genenta.pontedilegnosette.net/wp-content/plugins/toolset-blocks____disatt/vendor/toolset/toolset-common/inc/autoloaded/post_type/from_types.php:345
Stack trace:
#0 /var/www/vhosts/pontedilegnosette.net/genenta.pontedilegnosette.net/wp-content/plugins/toolset-blocks____disatt/vendor/toolset/toolset-common/inc/autoloaded/post_type/repository.php(131): Toolset_Post_Type_From_Types->set_registered_post_type()
#1 /var/www/vhosts/pontedilegnosette.net/genenta.pontedilegnosette.net/wp-includes/class-wp-hook.php(287): Toolset_Post_Type_Repository->finish_loading_registered_post_types()
#2 /var/www/vhosts/pontedilegnosette.net/genenta.pontedilegnosette.net/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#3 /var/www/vhosts/pontedilegnosette.net/genenta.pontedilegnosette.net/wp-includes/plugin.php(484): WP_Hook->do_action()
#4 /var/www/vhosts/pontedilegnosette.net/genenta.pontedilegnosette.net/wp-settings.php(557): do_action()
#5 /va in /var/www/vhosts/pontedilegnosette.net/genenta.pontedilegnosette.net/wp-content/plugins/toolset-blocks____disatt/vendor/toolset/toolset-common/inc/autoloaded/post_type/from_types.php on line 345

#1935231

Minesh
Supporter

Languages: English (English )

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

There is something wrong here.

I suggest you delete the current Toolset plugins from your plugins directory using FTP and then download the Types plugin from your account's page:
=> https://toolset.com/account/downloads/

Then install the Types plugin:
=> https://toolset.com/faq/how-to-install-and-register-toolset/#installing-the-toolset-types-plugin

And - then, to install the other Toolset plugins, please try to follow the following guide:
=> https://toolset.com/faq/how-to-install-and-register-toolset/#automatic-installation-once-you-have-types-plugin-installed

#1935263

I have the same problem... 🙁

#1937609

Minesh
Supporter

Languages: English (English )

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

Really strange.

Can you please share admin and FTP access details so I can check whats going wrong with your setup.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

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

#1937797

Minesh
Supporter

Languages: English (English )

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

This is strange. On my test site I checked with Latest WordPress and Types 3.4.7 and try to install the Blocks 1.4 but I can not see the issue.

Can I take duplicator copy of your site that will allow me to troubleshoot the issue on my local server?

#1937821

Minesh
Supporter

Languages: English (English )

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

It seems to me I found the easy fix for the issue.

I see you registered the following post type with the slug 2020.
=> hidden link

I changed the slug to g2020 and I can see its working as expected. It seems to me that CPT registered using types having slug setup with only numeric values causes the issue (in your case the slug of CPT was 2020).

Can you please confirm it works at your end as well.

#1939735
Immagine.jpg

It seems working. I'll try thanks.
There is another problem I think: we get this message in top of pages: "The Toolset Views plugin is not enabled. Parts of the Divi Sensei Suit Toolset Add-On depend on this plugin and won't work." Why? Toolset Views (now called BLOCKS) is installed yet.. thanks

New threads created by Minesh and linked to this one are listed below:

https://toolset.com/forums/topic/split-when-activating-toolset-blocks-my-site-crash-view-alert-notice-issue/

#1940409

Minesh
Supporter

Languages: English (English )

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

That is another issue and I've split the ticket with your new issue. I'll follow up there with new ticket for your new question.

You are welcome to close this ticket and happy that at the end we found the solution for your issue.

#1940425

My issue is resolved now. Thank you!