Skip Navigation

[Resolved] Toolset types > Error 500

This support ticket is created 3 years, 9 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/Karachi (GMT+05:00)

This topic contains 8 replies, has 3 voices.

Last updated by olivierC-3 3 years, 8 months ago.

Assisted by: Waqar.

Author
Posts
#2217495
Capture d’écran 2021-11-10 115414.jpg

Hi
I have this problem with Types.

hidden link

And the same problem for hidden link

Thank you for your help

Olivier

#2217587

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi Olivier

A 500 error indicates a fatal PHP when editing the page, and to understand what is happening we would need details of the error from your debug log.

If you haven't already, turn on the debug log by editing your wp-config.php file and change the line with WP_DEBUG like so:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('WP_DISABLE_FATAL_ERROR_HANDLER',true);

That will create a debug.log file in your /wp-content/ directory which you can examine in any text editor.

Try editing the same page where you observe the problem and then inspect the log. Please share the details.

#2217633

Hi Nigel

This is the debug file :
[10-Nov-2021 13:57:13 UTC] PHP Warning: Cannot modify header information - headers already sent in /var/www/clients/client1/web31/web/wp-content/plugins/weglot/src/third/wprocket/class-wprocket-cache.php on line 57
[10-Nov-2021 14:26:21 UTC] PHP Warning: Cannot modify header information - headers already sent in /var/www/clients/client1/web31/web/wp-content/plugins/weglot/src/third/wprocket/class-wprocket-cache.php on line 57
[10-Nov-2021 14:27:26 UTC] PHP Warning: Cannot modify header information - headers already sent in /var/www/clients/client1/web31/web/wp-content/plugins/weglot/src/third/wprocket/class-wprocket-cache.php on line 57

Nothing special

Do you want an Admin access ?

#2218133

Hi Olivier,

Thank you for sharing the debug log and it is strange that no fatal errors are recorded.

Can you please temporarily deactivate the "Weglot Translate" and the "WP Rocket" plugins and then try to activate the Toolset Types?

If you don't see the error again, you can activate first the "Weglot Translate" plugin and then the "WP Rocket" plugin.

In case the issue still persists, you're welcome to share temporary admin login details of a website, where the issue can be seen. I'll also need your permission to download a clone/snapshot of the website, if it is needed to be investigated on a different server.

Please let me know how it goes and I've set your next reply as private.

Note: It is recommended to make a complete backup copy, before sharing the access details.

regards,
Waqar

#2219237

Thank you for sharing the admin access and I've downloaded a clone/snapshot of the website.

I'll be doing some tests and will share the findings as soon as it completes.

Thank you for your patience.

#2219309

Nice 🙂
Thank you

#2221555

Thank you for waiting.

During troubleshooting, I noticed that some code in your active child theme's "functions.php" file is resulting in this error.

At line# 220, in "functions.php" file, you'll see:


if($parent != 'null'){

You can replace this line with:


if(!empty($parent)){

This change fixed the error on your website's clone on my test server.

#2222265

Hi Waqar

Perfect! Thank you very much 🙂

Have a good day

Olivier

#2222271

My issue is resolved now. Thank you!