beaulebens / keyring-social-importers

A collection of importers which pull your content back from social networks, and into your own WordPress install.
32 stars 17 forks source link

Avoid a countable error #42

Open kraftbj opened 3 months ago

kraftbj commented 3 months ago
[27-May-2024 22:10:13 UTC] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, stdClass given in /srv/www/master/html/wp-content/plugins/keyring-social-importers/importers/keyring-importer-tripit.php:125
Stack trace:
#0 /srv/www/html/wp-content/plugins/keyring-social-importers/keyring-importers.php(681): Keyring_TripIt_Importer->extract_posts_from_data()
#1 /srv/www/html/wp-content/plugins/keyring-social-importers/keyring-importers.php(637): Keyring_Importer_Base->import()
#2 /srv/www/html/wp-content/plugins/keyring-social-importers/keyring-importers.php(323): Keyring_Importer_Base->do_import()
#3 /srv/www/html/wp-admin/admin.php(364): Keyring_Importer_Base->dispatch()
#4 {main}