Magic Method Visibility Error in WooCommerce


Hi. I am running on PHP 8 and on my site after installing the WooCommerce Paynow plugins, I am getting this error at the top of the site.

_Warning: The magic method WC_Paynow::__wakeup() must have public visibility in C:\xampp\htdocs\chryscal\wp-content\plugins\Paynow-for-WooCommerce-1.3.1\paynow-for-woocommerce.php on line 57_

How can I get rid of this error?


Hi there, PHP8 does not currently have extensive support across WordPress and WordPress plugins, please use PHP7.4 at most.