Skip Navigation

[Resuelto] HTTP 500 errors

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:
Client cannot edit posts in the backend, seeing an HTTP 500 error.

Solution:
The debug logs show that the error is an out-of-memory error.

That requires increasing the resources available to WordPress on the server.

In this client's case that meant raising the memory available on admin pages as high as 512Mb by adding the following to the wp-config.php file:

define( 'WP_MAX_MEMORY_LIMIT', '512M' );
This support ticket is created hace 6 años, 4 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Etiquetado: 

Este tema contiene 8 respuestas, tiene 2 mensajes.

Última actualización por domenicoS hace 6 años, 4 meses.

Asistido por: Nigel.

Autor
Mensajes
#920500

Hi,
I installed the pro version of toolset.
I've a problem with activation of View or Layout.

When I active view and layout togheter I've problem to open the edit of posts and product, beacuse when I try to open on of these return me an error: HTTP ERROR 500

When I active one of them post and products works fine.

Can you please hel me?

Thank you

#920672

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Hi Domenico

A 500 error means there should be a fatal PHP error reported in your logs.

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);

That will create a file debug.log in your wp-content/ directory which you can examine in any text editor. Try re-activating both plugins again and then inspect the log.

Let me know what it shows.

#920688

Hi Nigel,

This is the Dbug log

[04-Jul-2018 07:12:45 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:12:46 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:12:52 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:12:52 UTC] PHP Notice:  get_currentuserinfo è <strong>deprecata</strong> dalla versione 4.5.0! Utilizzare al suo posto wp_get_current_user(). in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3832
[04-Jul-2018 07:12:55 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:12:55 UTC] PHP Notice:  get_currentuserinfo è <strong>deprecata</strong> dalla versione 4.5.0! Utilizzare al suo posto wp_get_current_user(). in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3832
[04-Jul-2018 07:12:57 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:12:57 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:12:58 UTC] PHP Notice:  get_currentuserinfo è <strong>deprecata</strong> dalla versione 4.5.0! Utilizzare al suo posto wp_get_current_user(). in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3832
[04-Jul-2018 07:13:11 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:13:19 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:13:20 UTC] PHP Notice:  get_currentuserinfo è <strong>deprecata</strong> dalla versione 4.5.0! Utilizzare al suo posto wp_get_current_user(). in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3832
[04-Jul-2018 07:13:20 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:13:21 UTC] PHP Notice:  get_currentuserinfo è <strong>deprecata</strong> dalla versione 4.5.0! Utilizzare al suo posto wp_get_current_user(). in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3832
[04-Jul-2018 07:13:22 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:13:23 UTC] PHP Notice:  get_currentuserinfo è <strong>deprecata</strong> dalla versione 4.5.0! Utilizzare al suo posto wp_get_current_user(). in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3832
[04-Jul-2018 07:13:27 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:13:29 UTC] PHP Notice:  get_currentuserinfo è <strong>deprecata</strong> dalla versione 4.5.0! Utilizzare al suo posto wp_get_current_user(). in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3832
[04-Jul-2018 07:13:37 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:13:37 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/load.php on line 711
[04-Jul-2018 07:13:40 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:13:40 UTC] PHP Notice:  get_currentuserinfo è <strong>deprecata</strong> dalla versione 4.5.0! Utilizzare al suo posto wp_get_current_user(). in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3832
[04-Jul-2018 07:13:42 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:13:43 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 18 bytes) in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/pomo/mo.php on line 297
[04-Jul-2018 07:13:52 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:13:53 UTC] PHP Notice:  get_currentuserinfo è <strong>deprecata</strong> dalla versione 4.5.0! Utilizzare al suo posto wp_get_current_user(). in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3832
[04-Jul-2018 07:13:56 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:13:56 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 95 bytes) in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/pomo/mo.php on line 272
[04-Jul-2018 07:14:07 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:14:07 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/pomo/mo.php on line 297
[04-Jul-2018 07:14:20 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:14:21 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 83 bytes) in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/plugin.php on line 198
[04-Jul-2018 07:14:22 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:14:23 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 3072 bytes) in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-content/themes/Divi/includes/builder/main-modules.php on line 9049
[04-Jul-2018 07:14:24 UTC] PHP Notice:  Il metodo del costruttore richiamato per WP_Widget in YoutubeSubscribeButtonWidget è <strong>deprecato</strong> dalla versione 4.3.0! Utilizzare invece <pre>__construct()</pre>. in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/functions.php on line 3895
[04-Jul-2018 07:14:24 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /home/uwazcm0v/domains/tripdoggy.com/public_html/wp-includes/wp-db.php on line 1976
#920716

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Thanks.

The last line shows you are out of memory, you need to increase the amount of memory available on your server.

How much memory is required depends on your site and you have quite a few active plugins which together are pushing you past the available amount of memory.

For the admin pages (which typically require more memory) you can increase the allocated memory by adding the following to your wp-config.php file:

define( 'WP_MAX_MEMORY_LIMIT', '512M' );

Note that that means WordPress requesting more memory from the server. It may also be necessary to speak to your host about the server making more memory available if that doesn't resolve the problem.

#920721

Thanks Nigel,
How many Memory limit you think is needed?
Are you sure that if update the memory limit with my hosting the problem is resolved? Do you think I can try some else before?

#920723

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

From your debug info it looks like the current limit is 256M, so try changing it in the wp-config.php file as I showed above to 512M and see if that works.

You'll only need to speak to your host if that doesn't work (because they must have higher-level server settings which limit the available memory allocated to WordPress).

#920759

Ok, thanks.
Hust another question.

As I said, I use DIVI theme and woocommerce.

When I Layout is active I've a problem with the layout fo Product page.

The page lose the defoult layout and the button doen't work (no takes the "click).

I've not create a layout because I want to use the single-product.php as layout as default.

What have I to do?

#920866

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Sorry for the inconvenience, but we have a one-issue-per-thread policy in the forum to help other users find posts about similar issues.

If you are having a problem with Layouts could you please open a new thread about it.

#920935

Thank you for your support!