John Home Robertson

Former Labour MSP for East Lothian

Profile

Former Labour MSP for East Lothian, Former Labour MP for East Lothian

Entered the House of Commons on 26 October 1978 — unknown

Left the House of Commons on 14 May 2001 — General election

Entered the Scottish Parliament on 6 May 1999 — Election

Left the Scottish Parliament on 2 April 2007 — Election

Also represented Berwick and East Lothian

Future MPs in this constituency

Note for journalists and researchers: The data on this page may be used freely, on condition that TheyWorkForYou.com is cited as the source.

This data was produced by TheyWorkForYou from a variety of sources. Voting information from Public Whip.

Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_CORE_WARNING)
Module 'xapian' already loaded Whoops\Exception\ErrorException thrown with message "Module 'xapian' already loaded" Stacktrace: #2 Whoops\Exception\ErrorException in Unknown:0 #1 Whoops\Run:handleError in /data/vhost/matthew.theyworkforyou.dev.mysociety.org/theyworkforyou/vendor/filp/whoops/src/Whoops/Run.php:433 #0 Whoops\Run:handleShutdown in [internal]:0
Stack frames (3)
2
Whoops\Exception\ErrorException
Unknown0
1
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php433
0
Whoops\Run handleShutdown
[internal]0
Unknown
/data/vhost/matthew.theyworkforyou.dev.mysociety.org/theyworkforyou/vendor/filp/whoops/src/Whoops/Run.php
    /**
     * Special case to deal with Fatal errors and the like.
     */
    public function handleShutdown()
    {
        // If we reached this step, we are in shutdown handler.
        // An exception thrown in a shutdown handler will not be propagated
        // to the exception handler. Pass that information along.
        $this->canThrowExceptions = false;
 
        $error = $this->system->getLastError();
        if ($error && Misc::isLevelFatal($error['type'])) {
            // If there was a fatal error,
            // it was not handled in handleError yet.
            $this->allowQuit = false;
            $this->handleError(
                $error['type'],
                $error['message'],
                $error['file'],
                $error['line']
            );
        }
    }
 
    /**
     * In certain scenarios, like in shutdown handler, we can not throw exceptions
     * @var bool
     */
    private $canThrowExceptions = true;
 
    /**
     * Echo something to the browser
     * @param  string $output
     * @return $this
     */
    private function writeToOutputNow($output)
    {
        if ($this->sendHttpCode() && \Whoops\Util\Misc::canSendHeaders()) {
            $this->system->setHttpResponseCode(
                $this->sendHttpCode()
[internal]

Environment & details:

Key Value
pid 10284
url /mp/10284/john_home_robertson
pagetype profile
representative_type msp
empty
empty
empty
empty
Key Value
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPRC /etc/php/7.0/fcgi
PWD /data/vhost/matthew.theyworkforyou.dev.mysociety.org/theyworkforyou/www/docs/fcgi
PHP_FCGI_CHILDREN 0
ORIG_SCRIPT_NAME /fcgi/php-basic-dev
ORIG_PATH_TRANSLATED /data/vhost/matthew.theyworkforyou.dev.mysociety.org/docs/mp/index.php
ORIG_PATH_INFO /msp/10284/john_home_robertson
ORIG_SCRIPT_FILENAME /data/vhost/matthew.theyworkforyou.dev.mysociety.org/docs/fcgi/php-basic-dev
CONTENT_LENGTH 0
SCRIPT_NAME /msp/10284/john_home_robertson
REQUEST_URI /msp/10284/john_home_robertson
QUERY_STRING pid=10284&url=/mp/10284/john_home_robertson&pagetype=profile&representative_type=msp
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING pid=10284&url=/mp/10284/john_home_robertson&pagetype=profile&representative_type=msp
REDIRECT_URL /msp/10284/john_home_robertson
REMOTE_PORT 38682
SCRIPT_FILENAME /data/vhost/matthew.theyworkforyou.dev.mysociety.org/docs/mp/index.php
SERVER_ADMIN webmaster@theyworkforyou.dev.mysociety.org
CONTEXT_DOCUMENT_ROOT /data/vhost/matthew.theyworkforyou.dev.mysociety.org/docs
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /data/vhost/matthew.theyworkforyou.dev.mysociety.org/docs
REMOTE_ADDR 18.220.97.161
SERVER_PORT 80
SERVER_ADDR 46.235.230.113
SERVER_NAME matthew.theyworkforyou.dev.mysociety.org
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
HTTP_REFERER https://matthew.theyworkforyou.dev.mysociety.org/mp/?pid=10284
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_CONNECTION close
HTTP_X_FORWARDED_PROTO https
HTTP_X_REAL_IP 18.220.97.161
HTTP_HOST matthew.theyworkforyou.dev.mysociety.org
SCRIPT_URI http://matthew.theyworkforyou.dev.mysociety.org/msp/10284/john_home_robertson
SCRIPT_URL /msp/10284/john_home_robertson
REDIRECT_STATUS 200
REDIRECT_HANDLER application/x-httpd-fastphp
REDIRECT_SCRIPT_URI http://matthew.theyworkforyou.dev.mysociety.org/msp/10284/john_home_robertson
REDIRECT_SCRIPT_URL /msp/10284/john_home_robertson
FCGI_ROLE RESPONDER
PHP_SELF /msp/10284/john_home_robertson
REQUEST_TIME_FLOAT 1732219664.434
REQUEST_TIME 1732219664
empty
0. Whoops\Handler\PrettyPageHandler