Skip Navigation

[Resolved] Internal Server Error when trying to update

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

Problem:
While trying to update registered plugins an Internal Server Error is reported, although no errors appear in the PHP logs.

Solution:
This is probably because of the PHP cURL version.

The hosting provider needs to upgrade the hosting server to a PHP cURL version that has TLS v1.1

This support ticket is created 6 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
- 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)

Tagged: 

This topic contains 8 replies, has 2 voices.

Last updated by Nigel 6 years, 8 months ago.

Assisted by: Nigel.

Author
Posts
#621363
screenshot1.png

I am trying to: Update types to 2.2.22 and maps to 1.4.2

Link to a page where the issue can be seen: demo3.uoi.gr

I expected to see: updating finished

Instead, I got: Internal server error

I have the plugins installed in the server and although the updates used to work fine, for a couple of days now i get internal server error when trying to update

#621368

Nigel
Supporter

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

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

Hi Yannis

Could you please check your logs to see what the error actually is?

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 debug.log file in your wp-content directory which you can examine in any text editor.

Try updating Types again and then inspect the log.

#621379

It didn't create any file.

#621487

Nigel
Supporter

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

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

Sometimes errors happen too early to be caught by the WordPress debug log.

Can you try adding the following to wp-config.php instead:

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

This will produce a file called ‘error_log.txt’ in your WordPress root directory.

Try to update the plugin again. If there is an internal server error it should appear in the logs.

#621658

It doensn't produce any output.
The file is not created.

By the way i did an update to another irrelevant plugin that was available and it updated ok.

There is also an update for Toolset maps available that produces the same error.

Do you want me to give you admin and ftp credentials ?

#622026

Nigel
Supporter

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

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

Hi Yannis

I can take a look but if there are no errors reported in the logs I'm not sure how I'm going to debug the issue, but let me take a look and we'll see.

I have marked your next reply as private to get credentials from you.

#622146

Nigel
Supporter

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

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

Hi Yannis

I was able to observe the problem—the error being reported when trying to update the plugins—but cannot explain it because, as you reported, nothing is recorded in the error logs.

So I simply updated the plugins manually with new versions from the downloads page (wp-types.com/account/downloads).

If you find you have this problem again in the future you could try de-activating all other plugins before trying to update the Toolset plugins to see if that reveals any conflicts, in which case you can let us know and we can investigate further.

#622196

We will check it out then on the next update.

Thank you !!

#622993

Nigel
Supporter

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

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

Hi Yannis

Please note the reply I gave to another client, I believe you probably have the same issue:

https://toolset.com/forums/topic/update-issue-2/#post-622992