Title: Error with func_get_args() within your plugin
Last modified: December 23, 2022

---

# Error with func_get_args() within your plugin

 *  [cenay](https://wordpress.org/support/users/cenay/)
 * (@cenay)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-with-func_get_args-within-your-plugin/)
 * I’m attempting to bring one of my clients forward onto PHP 8+ but running into
   an error with the WooCommerce Product Subtitle plugin.
 * The report for this file: /plugins/wc-product-subtitle/vendor/wponion/wponion/
   core/wp/pointers/class-pointer.php says “Since PHP 7.0, functions inspecting 
   arguments, like func_get_args(), no longer report the original value as passed
   to a parameter, but will instead provide the current value. The parameter “$next”
   was changed on line 220.”
 * I hate to launch PHP 8 until you guys have seen and perhaps addressed this issue.
   Consider this your heads up.
 * Thanks in advance for any help.
 * Cenay’
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-with-func_get_args-within-your-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Error with func_get_args() within your plugin’ is closed to new replies.

 * ![](https://ps.w.org/wc-product-subtitle/assets/icon-256x256.jpg?rev=2081945)
 * [Product Subtitle For WooCommerce](https://wordpress.org/plugins/wc-product-subtitle/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-product-subtitle/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-product-subtitle/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-product-subtitle/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-product-subtitle/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-product-subtitle/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [php 8](https://wordpress.org/support/topic-tag/php-8/)

 * 0 replies
 * 1 participant
 * Last reply from: [cenay](https://wordpress.org/support/users/cenay/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/error-with-func_get_args-within-your-plugin/)
 * Status: not resolved