Hello,
I’m retrieving this error when loading Woocommerce endpoints (Account, Order, etc.) in Cornerstone.
The preview could not load. This is most often related to a plugin conflict or aggressive page cacheing. Checking the developer console for errors could indicate what went wrong.
I’ve increased memory limit to 512M.
The developer console shows these errors:
Uncaught TypeError: Cannot read property ‘substr’ of cs.js?ver=2.1.7:32998 undefined
at HTMLAnchorElement.navigateHandler (cs.js?ver=2.1.7:32998)
at HTMLBodyElement.dispatch (jquery.js?ver=1.12.4:3)
at HTMLBodyElement.r.handle (jquery.js?ver=1.12.4:3)
Response for ?cs-launch=1:1 preflight is invalid (redirect)
Please look at the 4th error in the Secure Note. This line in media.php causes an error:
if ( ! $src_matched || count( $sources ){
I’m not formally trained in PHP but have ascertained that $sources is not an array as required by the count() function.
Uh… any suggestions?
