Feb 18, 2024 12:50 am
Hi. There is a bug in your PHP code for the file main.php. You need to add session_write_close(); after a session_start(); otherwise you break the PHP construct in the entire Wordpress backend.
private function __construct() { if( ! wpforo_is_session_started() ) session_start(); $this->db = WPF()->db; $this->setup(); session_write_close(); // this is required }
2 Replies
Feb 21, 2024 12:41 pm
The mentioned code belongs to the Go2wpForo tool. It should be activated on the staging or local website for a while. After migration, it's recommended to deactivate and delete the tool.Β