Skip Navigation

[Resolved] Types Plugin Causing Site To Overload

This support ticket is created 6 years, 5 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
- 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/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 20 replies, has 2 voices.

Last updated by danielN-4 6 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#1091010

Thanks for the details, the new FTP access is valid, I have tried below steps in your website:
1) Activate all Toolset plugins Types+ Views + Layouts
I get 500 error

2) So I have edited wp-config.php in your website, added below 3 lines:

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

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

But there isn't the PHP debug logs file "error_log.txt" in your website root folder.

You might need to get the PHP debug logs from your webserver provider, it is important, there should be some PHP errors in your website, and they conduct the 500 error.

3) Then I have tried to get your webserver information,
https://toolset.com/toolset-requirements/

But the function phpinfo() does not work in your website
hidden link

it does not return any result, I suggest you check if your webserver is meet all Toolset Server Requirements, see our document
https://toolset.com/toolset-requirements/

Since the phpinfo function does not work in your website, same as above, you might need to ask help from your webserver provider.

#1091011

This what the host sent before

The server already meets all requirements for the plugin.

Additionally, your theme, plugins, or mixture of both (could be the toolset plugins or other plugins) are not compatible with the latest versions of PHP. We tried updating your site to PHP 7 and nothing works. This means that your theme, plugins, or a mixture of both are using outdated PHP functions in the code base and have not been updated to be compatible with the latest versions of PHP 7+.

Lastly, all error logging/PHP error logging is enabled on the server already. Meaning, when your site is throwing these 500/503 errors we're not seeing anything being generated in the various error logs.

Did Luo tell you to add the ini_set lines of code to your wp-config.php? If so, don't add any lines of code to any files without asking first. All PHP error logging is enabled on the server already .

#1091022

I did not see the PHP error logs, please ask your webserver provider to provide the PHP debug logs, if they can not provide it, you can setup the same website in another webserver, and test again

#1091356

I am trying to send the log but It won't allow me an attachment. This support platform you guys have needs an update. It takes two correspondences every time to be able to get you something. Here is what they sent also

Hello,

The PHP error log can be found in the home/logs/ directory. I've attached it to this response for your convenience.

Not sure what Luo was doing to create the phpinfo, but I've created one for zestrealty.net, which can be accessed here - hidden link

#1092677

I have tried these:
1) Test the FTP access again, but can not find the home/logs/ directory, so I still don't see the debug logs, I am not sure why there were 500 errors in your website

2) Activate Types plugin again, there isn't 500 error in your website

3) Test the home page in front-end:
hidden link
It seems works fine, there isn't the problem you mentioned above:

Since you are using Elementor page builder to design your web pages, then you don't need to use Layouts plugin, this will conduct other unexpected result, since both of them (Elementor and Layouts) are working in the content area, you just need to use one of page builder to design the web pages.

#1094142

Hi Luo I'm not sure but it seems to be working now. Thanks for all your help.

Danny