Cross-site request forgery validation failed. Required param "state" missing from persistent data

PHP
//At the top of both scripts (Facebook and login_page.php) add the follow:
if(!session_id()) {
    session_start();
}

Source

Also in PHP: