WordPress 4.8
-
After updating WordPress 4.8 and Woocommerce 3.10 the deprecated tags changed to fatal errors when checking out.
[09-Jun-2017 17:43:41 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; onepage_rcp_recent_posts has a deprecated constructor in home/xxx/public_html/wp-content/themes/one-page/functions.php on line 737
[09-Jun-2017 17:43:41 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/xxx/public_html/wp-content/themes/one-page/functions.php:737) in /home/hugthe5/public_html/wp-includes/pluggable.php on line 1210
Something to do with 4.8’s new widget structure no doubt. After commenting out the whole recent post class, the errors stopped, checkout was able to complete and the site went back to normal.
- The topic ‘WordPress 4.8’ is closed to new replies.