Skip Navigation

[Resolved] Problems updating old versions of Types or Views

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

Problem:
Client is unable to update old versions of plugins because of fatal errors.

Solution:
It is important to update Toolset plugins in tandem, and regularly if possible. Because of shared code, a current version of Types may conflict with an old version of Views, for example, and so that will require de-activating both, deleting both, and then installing new versions of both, available from wp-types.com/account/downloads

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 4 replies, has 2 voices.

Last updated by Nigel 6 years, 9 months ago.

Assisted by: Nigel.

Author
Posts
#617519

This issue was never resolved:
https://toolset.com/forums/topic/plugin-update-issues/

Tried to reopen ticket with following message:

This issue was never resolved. I have tried everything imaginable in the last 3 months with continuing errors with Types plugin regardless of theme, other plugins etc. Of course there is a conflict... constant destructive bug messages within plugins page etc. ...
warning: Invalid argument supplied for foreach() in /home/strangeweather/www/www/cms/wp-content/plugins/types/vendor/otgs/installer/includes/class-wp-installer.php
and similar.
I will attach Database dump.

Here is the live site, hidden link
reverted to Feb. 13 working version with my hosting backup points after all attempts failed. I can update WP core, all plugins... disable plugins and activate ONLY the updated Types plugin with a WP Twenty17 theme and the error remains. Please don't ask me to disable all other plugins and themes etc. again - this requires your investigation. Thank you.

I have zip wp database dump, please provide private upload option

#617690

Nigel
Supporter

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

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

Hi James

I took a copy of your site to test updating plugins locally to ensure I didn't encounter any errors.

You have old versions of Types of Views on your current site, both of which have undergone significant changes.

The Toolset plugins all include certain common code that is shared between the plugins, and that means that it is important to upgrade in tandem to avoid possible conflicts with outdated code from another one of our own plugins.

I suspect that you have been updating one plugin at a time while they are still active, and so a new version of one has conflicted with an old version of another. (That is less likely to be a problem when you regularly update minor versions, but in this case the installed plugin versions are very old.)

Long story short, I deactivated and deleted both Types and Views, and then installed the current versions of each (available from your downloads page: wp-types.com/account/downloads) and the update went smoothly, both appear to be working as expected.

I suggest you try the same on your live site.

#618101
types-plugin-issue screenshot 2.jpg
types-plugin-issue.jpg

Sure, I am familiar with all this and have done what you mentioned many times.

I just deactivated and deleted both types & views.

Installed newest ver. types. Upon activation, see first screenshot.

Was able to deactivate all plugins. Installed views activated, fine... then activated types... see screenshot 2.

I have been around and around on this for months literally - and YES all my other MANY sites are updated regularly, this was off the radar and dormant for quite some time. As I said I've literally disabled all plugins, removed themes, started with just types and standard WP theme and this error occurs regardless of anything I do different.

#618105

Changed the order of install views first, then types.. problem persisted on plugin page (debug errors)... then dissappeared... have bounced around all admin sections and so far SO GOOD. This was a very fickle feisty problem I generally update types/views/access all plugins monthly or so... this client went dormant. Thanks for your help, I may not have tried this again otherwise.

#618149

Nigel
Supporter

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

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

Hi James

Thanks for the update. I can't account for why you had that problem as it upgraded okay on my local server, but I'm glad to see it's working in the end.