Title: class-wp-installer.php issue
Last modified: March 19, 2018

---

# class-wp-installer.php issue

 *  [takahiromtd](https://wordpress.org/support/users/takahiromtd/)
 * (@takahiromtd)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/)
 * I have a problem. Everytime I go to “Plugins” in the backend. I get a screen 
   full of the following code:
    I’ve had WP 4.9.4 and Tooset Types v2.2.22 for a
   while.
 * supplied for foreach() in /home/users/2/lolipop.jp-81253b0411aa7d99/web/mushashugyo/
   wp-content/plugins/types/vendor/otgs/installer/includes/class-wp-installer.php
   on line 2197
 * Warning: Invalid argument supplied for foreach() in /home/users/2/lolipop.jp-
   81253b0411aa7d99/web/mushashugyo/wp-content/plugins/types/vendor/otgs/installer/
   includes/class-wp-installer.php on line 2197
 * Warning: Invalid argument supplied for foreach() in /home/users/2/lolipop.jp-
   81253b0411aa7d99/web/mushashugyo/wp-content/plugins/types/vendor/otgs/installer/
   includes/class-wp-installer.php on line 2197
 * Warning: Invalid argument supplied for foreach() in /home/users/2/lolipop.jp-
   81253b0411aa7d99/web/mushashugyo/wp-content/plugins/types/vendor/otgs/installer/
   includes/class-wp-installer.php on line 2197
 * Warning: Invalid argument supplied for foreach() in /home/users/2/lolipop.jp-
   81253b0411aa7d99/web/mushashugyo/wp-content/plugins/types/vendor/otgs/installer/
   includes/class-wp-installer.php on line 2197
 * Warning: Invalid argument supplied for foreach() in /home/users/2/lolipop.jp-
   81253b0411aa7d99/web/mushashugyo/wp-content/plugins/types/vendor/otgs/installer/
   includes/class-wp-installer.php on line 2197
    -  This topic was modified 8 years, 2 months ago by [takahiromtd](https://wordpress.org/support/users/takahiromtd/).

Viewing 15 replies - 1 through 15 (of 15 total)

 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10094250)
 * I assume I know the error since we fixed this some months ago.
    But, checking
   the code I saw that there still are some instances of code that expects a valid
   plugins array (which is usually the case).
 * I reported that and asked to fix the issue as soon as it’s possible.
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10106973)
 * Hi, [@takahiromtd](https://wordpress.org/support/users/takahiromtd/) I have a
   fix for this issue but I need an example to test this with.
 * Please, can you come over to [this forum](https://wp-types.com/forums/forum/general-and-pre-sales-questions/),
   and open a new ticket after you [registered here](https://wp-types.com/support/register/)?
 * Please link to this ticket here. I will handle the rest of the new ticket you
   will open.
 * The problem is here in WordPress I am not allowed to exchange private details
   like Site’s Copy or similar with you.
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10119911)
 * This is important for us to fix.
 * Did you add a ticket to our forums?
    Can you link me to it?
 * Thank you!
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10140818)
 * I have a favour to ask, anyone who experiences this issue please report this 
   to us in the forums linked above, complete with the packages required.
 * We are not going to release a “fix” for this as we cannot safely replicate and
   control this issue and its fix.
 * If we can get our hands on a real case of this issue we will ASAP provide a solution
   for it.
 * Thank you for understanding and helping us solve this problem.
 *  [oskarlin](https://wordpress.org/support/users/oskarlin/)
 * (@oskarlin)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10149687)
 * I can do it! I get the same error.
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10149725)
 * Please, guys, we need a site to replicate what you see.
 * We cannot solve this issue without replicating steps.
 * Please post in our above-linked forum and inform me here too with the link to
   it.
 *  [aphoenix](https://wordpress.org/support/users/aphoenix/)
 * (@aphoenix)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10151771)
 * Hey @Bedas – I’m also experiencing this issue, and would be happy to provide 
   you with information. I registered with your forums, and found a relevant thread,
   but am unable to post a reply.
 * I’ll give a bit of a breakdown here of what I’m experiencing. Same as above, 
   I’m getting a massive amount of php Warnings.
 * I’m getting the issues in two environments:
 * **PHP 5.5.38-1 on debian**
 *     ```
       +---------------------------------------+----------+-----------+----------+
       | name                                  | status   | update    | version  |
       +---------------------------------------+----------+-----------+----------+
       | advanced-custom-fields                | active   | available | 4.4.11   |
       | all-in-one-wp-migration               | active   | available | 6.63     |
       | breadcrumb-navxt                      | active   | none      | 5.2.2    |
       | column-shortcodes                     | active   | available | 0.6.9    |
       | edit-flow                             | active   | none      | 0.8      |
       | filter-custom-fields-taxonomies-light | inactive | none      | 1.05     |
       | hello                                 | inactive | none      | 1.6      |
       | redirection                           | active   | none      | 2.3.16   |
       | regenerate-thumbnails                 | active   | none      | 2.2.4    |
       | relevanssi-premium                    | active   | none      | 1.15.2.1 |
       | tablepress                            | active   | none      | 1.6      |
       | tinymce-advanced                      | active   | none      | 4.1.9    |
       | types                                 | active   | none      | 2.2.22   |
       | post-type-archive-links               | active   | none      | 1.3.1    |
       +---------------------------------------+----------+-----------+----------+
       ```
   
 * **PHP Version 7.0.29 on siteground**
 *     ```
       +---------------------------------------+----------+--------+-------------+
       | name                                  | status   | update | version     |
       +---------------------------------------+----------+--------+-------------+
       | advanced-custom-fields                | active   | none   | 4.4.12      |
       | breadcrumb-navxt                      | active   | none   | 6.0.4       |
       | column-shortcodes                     | active   | none   | 1.0         |
       | edit-flow                             | active   | none   | 0.8.2       |
       | filter-custom-fields-taxonomies-light | inactive | none   | 1.05        |
       | redirection                           | active   | none   | 3.2         |
       | regenerate-thumbnails                 | active   | none   | 3.0.2       |
       | relevanssi-premium                    | active   | none   | 1.15.2.1    |
       | S3-Uploads                            | active   | none   | 2.0.0-beta2 |
       | sg-cachepress                         | active   | none   | 4.0.4       |
       | tablepress                            | active   | none   | 1.9         |
       | tinymce-advanced                      | active   | none   | 4.6.7       |
       | types                                 | active   | none   | 2.2.22      |
       | updraftplus                           | inactive | none   | 2.14.4.22   |
       | post-type-archive-links               | active   | none   | 1.3.1       |
       +---------------------------------------+----------+--------+-------------+
       ```
   
    -  This reply was modified 8 years, 1 month ago by [aphoenix](https://wordpress.org/support/users/aphoenix/).
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10153007)
 * Hi [@aphoenix](https://wordpress.org/support/users/aphoenix/)
 * Please open a new thread in the forum you registered.
    [https://wp-types.com/forums/forum/general-and-pre-sales-questions/](https://wp-types.com/forums/forum/general-and-pre-sales-questions/)
   > Open a new support ticket.
 * There you can already add the copy of your site made with Duplicator Plugin.
   
   [https://wp-types.com/faq/provide-supporters-copy-site/](https://wp-types.com/faq/provide-supporters-copy-site/)
 * Please if possible provide us with a copy of the site where the errors do not
   happen and instruct us what we need to do, in order to get the errors.
 * As soon we have that we can finally solve this old problem.
 * Thank you!
 * PS
    Please link me to your thread once done.
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10173184)
 * I did not receive any report.
 * Did you report this?
    Can you link me to the thread?
 *  [victoroficio](https://wordpress.org/support/users/victoroficio/)
 * (@victoroficio)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10179404)
 * I have a similar problem:
    upplied for foreach() in /home/patio147/public_html/
   wp-content/plugins/types/plus/installer/includes/installer.class.php on line 
   1585.
 *  [victoroficio](https://wordpress.org/support/users/victoroficio/)
 * (@victoroficio)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10179413)
 * if I disable the plugin the error does not happen
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10189135)
 * Hello [@takahiromtd](https://wordpress.org/support/users/takahiromtd/), [@oskarlin](https://wordpress.org/support/users/oskarlin/),
   [@aphoenix](https://wordpress.org/support/users/aphoenix/), [@victoroficio](https://wordpress.org/support/users/victoroficio/)
 * Please head to the Free forum, register for free [here](https://toolset.com/support/register/),
   and open a new ticket [here](https://toolset.com/account/?open_new_ticket=true&redirect_to=https://toolset.com/forums/forum/general-and-pre-sales-questions/#bbp-new-topic).
 * Please prepare a copy of your installs with this instructions:
    [https://wp-types.com/faq/provide-supporters-copy-site/](https://wp-types.com/faq/provide-supporters-copy-site/)
 * I cannot help you in this forum. We cannot replicate this issue.
 *  [victoroficio](https://wordpress.org/support/users/victoroficio/)
 * (@victoroficio)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10221318)
 * the link for register dont work
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10221373)
 * Meanwhile, we have the data required.
    The Free Types Forum is suspended.
 * You can still follow it here:
    [https://toolset.com/forums/topic/toolset-types-v-2-2-23-throws-lots-of-warning-invalid-argument-supplied/](https://toolset.com/forums/topic/toolset-types-v-2-2-23-throws-lots-of-warning-invalid-argument-supplied/)
   [https://toolset.com/forums/topic/i-get-many-errors-with-my-types-plugin-in-wp-admin/](https://toolset.com/forums/topic/i-get-many-errors-with-my-types-plugin-in-wp-admin/)
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [8 years ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10239266)
 * This seems to not happen anymore in the latest Toolset Types RC – a version that
   you cannot receive here on this forum, unfortunately.
 * If you are not a paying Toolset user, please let me know here, so eventually,
   I can find a solution for the free version.
 * Please do not hesitate to mention here in case the issue still happens for you
   with the Types version you can download here.
 * With the RC version you can download at toolset – as paying user, the issue should
   be solved.

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘class-wp-installer.php issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/types_ced1d3.svg)
 * [Toolset Types - Custom Post Types, Custom Fields and Taxonomies](https://wordpress.org/plugins/types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/types/)
 * [Active Topics](https://wordpress.org/support/plugin/types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/types/reviews/)

 * 14 replies
 * 5 participants
 * Last reply from: Anonymous User 14808221
 * Last activity: [8 years ago](https://wordpress.org/support/topic/class-wp-installer-php-issue/#post-10239266)
 * Status: not resolved