Skip Navigation

[Resolved] Site crashes since using toolset

This support ticket is created 3 years, 1 month 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 17 replies, has 2 voices.

Last updated by maartenW-2 3 years ago.

Assisted by: Minesh.

Author
Posts
#2535209

Tell us what you are trying to do?
Since I have installed and am using toolset on my site (only blocks and types) the site crashes daily at least once, sometimes several times. I am using the most recent version of php. Memory set to 2000, php to 3000. This is a dedicated server with only this site.

Renaming the plugins folder to disable all of them at once and then enabling them again is the only thing that helps get the site going again.

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?
hidden link

#2535755

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

That is really strange. Have you tried to setup the same site on different server? Do you see the same issue on different server?

Here is the Toolset server requirements - do you see everything is ok with that:
- https://toolset.com/toolset-requirements/

If yes, then have you checked the debug log or server log. Do you see anything with those logs?
Here is the doc:
=> vhttps://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#php-debugging

Do you have any idea when on what action Toolset crashes the site?

Could you please send me debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/

#2537041

Hello,

I downgraded again to php 8.0x due to the compatibility in the requirements section. There are some php errors. See below:

[18-Jan-2023 10:23:33 UTC] PHP Warning: Attempt to read property "post_type" on int in /var/www/vhosts/amklassiek.nl/httpdocs/wp-content/plugins/toolset-blocks/application/controllers/compatibility/wpa-block-editor/wpa-block-editor.php on line 220

#2537783

Minesh
Supporter

Languages: English (English )

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

Above is the warning and that should not affect the loading of your site.

I'm not sure why that waring is displayed and how to trigger that warning but before we dig this further.

In order to minimize the cause of the issue and to ensure there is no conflict between third-party plugins or theme you are using with Toolset:

Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes? Please try to check with minimum install Toolset plugins + default theme.
- Do you see the same warning?

#2544393

I cannot try a default theme with no plugins, because it is a working site with thousands of daily visitors.

#2544721

Minesh
Supporter

Languages: English (English )

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

Is it possible for you to create a staging site and run the basic debug steps I shared with my previous reply.
OR
You can send me duplicator copy of your site:
=> https://toolset.com/faq/provide-supporters-copy-site/

And please share details on what post/post I can see those notices.

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

#2545575

Hi, can you send me an email address so I can give you an temp admin login link? I have made a copy of my site, which because of its size did take some time.

#2545579

Minesh
Supporter

Languages: English (English )

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

Actually - email address is not required. You can create user with username and password and use any email address for that and send me login information.

If you still require my email address then here is it: minesh.s@onthegosystems.com

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

#2545585

Minesh
Supporter

Languages: English (English )

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

Can you please share information where exactly I can see the issue with what post/page?

#2545603

Well, the crashes have been gone since I downgraded tot PHP 8.0x. Only the php errors continued to occur.

[01-Feb-2023 12:02:08 UTC] PHP Warning: Attempt to read property "post_type" on int in /var/www/vhosts/goofy-chaum.85-214-198-33.plesk.page/httpdocs/wp-content/plugins/toolset-blocks/application/controllers/compatibility/wpa-block-editor/wpa-block-editor.php on line 220

When I opened a post.

However, it appears to be theme related because when I switch to a standard theme, the error is gone.

#2545639

Minesh
Supporter

Languages: English (English )

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

I tried to open the following post and I do not see the warning?
=> hidden link

Have you disabled the warning from wp-config.php file? or
- with what post I can see the warning you shared?

#2550951

Hi, the error occurs not while editing a post, but when someone browses the post.

#2550959

Minesh
Supporter

Languages: English (English )

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

I can see the following post on frontend without any issues:
- hidden link

Can you please share problem URL where exactly I can see the issue on frontend with what post?

#2550963

Hi, this is the error: [09-Feb-2023 12:18:27 UTC] PHP Warning: Attempt to read property "post_type" on int in /var/www/vhosts/goofy-chaum.85-214-198-33.plesk.page/httpdocs/wp-content/plugins/toolset-blocks/application/controllers/compatibility/wpa-block-editor/wpa-block-editor.php on line 220

But the error only can be seen in the error_log.txt, you can download it through hidden link

#2551025

Minesh
Supporter

Languages: English (English )

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

The information you shared with your previous reply is not error but a warning and that will not break your site.
=> https://toolset.com/forums/topic/site-crashes-since-using-toolset/#post-2550963

I tried to locate why that error is showing but I could not able to get any concreate information about why its showing or reporting that warning to your error logs. I see you are using Yoast SEO plugin - what if you try to disable that and check if you still see the warning you mention?
or
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?
- Do you still see the warning you reported ?