← Back to Instagram Feed Support
In configuration, goes everithing fine until step 3. Can't get the lat instagram post. in console i get this error.
GET
scheme
https
host
bagnielsa.it
filename
/artdark/instagram/api/Api@getLastPost
client_id
751743089075606
client_secret
4cdf64a432c8fe997f87e94052aad86f
code
AQDiadS3YBsN3fwloJjV0213ndM4r1T6uLVBd0EFFsymRBRSmFqL_0p7Z4TggJ12jjVe5U6MiL9Yx5kHu3dxaxFwkdkp2mjoT_zAtfZN61eh_onCLqixl8I3z1P_4AbwXSZUYSKcRSYnh8FEkuRdexpvDXCsW4HKifhC3KaxkI754hduRrsDbi08YvU2E9oCXrhbCQ8F4dUosAhsLFOYCyOl62VIUmpPxkXUs4Pwt2XuLw
steep
3
time_life_token
07 April 2021
short_access_token
Indirizzo
188.165.4.35:443
Stato500
Internal Server Error
VersioneHTTP/2
Trasferito791 B (dim. 154 B)
Referrer Policyno-referrer-when-downgrade
Last updated
try to reset all the settings and re-configure the settings, after completing the settings DO NOT press the SAVE button below, just exit
count(): Parameter must be an array or an object that implements Countable /home/bagnielsih/www/plugins/artdark/instagram/classes/Api.php line 136
ErrorException
}
return $return;
}
static function getLastPost() {
$return = [];
$media_id_list = self::getMediaIDList();
if (count($media_id_list)) {
$return['post'] = $media_id_list[0];
Settings::set('steep', 4);
} else {
$return['error'] = 'No records found!';
\Log::debug('Instagram-plugin: '.$return['error']);
}
stefano.tombari53419 said:
Any suggestion?
I checked, there is no problem, if it is possible, contact me by e-mail and provide the data to access the site, I will investigate the problem
I am getting the same error on php 7.3.24
Unsupported get request. Object with ID 'xxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation
ErrorException: count(): Parameter must be an array or an object that implements Countable in /home/nginx/domains/mesowell.com/public/plugins/artdark/instagram/classes/Api.php:136
Last updated
nolybom said:
I am getting the same error on php 7.3.24
Unsupported get request. Object with ID 'xxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation ErrorException: count(): Parameter must be an array or an object that implements Countable in /home/nginx/domains/mesowell.com/public/plugins/artdark/instagram/classes/Api.php:136
Thank you for your purchase, have you studied the video tutorial? Do you have the latest version of the plugin?
Thank you for quick reacting.
All yes.
I think i fixed it with if (count([$media_id_list])) {
but still getting the error:
Unsupported get request. Object with ID 'xxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation
Any idea?
Also....in the documentation there is no info about how to set up the scheduler.
I have added this to my cron file:
* * * * * /usr/local/bin/php _project_directory_/artisan schedule:run >> /dev/null 2>&1
Something missing?
nolybom said:
Thank you for quick reacting.
All yes.
I think i fixed it with
if (count([$media_id_list])) {
but still getting the error:
Unsupported get request. Object with ID 'xxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation
Any idea?
no idea, will i need see admin. panel. Will you can send login and password for my email darkrogua@gmail.com ?
1-16 of 16