PHP 7.0 conflict with WooCommerce
-
After changing the PHP version on the server to 7.0, there is a conflict while loading the page when you try to add a new Product in WooCommerce. Various elements (plugins own admin widget, other admin widgets, Screen Options, etc.) aren’t loading correctly.
Chrome Developer Tools give the following error in the console:
Uncaught TypeError: Cannot read property 'change' of undefined (anonymous function) @ wp-customer-reviews-admin.js:28 j @ load-scripts.php:2 k.fireWith @ load-scripts.php:2 m.extend.ready @ load-scripts.php:2 J @ load-scripts.php:2 Uncaught TypeError: Cannot read property 'hasClass' of undefined (anonymous function) @ load-scripts.php:660 m.event.dispatch @ load-scripts.php:4 r.handle @ load-scripts.php:4 m.event.trigger @ load-scripts.php:4 e.event.trigger @ load-scripts.php:8 (anonymous function) @ load-scripts.php:4 m.extend.each @ load-scripts.php:2 m.fn.m.each @ load-scripts.php:2 m.fn.extend.trigger @ load-scripts.php:4 (anonymous function) @ load-scripts.php:4 j @ load-scripts.php:2 k.fireWith @ load-scripts.php:2 x @ load-scripts.php:5 b @ load-scripts.php:5
I’ve reproduced this issue on a fresh website:
WP 4.3.1
WooCommerce 2.4.11
WP Customer Reviews 3.0.7There are no (visible) issues with PHP 5.6
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘PHP 7.0 conflict with WooCommerce’ is closed to new replies.