Server Error in '/contact.php' Application


2048: is_a(): Deprecated. Please use the instanceof operator

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Source Error:

Line 435:   	}
Line 436:   
Line 437:   	/** Sets the control to render in the given cell */
Line 438:   	function SetCellControl($ctl, $col, $row = -1)		
Line 439:   	{
Line 440:   		lib_Assert(is_a($ctl, "HTMLControl"), sprintf("value should be a HTMLControl [%s]", gettype($ctl)) );
Line 441:   		if ($row == -1) { $row = ($this->m_rows) - 1; }	//Assume the last row if none specified
Line 442:   		$this->m_controls[$row][$col] = $ctl; 
Line 443:   		if (!isset($this->m_cells[$row][$col])) { $this->m_cells[$row][$col] = ""; }
Line 444:   		$this->m_cols = max($this->m_cols, $col+1);
Line 445:   	}

Stack Trace:

lib_ErrorHandler(2048, 'is_a(): Deprecated. Please use the instanceof operator', '/export/home/flathead/propus/webs/www.propus.co.uk/php/common/html.php', 440, Array
(
    [ctl] => HTMLTextBox Object
        (
            [m_maxLength] => 50
            [m_type] => 1
            [m_value] => 
            [m_displayError] => 
            [m_error] => 
            [m_mandatory] => 1
            [m_showError] => 1
            [m_caption] => 
            [m_CSSClass] => 
            [m_height] => 0
            [m_id] => person
            [m_script] => Array
                (
                    [onkeypress] => 
                )

            [m_style] => 
            [m_toolTip] => 
            [m_width] => 295
        )

    [col] => 1
    [row] => -1
)
)
is_a(HTMLTextBox, 'HTMLControl') in /export/home/flathead/propus/webs/www.propus.co.uk/php/common/html.php line 440
HTMLTable->SetCellControl(HTMLTextBox, 1) in /export/home/flathead/propus/webs/www.propus.co.uk/php/common/form.class.php line 811
Form->Render() in /export/home/flathead/propus/webs/www.propus.co.uk/php/common/form.class.php line 505
Form->BindPage(Page, 'content') in /export/home/flathead/propus/webs/www.propus.co.uk/htdocs/contact.php line 93

Request Details:

Array
(
    [SessionID] => 1337444505c6fb28173381ac7fa717719aa44bbeac
)

Server Details:

Array
(
    [SCRIPT_URL] => /contact.php
    [SCRIPT_URI] => http://www.propus.co.uk/contact.php
    [HTTP_X_CC_ID] => ccc03-01
    [HTTP_HOST] => www.propus.co.uk
    [HTTP_USER_AGENT] => CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    [HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5
    [HTTP_ACCEPT_ENCODING] => gzip
    [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
    [HTTP_CONNECTION] => close
    [HTTP_CACHE_CONTROL] => no-cache
    [HTTP_PRAGMA] => no-cache
    [HTTP_COOKIE] => SessionID=1337444505c6fb28173381ac7fa717719aa44bbeac
    [HTTP_X_FORWARDED_FOR] => 38.107.179.228
    [PATH] => /usr/local/bin:/usr/bin:/bin
    [SERVER_SIGNATURE] => 
    [SERVER_SOFTWARE] => Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny16 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0
    [SERVER_NAME] => www.propus.co.uk
    [SERVER_ADDR] => 212.11.72.73
    [SERVER_PORT] => 80
    [REMOTE_ADDR] => 38.107.179.228
    [DOCUMENT_ROOT] => /home/propus/webs/www.propus.co.uk/htdocs/
    [SERVER_ADMIN] => stuart.worswick@tiscali.co.uk
    [SCRIPT_FILENAME] => /home/propus/webs/www.propus.co.uk/htdocs/contact.php
    [REMOTE_PORT] => 42766
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => GET
    [QUERY_STRING] => 
    [REQUEST_URI] => /contact.php
    [SCRIPT_NAME] => /contact.php
    [PHP_SELF] => /contact.php
    [REQUEST_TIME] => 1337444537
    [argv] => Array
        (
        )

    [argc] => 0
)