Skip Navigation

[Resolved] tried updating toolset plugins and getting errors on each update

This support ticket is created 7 years, 4 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)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 7 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#544898
toolset update error.jpg

I am trying to: update toolset plugins

I visited this URL:

I expected to see: update successful
Instead, I got: Update Failed: {"success":true,"data":{"update":"plugin","slug":"layouts","oldVersion":"Version 1.9.3","newVersion":"Version 2.0.1","plugin":"layouts\/dd-layouts.php","pluginName":"Toolset Layouts"}}

#545015

Dear Eric,

It is abnormal, please try these:
1) Make sure you are using the original and the latest version of Types plugin, I suggest you manually download and install it:
You can download it here:
https://toolset.com/home/types-manage-post-types-taxonomy-and-custom-fields/

2) deactivate other plugins and switch to wordpress default theme, and test again
3) Enable PHP debug mode, copy and paste the debug logs here
PHP Debugging
In case you think that Types or Views are doing something wrong (what we call a bug), you should enable PHP error logging. Again, edit your wp-config.php file and add the following:

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. Make sure that the web server can create and write this file. If it cannot, use an FTP program to create the file and make it writable to Apache (normally, user www-data).
https://toolset.com/documentation/user-guides/debugging-types-and-views/