-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to get property of non-object #754
Comments
I've also had similar issues. Have you tried updating asset indexes? |
I found a way to go past this. If I check the help for the feeds `php ./craft help feed-me/feeds/run USAGE craft feed-me/feeds/run [...options...] OPTIONS I noticed the --id option. So from now on I use |
We just released Feed Me 4.3.0 with a bit of a fix for this. We have removed the > php craft feed-me/feeds/queue
Error: Missing required arguments: feedId Note that feed ID(s) should be specified directly after the > php craft feed-me/feeds/queue 1,2,3 Note that the new |
Description
Getting this error when trying to run each feed-me in CLI. Looked it up and these doesn't have any assets set.
Steps to reproduce
1
docker-compose exec php ./craft feed-me/feeds/run 1
in CLI2. error:
`Feed processing started for Feed ID feeds
PHP Notice 'yii\base\ErrorException' with message 'Trying to get property 'name' of non-object'
in /var/www/project/cms/vendor/craftcms/feed-me/src/queue/jobs/FeedImport.php:99
Stack trace:
#0 /var/www/project/cms/vendor/craftcms/feed-me/src/queue/jobs/FeedImport.php(99): yii\console\ErrorHandler->handleError()
#1 /var/www/project/cms/vendor/craftcms/cms/src/queue/BaseJob.php(51): craft\feedme\queue\jobs\FeedImport->defaultDescription()
#2 /var/www/project/cms/vendor/craftcms/cms/src/queue/Queue.php(169): craft\feedme\queue\jobs\FeedImport->getDescription()
#3 /var/www/project/cms/vendor/craftcms/feed-me/src/console/controllers/FeedsController.php(43): craft\queue\Queue->push()
#4 /var/www/project/cms/vendor/yiisoft/yii2/base/InlineAction.php(57): craft\feedme\console\controllers\FeedsController->actionRun()
#5 /var/www/project/cms/vendor/yiisoft/yii2/base/InlineAction.php(57): ::call_user_func_array:{/var/www/project/cms/vendor/yiisoft/yii2/base/InlineAction.php:57}()
#6 /var/www/project/cms/vendor/yiisoft/yii2/base/Controller.php(180): yii\base\InlineAction->runWithParams()
#7 /var/www/project/cms/vendor/yiisoft/yii2/console/Controller.php(179): craft\feedme\console\controllers\FeedsController->runAction()
#8 /var/www/project/cms/vendor/yiisoft/yii2/base/Module.php(528): craft\feedme\console\controllers\FeedsController->runAction()
#9 /var/www/project/cms/vendor/yiisoft/yii2/console/Application.php(180): craft\console\Application->runAction()
#10 /var/www/project/cms/vendor/craftcms/cms/src/console/Application.php(88): craft\console\Application->runAction()
#11 /var/www/project/cms/vendor/yiisoft/yii2/console/Application.php(147): craft\console\Application->runAction()
#12 /var/www/project/cms/vendor/yiisoft/yii2/base/Application.php(386): craft\console\Application->handleRequest()
#13 /var/www/project/cms/craft(22): craft\console\Application->run()
#14 {main}`
Additional info
The text was updated successfully, but these errors were encountered: