
Anonymous Community User asked a question.
PHP Fatal error: Uncaught PodioUnavailableError
API method that I'm using:$attributes = array(); $attributes['sort_by'] = 'created_on'; $attributes['sort_desc'] = true; $attributes['filters'] = array("created_on" => array("from" => "2022-01-01","to" => "2022-09-30")); $attributes['limit'] = 500; $attributes['offset'] = 500; $attributes['remember'] = false; $AppData = PodioItem::filter( $app_id, $attributes, $options = array() ); I set the limit => 500 it is working fine sometimes but at the same time if I try to get another 500 items with 500 offsets I'm getting an error and at the very next moment without any change, I try again and it works. Looks likes something happing on server side.The error that I'm getting: PHP Warning: Trying to access array offset on value of type null in C:\\\\test\\\\sqlupdate\\\\vendor\\\\podio\\\\podio-php\\\\lib\\\\PodioError.php on line 11PHP Warning: Trying to access array offset on value of type null in C:\\\\test\\\\sqlupdate\\\\vendor\\\\podio\\\\podio-php\\\\lib\\\\PodioError.php on line 20PHP Fatal error: Uncaught PodioUnavailableErrorRequest URL: Stack Trace: #0 C:\\\\test\\\\sqlupdate\\\\vendor\\\\podio\\\\podio-php\\\\lib\\\\Podio.php(352): Podio::request('POST', '/item/app/27335...', Array, Array)#1 C:\\\\test\\\\sqlupdate\\\\vendor\\\\podio\\\\podio-php\\\\models\\\\PodioItem.php(128): Podio::post('/item/app/27335...', Array)#2 C:\\\\test\\\\sqlupdate\\\\index.php(39): PodioItem::filter('27335536', Array, Array)#3 {main} thrown in C:\\\\test\\\\sqlupdate\\\\vendor\\\\podio\\\\podio-php\\\\lib\\\\Podio.php on line 339