Title: Deprecation warning when using WP CLI
Last modified: June 15, 2022

---

# Deprecation warning when using WP CLI

 *  Resolved [offisapup](https://wordpress.org/support/users/offisapup/)
 * (@offisapup)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecation-warning-when-using-wp-cli/)
 *     ```
       [root@meb-web01 edgi]# wp core version
       6.0
       [root@meb-web01 edgi]# wp core check-update
       Deprecated: Required parameter $feed_settings_array follows optional parameter $save_options in /data/www/html/edgi/wp-content/plugins/feed-them-social/includes/feed-them-functions.php on line 1951
       Deprecated: Required parameter $required_plugins follows optional parameter $save_options in /data/www/html/edgi/wp-content/plugins/feed-them-social/includes/feed-them-functions.php on line 1951
       Deprecated: Required parameter $plugin_identifier follows optional parameter $_api_data in /data/www/html/edgi/wp-content/plugins/feed-them-social/updater/updater-check-class.php on line 46
       Deprecated: Required parameter $item_name follows optional parameter $_api_data in /data/www/html/edgi/wp-content/plugins/feed-them-social/updater/updater-check-class.php on line 46
       Deprecated: Required parameter $location follows optional parameter $fb_type in /data/www/html/edgi/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 869
       Deprecated: Required parameter $fb_shortcode follows optional parameter $fb_post_id in /data/www/html/edgi/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 1346
       Deprecated: Required parameter $post_data follows optional parameter $fb_post_id in /data/www/html/edgi/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 1346
       Deprecated: Required parameter $more follows optional parameter $num_words in /data/www/html/edgi/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 2024
       Success: WordPress is at the latest version.
       [root@meb-web01 edgi]# php --version
       PHP 8.0.13 (cli) (built: Nov 16 2021 18:07:21) ( NTS gcc x86_64 )
       Copyright (c) The PHP Group
       Zend Engine v4.0.13, Copyright (c) Zend Technologies
           with Zend OPcache v8.0.13, Copyright (c), by Zend Technologies
       ```
   
 * Does not seem to affect the displayed web site — and no warnings in the php-fpm
   log

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

 *  Plugin Support [slickchris](https://wordpress.org/support/users/slickchris/)
 * (@slickchris)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecation-warning-when-using-wp-cli/#post-15740037)
 * Hi [@offisapup](https://wordpress.org/support/users/offisapup/),
 * What actions did you take that produced these warnings?
 *  Thread Starter [offisapup](https://wordpress.org/support/users/offisapup/)
 * (@offisapup)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecation-warning-when-using-wp-cli/#post-15740088)
 * It’s in wp cli, e.g.
 *     ```
       [root@meb-web01 edgi]# wp plugin list
       Deprecated: Required parameter $feed_settings_array follows optional parameter $save_options in /data/www/html/edgi/wp-content/plugins/feed-them-social/includes/feed-them-functions.php on line 1951
       Deprecated: Required parameter $required_plugins follows optional parameter $save_options in /data/www/html/edgi/wp-content/plugins/feed-them-social/includes/feed-them-functions.php on line 1951
       Deprecated: Required parameter $plugin_identifier follows optional parameter $_api_data in /data/www/html/edgi/wp-content/plugins/feed-them-social/updater/updater-check-class.php on line 46
       Deprecated: Required parameter $item_name follows optional parameter $_api_data in /data/www/html/edgi/wp-content/plugins/feed-them-social/updater/updater-check-class.php on line 46
       Deprecated: Required parameter $location follows optional parameter $fb_type in /data/www/html/edgi/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 869
       Deprecated: Required parameter $fb_shortcode follows optional parameter $fb_post_id in /data/www/html/edgi/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 1346
       Deprecated: Required parameter $post_data follows optional parameter $fb_post_id in /data/www/html/edgi/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 1346
       Deprecated: Required parameter $more follows optional parameter $num_words in /data/www/html/edgi/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 2024
       +------------------+--------+------------------------------+----------+
       | name             | status | update                       | version  |
       +------------------+--------+------------------------------+----------+
       | carousel-slider  | active | none                         | 2.1.0    |
       | feed-them-social | active | version higher than expected | 2.9.8.10 |
       | google-site-kit  | active | none                         | 1.75.0   |
       +------------------+--------+------------------------------+----------+
       ```
   
 * … which incidentally shows we’re running a future version … Is this actually 
   2.9.8.1.0? I guess I should try to force an update to 2.9.8.4 …
 *  Thread Starter [offisapup](https://wordpress.org/support/users/offisapup/)
 * (@offisapup)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecation-warning-when-using-wp-cli/#post-15740106)
 * … and no, that does not change the behaviour; same deprecation warnings, but 
   now `wp plugin list` sees version 2.9.8.4.
 *  Thread Starter [offisapup](https://wordpress.org/support/users/offisapup/)
 * (@offisapup)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecation-warning-when-using-wp-cli/#post-15740130)
 * … and now it shows up at the top of pages … [https://edgi.se](https://edgi.se)
 *  Plugin Support [slickchris](https://wordpress.org/support/users/slickchris/)
 * (@slickchris)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecation-warning-when-using-wp-cli/#post-15740145)
 * Hi [@offisapup](https://wordpress.org/support/users/offisapup/),
 * Please *update the free Feed Them Social plugin to the latest version, currently
   2.9.8.5 as this should resolve your issues.
 * *If the FTS plugin update does not show up in your WordPress plugins panel, delete
   the FTS free plugin. Then, click the ‘Add New’ button at the top of the WordPress
   plugins panel, search “Feed Them Social” and re-install. The most recent version(
   2.9.8.5) should then install. Once installed and active, you should be able to
   gain a FB and/or IG token without issue, as well as resolve the warnings you 
   are seeing.
 *  Thread Starter [offisapup](https://wordpress.org/support/users/offisapup/)
 * (@offisapup)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecation-warning-when-using-wp-cli/#post-15740164)
 * Nope, sorry. 2.9.8.5 shows the same …
 *  Plugin Support [slickchris](https://wordpress.org/support/users/slickchris/)
 * (@slickchris)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecation-warning-when-using-wp-cli/#post-15740202)
 * Hi [@offisapup](https://wordpress.org/support/users/offisapup/),
 *  We would love to assist you further. Could you please email us your system info
   to support [@slickremix](https://wordpress.org/support/users/slickremix/).com(
   please fill in the blank space before sending the email).
 * You can find the system info by going to Feed Them > System Info and copy/paste
   that to us.
 *  Thread Starter [offisapup](https://wordpress.org/support/users/offisapup/)
 * (@offisapup)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecation-warning-when-using-wp-cli/#post-15740261)
 * Sent …
 *  Plugin Author [slickremix](https://wordpress.org/support/users/slickremix/)
 * (@slickremix)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecation-warning-when-using-wp-cli/#post-15740307)
 * Thanks for all the details and system info. I understand now these depreciated
   warning are a result of php 8.0 running. Looks like we have a little clean up
   to do there. In the meantime though if you are not developing your website I 
   would turn off the errors notice in your wp-config file so they do not show up
   on your website(s).
 * Spencer
 *  Thread Starter [offisapup](https://wordpress.org/support/users/offisapup/)
 * (@offisapup)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecation-warning-when-using-wp-cli/#post-15742207)
 * No prob.
 * Did turn WP_DEBUG off — we’re not developing in that site, but I have scripts
   running that update WP and plugins without hands-on every night, so I tend to
   leave `WP_DEBUG` at `true` to catch problems …
 * /offisapup

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

The topic ‘Deprecation warning when using WP CLI’ is closed to new replies.

 * ![](https://ps.w.org/feed-them-social/assets/icon-256x256.jpg?rev=998039)
 * [Feed Them Social - Social Media Feeds, Video, and Photo Galleries](https://wordpress.org/plugins/feed-them-social/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/feed-them-social/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/feed-them-social/)
 * [Active Topics](https://wordpress.org/support/plugin/feed-them-social/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/feed-them-social/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/feed-them-social/reviews/)

 * 10 replies
 * 3 participants
 * Last reply from: [offisapup](https://wordpress.org/support/users/offisapup/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/deprecation-warning-when-using-wp-cli/#post-15742207)
 * Status: resolved