Title: Deprecated parameter warnings?
Last modified: December 3, 2021

---

# Deprecated parameter warnings?

 *  Resolved [camparry](https://wordpress.org/support/users/camparry/)
 * (@camparry)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/deprecated-parameter-warnings/)
 * Hi,
 * Firstly, great plugin!
 * I’m sure you are already aware, but there seems to be a few deprecieted lines
   of code in the class-wp-members-shortcode file, which is causing my debug logs
   to fill up during development. Would be great if this could be patched in one
   of the next updates?
 * Log:
 * PHP Deprecated: Required parameter $tag follows optional parameter $content in/
   wp-content/plugins/wp-members/includes/class-wp-members-shortcodes.php on line
   366
    PHP Deprecated: Required parameter $tag follows optional parameter $content
   in /wp-content/plugins/wp-members/includes/class-wp-members-shortcodes.php on
   line 395 PHP Deprecated: Required parameter $tag follows optional parameter $
   content in /wp-content/plugins/wp-members/includes/class-wp-members-shortcodes.
   php on line 594
 * All the best, Cam

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

 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/deprecated-parameter-warnings/#post-15129648)
 * That’s a PHP 8 issue, and yes, it is addressed in the next release (3.4). I expect
   the beta of 3.4 to be released over the weekend or early next week, but the bleeding
   edge development version is available on github ([https://github.com/rocketgeek/wp-members-dev](https://github.com/rocketgeek/wp-members-dev)).
 * (If you try the dev version or even wait for the beta or full production release,
   this is a major version upgrade, so backing up prior to updating will be recommended
   in case a rollback is necessary)
 *  Thread Starter [camparry](https://wordpress.org/support/users/camparry/)
 * (@camparry)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/deprecated-parameter-warnings/#post-15129687)
 * Hey Chad,
 * Thanks for getting back to me so quickly and clarifying everything! Will check
   out the dev version but I think I’ll wait until for full release before upgrading.
   Will definitely do a backup prior.
 * Cheers,
 * Cam
    -  This reply was modified 4 years, 5 months ago by [camparry](https://wordpress.org/support/users/camparry/).
 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/deprecated-parameter-warnings/#post-15130402)
 * Semi-related, and since this was fresh in my mind I thought I would mention it…
 * Doing some final upgrade testing for the beta and the actual changes in the db
   for updating are negligible. The only specific change made for upgrading is that
   the value that holds post IDs marked as hidden is changed from a transient (a
   type of cached value) to a static WP option.
 * The only time that would be an issue would be if you updated, rolled back, then
   changed (adding or removing) hidden posts, then rolled forward again a second(
   or more) time. The hidden post value wouldn’t be updated in that event since 
   the db version had already been updated on the first upgrade. But as soon as 
   a new hidden post was created/updated/deleted, the value would be refreshed. (
   Again, that’s only in a roll forward, roll back, roll forward again situation
   where a hidden post/page is changed – I don’t see that being much of a likely
   issue)
 * So updating shouldn’t be too much of an issue in terms of the database changes.
 * (This will all be noted in the release notes when the beta is released)

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

The topic ‘Deprecated parameter warnings?’ is closed to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

## Tags

 * [development](https://wordpress.org/support/topic-tag/development/)

 * 3 replies
 * 2 participants
 * Last reply from: [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/deprecated-parameter-warnings/#post-15130402)
 * Status: resolved