Skip Navigation

[Resolved] Types plugin does not appear in plugin list and can't update

This support ticket is created 5 years, 1 month 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by Christian Cox 5 years, 1 month ago.

Assisted by: Christian Cox.

Author
Posts
#1367787

I am trying to: update toolset plugins
I had noticed that my toolset plugins were not automatically updating. After reading a support thread about uninstalling and reinstalling types I realized that types was no longer showing in my plugin list. I had only layouts, views, and maps. The site seemed to be functioning normally, though.
I deleted the types folder from plugins and downloaded types from my account here and attempted to install but it stops at the "installing plugin" part and will go no further. I have to leave that page to do anything else. It successfully uploads the plugin and when I check in the file manager I see the types folder and all its sub-folders but the plugin still does not show in my list. Again, the site appears to be functioning normally but I don't know how to check for sure.
Wordpress says my plugins are up to date but Views is at 2.9.2 though I see it as 2.9.3 on your site.

I also tried deactivating all plugins and then tried to install Types again as above but got the same problem - stuck at the "installing plugin" page.

Link to a page where the issue can be seen:

I expected to see:

Instead, I got:

#1367847

Hi, if the WordPress plugin installer doesn't seem to be completing the installation, there may be a server-side issue that must be resolved. Something like an upload filesize limitation, or a file permissions issue. One thing we can do to try to pin this down is check the server error logs for additional information. If you have FTP access, go to the root of your site and look for a file called "error_log". Download that file and open it with any text editor software, or upload it somewhere I can download it easily and take a look.

#1367873

Hi Christian - thanks for the prompt response.
Here is what is in the error log in the public_html (website root). Let me know if I should check any other logs.
I had already upped the php memory limit to 512 thinking that might be the problem.
My hosting company recently moved me to a different server so there could be something different in the configuration.

[22-Oct-2019 16:35:38 UTC] PHP Warning: trim() expects parameter 1 to be string, array given in /home/robadmin/public_html/wp-includes/class-wp-query.php on line 763
[22-Oct-2019 16:35:40 UTC] PHP Warning: trim() expects parameter 1 to be string, array given in /home/robadmin/public_html/wp-includes/class-wp-query.php on line 763
[23-Oct-2019 11:17:44 UTC] PHP Warning: trim() expects parameter 1 to be string, array given in /home/robadmin/public_html/wp-includes/class-wp-query.php on line 763
[23-Oct-2019 11:17:45 UTC] PHP Warning: trim() expects parameter 1 to be string, array given in /home/robadmin/public_html/wp-includes/class-wp-query.php on line 763

#1367877

Okay I don't see anything obvious in the logs there. The next thing to try is to upload the Types plugin using FTP, and see if it begins to appear in the list of plugins. To do that, go to https://toolset.com/account/downloads and download a fresh copy of Types 3.3.6. Expand that zip archive, and you will find a folder called "types". Using FTP, upload this entire directory to wp-content/plugins/ on your site. Note that transferring an entire directory like this could take quite a while.

After it's uploaded, check the plugins list again and see if Types begins to appear. Let me know what you find out.

#1367927

OK - that worked. The plugin is in the list now and my updates showed the views plugin update available but now that one is behaving the same way - stuck on the updating plugin page. Guess I'll have to reinstall that one via FTP, too. Odd - my other wordpress plugins updated fine - just the toolset ones having trouble. Suggestions?

#1367949

I don't know, is it possible your server is running low on disk space?

#1368047

Just checked - plenty of disk space, memory available, and allotted space for my account.

Wondering this: Since I've had to abort the update process several times due to getting stuck on the update page, could something have gotten corrupted in the database that's causing this? I recall one of the toolset plugins (don't remember which) getting stuck on the update page a few months ago - and the site was locked on the maintenance page. I had to manually remove the .maintenance file to access the site. Thinking that maybe none of my toolset plugins had updated since then.

#1368085

I don't think it would be database related if the process hangs during update of the plugin. That usually just involves copying the necessary files from one location to another, overwriting the old files. Not until the plugin is activated does code execute, which could check the DB.

If you'd like, I can create a clone of the site using the Duplicator plugin and attempt the plugin updates locally. If there's something in the DB causing this problem, it would be repeated on my local environment. If the update occurs without problem, then it's most likely something server-related. Let me know if you'd like for me to make that clone.

It could have to do with file permissions for these directories, if these have been locked or changed for some reason. I would ask your host if anything looks suspicious about the permissions in these file directories, if the directories are locked for any reason, and if WordPress should be able to write to them. I would also ask if there are any other log files you can access on the server that might provide more information about what's happening.

If you have access to your server in a control panel or cPanel environment, you can try deleting the other Toolset plugin directories from the File Manager, which should be faster than using FTP. Then you can try updating again, to see if the problem is resolved. That might fix any file permissions issues.

#1369127

I updated the Views plugin manually as the other and everything is ok right now. Since there are no new updates available I can't test whether future updates will work automatically or not. There are no file permission issues that I can see - all Toolset files and folders have same permissions as all other plugins. When an update is available I will check the server log files if it fails and make a new ticket then. For now I will mark this one as resolved. Thanks for your help!

#1369133

My issue is resolved now. Thank you!

#1369153

Okay that sounds like a logical plan. Thanks for the update.