APPPATH/classes/Controller/Template.php [ 36 ]
31
32 $oTweets = $oTwitter->getTimeline('SophieintVeld', 200, $sLastTweetId);
33
34 if ($oTweets) {
35 foreach ($oTweets as $oTweet) {
36 $sTweetId = $oTweet->id_str;
37
38 $dtDatetime = gmdate("Y-m-d H:i:s", strtotime($oTweet->created_at));
39 $iRetweet = (int)$oTweet->retweet_count;
40 $iFavorite = (int)$oTweet->favorite_count;
41
-
APPPATH/classes/Controller/Template.php [ 36 ] » Kohana_Core::error_handler( arguments )
0
integer 8
1
string(45) "Trying to get property 'id_str' of non-object"
2
string(86) "/home/sophieintveld/public_html/non-public/application/classes/Controller/Template.php"
3
integer 36
4
array(8) ( "dtTweetCheck" => string(19) "2024-03-29 13:20:32" "dtDatetime" => string(19) "2024-03-29 12:20:32" "sql" => string(59) "SELECT sTweetId FROM tweet ORDER BY dtDatetime DESC LIMIT 1" "oLastTweet" => object Database_MySQLi_Result(7)
{ protected _internal_row => integer 1 protected _query => string(59) "SELECT sTweetId FROM tweet ORDER BY dtDatetime DESC LIMIT 1" protected _result => object mysqli_result(5)
"sLastTweetId" => string(19) "1660679099780571137" "oTwitter" => object Helper_Twitteroauth(4){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 1 protected _current_row => integer 0 protected _as_object => bool FALSE protected _object_params => NULL }{ public sAuthToken => string(0) "" public sAuthSecret => string(0) "" public sConsumerKey => string(20) "mstyapL8W07LBPArE7jg" public sConsumerSecret => string(43) "O9I5gKXvNVjHqYnovU1WWsuhoak5ZAUgFyGj3tERzuE" }
"oTweets" => object stdClass(1){ public errors => array(1) ( 0 => object stdClass(2)
"oTweet" => array(1) ( 0 => object stdClass(2){ public code => integer 32 public message => string(27) "Could not authenticate you." }
) }{ public code => integer 32 public message => string(27) "Could not authenticate you." }
) )31 32 $oTweets = $oTwitter->getTimeline('SophieintVeld', 200, $sLastTweetId); 33 34 if ($oTweets) { 35 foreach ($oTweets as $oTweet) { 36 $sTweetId = $oTweet->id_str; 37 38 $dtDatetime = gmdate("Y-m-d H:i:s", strtotime($oTweet->created_at)); 39 $iRetweet = (int)$oTweet->retweet_count; 40 $iFavorite = (int)$oTweet->favorite_count; 41
-
SYSPATH/classes/Kohana/Controller.php [ 71 ] » Controller_Template->before( )
66 * @return Response 67 */ 68 public function execute() 69 { 70 // Execute the "before action" method 71 $this->before(); 72 73 // Determine the action to use 74 $action = 'action_' . $this->request->action(); 75 76 // If the action doesn't exist, it's a 404
-
{PHP internal call} » Kohana_Controller->execute( )
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 93 ] » ReflectionMethod->invoke( arguments )
0
object Controller_Page(47)
{ public _table_name => string(4) "page" public template => NULL public sContent => NULL public _module => string(0) "" public _controller => string(0) "" public _type => string(0) "" public _model => string(0) "" public sAction => string(0) "" public aAcl => array(0) public bMobile => bool FALSE public bSecure => bool FALSE public bCms => bool FALSE public bAjax => bool FALSE public bPreview => bool FALSE public iPageId => integer 0 public aPageIds => array(0) public aPageNames => array(0) public aPageTitles => array(0) public bPageNotFound => bool FALSE public iLocaleId => integer 0 public sLocale => string(5) "nl_NL" public iLocaleIdDefault => integer 0 public sLocaleDefault => string(0) "" public iLocaleIdDefaultCms => integer 0 public sLocaleDefaultCms => string(0) "" public sLanguage => string(2) "nl" public sCountry => string(2) "NL" public bLocaleInUrl => bool FALSE public bUserIsAdmin => bool FALSE public sRequestUrl => string(0) "" public aUrlParts => array(0) public aLanguages => array(0) public aLocales => array(0) public aLocalesShort => array(0) public oController => array(0) public aJavaScripts => array(0) public aDomReadys => array(0) public aStyleSheets => array(0) public aBreadcrumb => array(0) public aSelects => array(0) public oRows => array(0) public aPages => array(0) public iLimitOrmTable => integer 25 public bInitialized => bool FALSE public auto_render => bool TRUE public request => object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(52) "https://sophieintveld.eu/nieuw-boek-een-europees-id/" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(71) "(<lang>/)(<id>(/<id2>(/<id3>(/<id4>(/<id5>(/<id6>(/<id7>(/<id8>))))))))" protected _regex => array(0) protected _defaults => array(3) ( "lang" => string(2) "nl" "controller" => string(4) "Page" "action" => string(5) "index" ) protected _route_regex => string(248) "#^(?:(?P<lang>[^/.,;?\n]++)/)?(?:(?P<id>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<id3>[^/.,;?\n]++)(?:/(?P<id4>[^/.,;?\n]++) …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Page" protected _action => string(5) "index" protected _uri => string(26) "nieuw-boek-een-europees-id" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "nl" "id" => string(26) "nieuw-boek-een-europees-id" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }88 89 // Create a new instance of the controller 90 $controller = $class->newInstance($request, $response); 91 92 // Run the controller's execute() method 93 $response = $class->getMethod('execute')->invoke($controller); 94 95 if (!$response instanceof Response) { 96 // Controller failed to return a Response. 97 throw new Kohana_Exception('Controller failed to return a Response'); 98 }
-
SYSPATH/classes/Kohana/Request/Client.php [ 116 ] » Kohana_Request_Client_Internal->execute_request( arguments )
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(52) "https://sophieintveld.eu/nieuw-boek-een-europees-id/" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(71) "(<lang>/)(<id>(/<id2>(/<id3>(/<id4>(/<id5>(/<id6>(/<id7>(/<id8>))))))))" protected _regex => array(0) protected _defaults => array(3) ( "lang" => string(2) "nl" "controller" => string(4) "Page" "action" => string(5) "index" ) protected _route_regex => string(248) "#^(?:(?P<lang>[^/.,;?\n]++)/)?(?:(?P<id>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<id3>[^/.,;?\n]++)(?:/(?P<id4>[^/.,;?\n]++) …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Page" protected _action => string(5) "index" protected _uri => string(26) "nieuw-boek-een-europees-id" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "nl" "id" => string(26) "nieuw-boek-een-europees-id" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }111 112 if (($cache = $this->cache()) instanceof HTTP_Cache) { 113 return $cache->execute($this, $request, $response); 114 } 115 116 $response = $this->execute_request($request, $response); 117 118 // Execute response callbacks 119 foreach ($this->header_callbacks() as $header => $callback) { 120 if ($response->headers($header)) { 121 $cb_result = call_user_func($callback, $request, $response, $this);
-
SYSPATH/classes/Kohana/Request.php [ 933 ] » Kohana_Request_Client->execute( arguments )
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(52) "https://sophieintveld.eu/nieuw-boek-een-europees-id/" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(71) "(<lang>/)(<id>(/<id2>(/<id3>(/<id4>(/<id5>(/<id6>(/<id7>(/<id8>))))))))" protected _regex => array(0) protected _defaults => array(3) ( "lang" => string(2) "nl" "controller" => string(4) "Page" "action" => string(5) "index" ) protected _route_regex => string(248) "#^(?:(?P<lang>[^/.,;?\n]++)/)?(?:(?P<id>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<id3>[^/.,;?\n]++)(?:/(?P<id4>[^/.,;?\n]++) …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Page" protected _action => string(5) "index" protected _uri => string(26) "nieuw-boek-een-europees-id" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "nl" "id" => string(26) "nieuw-boek-een-europees-id" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}928 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [ 929 ':uri' => $this->_uri, 930 ]); 931 } 932 933 return $this->_client->execute($this); 934 } 935 936 /** 937 * Returns whether this request is the initial request Kohana received. 938 * Can be used to test for sub requests.
-
DOCROOT/public/index.php [ 94 ] » Kohana_Request->execute( )
89 /** 90 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 91 * If no source is specified, the URI will be automatically detected. 92 */ 93 echo Request::factory(TRUE, array(), FALSE) 94 ->execute() 95 ->send_headers(TRUE) 96 ->body(); 97 } 98