Checkout Files upload causes WordPress Tools, Site Health to report failures
-
Need Support? READ THIS FIRST! – I read it and the wpwham site referred to does not allow any bugs to be reported unless you have a valid product licence.
Checkout Files upload causes WordPress Tools, Site Health to report failure on Rest API and Loopback.
The main problem is that this plugin intercepts every single wordpress call to force a start of session at the top of?process_checkout_files_upload()?
the relevant code:if ( ! session_id() ) {
session_start();
}I have successfully tested a fix to this by removing the session creation from here and adding it prior to the places where $_SESSION is used.
This reduces the compatibility impacts caused by this plugin, allows the WordPress REST API and loopback tests to work and the plugin still works too.
- The topic ‘Checkout Files upload causes WordPress Tools, Site Health to report failures’ is closed to new replies.