Title: PHP 8 Warning
Last modified: June 25, 2023

---

# PHP 8 Warning

 *  [thehowarde](https://wordpress.org/support/users/thehowarde/)
 * (@thehowarde)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-8-warning-17/)
 * I have a client who uses your plugin. With PHP8, your plugin has a warning:
 * `Warning: The magic method WC_Cardknox::__wakeup() must have public visibility
   in woocommerce-gateway-cardknox.php on line 86`
 * The __wakeup() method is empty anyway.
 * [https://www.php.net/manual/en/language.oop5.magic.php#object.wakeup](https://www.php.net/manual/en/language.oop5.magic.php#object.wakeup)

The topic ‘PHP 8 Warning’ is closed to new replies.

 * ![](https://ps.w.org/woo-cardknox-gateway/assets/icon.svg?rev=3416534)
 * [Sola Payment Gateway for WooCommerce](https://wordpress.org/plugins/woo-cardknox-gateway/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-cardknox-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-cardknox-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-cardknox-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-cardknox-gateway/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [thehowarde](https://wordpress.org/support/users/thehowarde/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/php-8-warning-17/)
 * Status: not resolved