Closed catorghans closed 1 year ago
I'm trying to test the functionality, but get an error while running on localhost. Could that be related?
Error: Call to a member function claimItem() on null in /var/www/html/web/core/includes/batch.inc on line 285 #0 /var/www/html/web/core/includes/batch.inc(137): _batch_process()\n#1 [...]
and
Error: Call to a member function getAllItems() on null in /var/www/html/web/core/includes/batch.inc on line 455 #0 /var/www/html/web/core/includes/batch.inc(98): _batch_finished()\n#1 /var/www/html/web/core/modules/system/src/Controller/BatchController.php(55): _batch_page() [...]
Probably related. So how does your localhost site look? Do you only have nodes without images? Or no nodes at all? (am trying to figure out what the null could be)
Probably related. So how does your localhost site look? Do you only have nodes without images? Or no nodes at all? (am trying to figure out what the null could be)
This is a fresh install, so likely the case of no nodes existing. Is that easy to guard against?
Probably related. So how does your localhost site look? Do you only have nodes without images? Or no nodes at all? (am trying to figure out what the null could be)
This is a fresh install, so likely the case of no nodes existing. Is that easy to guard against?
No nodes at all! Ok, had not tested that. I can confirm the issue. Solution will follow.
Probably related. So how does your localhost site look? Do you only have nodes without images? Or no nodes at all? (am trying to figure out what the null could be)
This is a fresh install, so likely the case of no nodes existing. Is that easy to guard against?
No nodes at all! Ok, had not tested that. I can confirm the issue. Solution will follow.
Try again with latest commit
That fixed it 👍
Batch processing pull request.